Hi Günther,
Günther Bauer wrote:
> I have yet two another questions:
> It is possible to create several packages (.js files) where easy to include
> in the html files to use the qooxdoo framework?
Yes, of course. The cool thing is that the tool-chain is doing the
heavy-lifting for you. You only have to setup a proper configuration
file ("config.json") and let the generator do his work.
How to modify your configuration file is explained here
-> http://qooxdoo.org/documentation/0.8/generator_config_ref#packages
and here
->
http://qooxdoo.org/documentation/0.8/generator_config_articles#packages_key
This is the configuration part. Additionally you have to make sure that
the packages are loaded when they are needed ("on-demand"). Think of an
application which offers a complex dialog. This dialog is seperated into
an own package and this package has to be loaded on-demand when the user
want to see this dialog for the first time. qooxdoo already offers this
mechanism through the "qx.core.Package" class, documentation in the wiki
will follow-up soon.
> It is possible to use the qooxdoo framework without creating a
> application .js file with the "create-application.py" python script?
The common way is to generate such a javascript file automatically
because adding each script per "script" tag won't be a solution on the
long run. The biggest two problems are:
* you'll have to resolve the dependencies manually
* you'll have to load the classes in the right order
And you have repeat these steps with every new class you use/create.
But it is also possible to create a single JS file which includes all
needed qooxdoo classes without combining your application files. This is
especially interesting when you only have a single JS file where your
code resides.
Could you post some infos in which way you like to use qooxdoo?
cheers,
Alex
> Alexander Back schrieb:
>> Hi Günther,
>>
>> Günther wrote:
>>
>>> Alexander Back wrote:
>>>
>>>>> Do you already read the "Hello World" starters tutorial? This will offer
>>>>> you how to setup your application and the framework properly.
>>>>> -> http://qooxdoo.org/documentation/0.8/helloworld
>>>>>
>>> Yes, i have read the "hello world" starter tutorial.
>>> The generated project in the "hello world" starter tutorial working
>>> correctly.
>>>
>> Good to read this :)
>>
>>
>>> Alexander Back wrote:
>>>
>>>>> This tutorial is about creating GUI applications, qooxdoo is however
>>>>> also ready for embedding in existing HTML pages. Instead of creating a
>>>>> "Standalone" application you can create a so-called "Inline" application
>>>>> to embed qooxdoo widgets inside your HTML page.
>>>>> See http://qooxdoo.org/documentation/0.8/ui_inline for more details.
>>>>>
>>> When i change the qx.application.Standalone parameter in
>>> qx.application.Inline at the Application.js, i became a error: "Invalid key
>>> "extend" in class "custom.Application"! The value is undefined/null!"
>>>
>> If you change your application in the way that you add new classes you
>> have to run "./generate source" again. The javascript file you are
>> including in your HTML file loads every *needed* classes (the tool-chain
>> resolves the dependency automatically). So if you add a new class you
>> have to resolve these dependencies again.
>>
>>
>>> Alexander Back wrote:
>>>
>>>>> P.S. nice to see that someone at my location is getting in touch with
>>>>> qooxdoo ;-)
>>>>>
>>> P. S. Nice, where are you coming from?
>>>
>> Directly from Landau.
>>
>> cheers,
>> Alex
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel