PDA

View Full Version : Desktop example



alexol
18 Feb 2011, 10:42 AM
Will ExtJS4 adapted example of Desktop? Now it looks like a combination of ExtJS3 and ExtJS4.

brian.moeskau
19 Feb 2011, 12:38 AM
The current desktop example released with the preview serves the purpose of demonstrating Ext 4 code (the chart window) running sandboxed inside an existing Ext 3 page. In addition, we will also be porting the desktop to run under Ext 4 as well, as a separate example.

eCoast
5 Apr 2011, 11:56 AM
bump .... any word on the desktop example?

brian.moeskau
5 Apr 2011, 9:27 PM
It will be in 4.0, but there have just been other things at the top of the priority list so far.

keckeroo
27 Apr 2011, 8:35 PM
nice to see the Desktop ported to 4.0. However - the included js (classes.js) seems like a mixture of everything and not a proper 'include' sequence for the js files provided for the desktop.

Any chance of updating the desktop.html file to conform to 'normal' include syntax so we can see how to create our own desktop with 'tweeks' to the desktop code itself ?

Thanks!

Kevin

TheBigOnion
6 May 2011, 9:43 AM
I Have the same question as keckeroo. I need to be able to tweek the desktop. I am almost having to revert back to 3.2.

Any help on this one?



nice to see the Desktop ported to 4.0. However - the included js (classes.js) seems like a mixture of everything and not a proper 'include' sequence for the js files provided for the desktop.

Any chance of updating the desktop.html file to conform to 'normal' include syntax so we can see how to create our own desktop with 'tweeks' to the desktop code itself ?

Thanks!

Kevin

winkelmann
6 May 2011, 9:53 AM
I have modified the desktop.html to use the automatic class loader for you, by simply including the provided ext-all-debug.js instead of classes.js and ext-core.js and setting Ext.Loader.setConfig({enabled:true})


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>ExtTop - Desktop Sample App</title>

<link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css" />
<link rel="stylesheet" type="text/css" href="css/desktop.css" />

<!--<script type="text/javascript" src="../../builds/ext-core.js"></script>
<script type="text/javascript" src="classes.js"></script>-->
<script type="text/javascript" src="../../ext-all-debug.js"></script>

<script type="text/javascript">
Ext.Loader.setConfig({enabled:true});
Ext.Loader.setPath({
'Ext.ux.desktop': 'js',
MyDesktop: ''
});

Ext.require('MyDesktop.App');

var myDesktopApp;
Ext.onReady(function () {
myDesktopApp = new MyDesktop.App();
});
</script>
</head>

<body>

<a href="http://www.sencha.com" target="_blank" alt="Powered by Ext JS"
id="poweredby"><div></div></a>

</body>
</html>

MikeB
7 Jun 2011, 10:21 AM
I too am looking to tweek the latest desktop example, but that classes.js file is just so huge and so compressed that not only is it extremely difficult to figure out how to do anythine my editor just keeps barfing on the super long lines of code!

Has anyone broken the classes.js file down so it's more understandable? After all as an example it would be nice to be able to learn from it to do our own modules.

TIA
MikeB

brian.moeskau
7 Jun 2011, 11:04 AM
I too am looking to tweek the latest desktop example, but that classes.js file is just so huge and so compressed that not only is it extremely difficult to figure out how to do anythine my editor just keeps barfing on the super long lines of code!

Has anyone broken the classes.js file down so it's more understandable? After all as an example it would be nice to be able to learn from it to do our own modules.

TIA
MikeB

Did you try the code in the previous post? The classes.js is there just as a demonstration of creating a custom, app-specific build file. If you want to modify the code, it's best to use the dynamic loader as other examples do.

MikeB
7 Jun 2011, 11:29 AM
Did you try the code in the previous post? The classes.js is there just as a demonstration of creating a custom, app-specific build file. If you want to modify the code, it's best to use the dynamic loader as other examples do.

Duh... *slaps head*. Thanks Brian, I looked over the previous example and didn't see that the actual classes.js file was totally commented out. I thought it was still needed.

olegtaranenko
21 Jul 2011, 12:57 AM
Hi,

I wonder whether Desktop developed by Sencha team or it could be injected from 3-rd party developer? It looks as a half backed, i.e. icons are not auto-layouted to second column, not worked with the async Ext.Loader, etc. May someone has more advanced version?

any tip would be appreciated,

Oleg

jmancor
16 Aug 2011, 2:40 PM
I actually replaced the file but nothing seems to work.

If there is no need to use classes.js then what would be the best approach in order to run the desktop app ?

I just replaced the "desktop.html" for the one provided by Brian but nothing seems to happen.

Any Hint ?

idan hen
10 Sep 2011, 1:16 PM
I have the exact same problem :(
trying to create a simple clear desktop - to start my project . yet the example given is not working , and i have to use the classes.js file.

oh , using the classes.js file on my project sounds like a bad idea , any help on that issue ?

xcape010
8 May 2012, 1:14 PM
Hi everyone.

The reason for this is to present to society "ExtDesk".

Can be defined as "A new Desktop for the Web," based on the ExtJs library.

Its main function is to have a work environment, comprehensive, system login and user control to serve as a platform to develop your projects comprehensively.

We have also tried to do multilingual so that best suits your needs.

It is programmed using JavaScript, PHP and mysql.

You can access any of these links:

http://www.extdesk.net
http://demo.extdesk.net
http://forum.extdesk.net
http://www.youtube.com/watch?v=T-X2XI2IoxQ
twitter: @extdesk


This project is starting, so ask your "cooperation" to have an infrastructure to keep it alive and growing.

xcape010
8 May 2012, 1:25 PM
Hi everyone.

The reason for this is to present to society "ExtDesk".

Can be defined as "A new Desktop for the Web," based on the ExtJs library.

Its main function is to have a work environment, comprehensive, system login and user control to serve as a platform to develop your projects comprehensively.

We have also tried to do multilingual so that best suits your needs.

It is programmed using JavaScript, PHP and mysql.

You can access any of these links:

http://www.extdesk.net
http://demo.extdesk.net
http://forum.extdesk.net
http://www.youtube.com/watch?v=T-X2XI2IoxQ
twitter @extdesk.net

This project is starting, so ask your "cooperation" to have an infrastructure to keep it alive and growing.

8mauro9
9 Sep 2012, 9:24 AM
Hi all , can i use the code in this example as a basis on which to place my commercial application?

dongryphon
10 Sep 2012, 8:53 PM
Hi all , can i use the code in this example as a basis on which to place my commercial application?

Yes, there are no legal issues there. Just the normal Ext JS license question of GPL vs Commercial but that is not unique to using this or any other example.

See http://www.sencha.com/products/extjs/license/

xcape010
30 Jul 2013, 9:19 AM
Please Try www.Extdesk.net o find us in facebook and google+