On Dec 23, 2009, at 12:56 , Bee Jay wrote:

> Hi all,
> 
Hi,
> First of all, I'm new to Qooxdoo and almost know nothing about  
> JavaScript (JS). I'm a pascal programmer using FreePascal compiler and  
> Lazarus IDE. So, please apologize me if my understanding about Qooxdoo  
> or JS in general sounds silly. :D
> 
Welcome !
I started to program in Pascal long long time ago using Borland Pascal (before 
Windows).

> I want to write a wrapper of Qooxdoo framework for Pascal. I'm now a  
> user of ExtPascal (http://extpascal.googlecode.com) to write web  
> applications (RIA) using Pascal. Due to some reasons, license is one  
> of them, I want to write a similar program like ExtPascal but for  
> Qooxdoo. Of course, before doing it, I need to learn about Qooxdoo.
> 
> After a brief study of Qooxdoo's API and examples, about 2-3 hours, I  
> found Qooxdoo's OO implementation is better and neater compare to  
> ExtJS. Qooxdoo's API documentation, which become the input for the  
> wrapper, is easier to parse because it's already in JSON formatted  
> document (apidata.json). So, writing the Pascal unit and class  
> generator is almost a no-brainer. However, I found some obstacles  
> before I moving on further. Here they are:
> 
> 1. Qooxdoo has mixin, which is not available in (object) Pascal. I  
> thought this would stop me to continue my effort. But, after I looked  
> at QWT (Qooxdoo for GWT), I found that it's able to provide mixin for  
> GWT (Java), which is like Pascal also doesn't support mixin. So, I  
> believe there must be some trick (or hack?) about how to implement  
> mixin within a language that doesn't support mixin. Can you share it  
> with me?
> 
I guess the answer could be obtain on a Pascal forum since you'll have to tweak 
Pascal to act as if it has Mixin so you'll be able to generate js files that 
use mixin.
On the other hands, mixin are not mandatory in Qooxdoo, so why would you want 
to generate js that has mixin ?

> 2. Qooxdoo, instead of providing a ready-to-use all-in-one JS file for  
> the framework as ExtJS (ext-all.js), is using deployment scenario  
> using generate.py tool. For pure JS development, it's all good. But  
> for on-the-fly JS creation as in my case, that wouldn't be possible.  
> But, after I looked at Delphi for PHP, which is using Qooxdoo (0.7.2?)  
> for its widgets, only supply qx.js without any other build tool or  
> build mechanism. So, I believe there must be some way to extract  
> Qooxdoo framework into a single ready-to-use JS file. Is there a tool  
> for that? Or somekind of tutorial to make that?

ah ! Qooxdoo Python toolchain ! This is a complicated subject already discussed 
here.
I know it prevent some people to use Qooxdoo and also in some case an 
all-in-one qooxdoo is useful but I was not able to convince about that ... 
So, you have to use the Python toolchain or use a non official qooxdoo build 
that provide qooxdoo in all-in-one js file : it exists.
If you choose the second option, you have to know that the global application 
will not be as optimized as it would have been using the Python toolchain.
That toolchain produce an highly optimized application in term of js size and 
some other optimizations like including only widgets your application is using.
That toolchain has a really big added value even in sometimes a one big 
qooxdoo.js would be nice, especially to start using qooxdoo without having to 
learn the toolchain.

I'm not sure how (I'm only yellow belt in Qooxdoo Python toolchain) but the 
Python toolchain can be used to produce that big all-in-one qooxdoo file.
Peter, are you listening ? (he's the black belt guy who use the toolchain to 
produce the big qooxdoo one file).

> 
> So far, those are the main obstacles for me to continue this effort.  
> I'll be happy if there are solutions for them because I planned to  
> left ExtJS completely and moving to Qooxdoo.
> 
Finally, I hope you'll find your way to qooxdoo since it is really a strong 
(the strongest ?) web framework I know.

> For any answers or responses, I thank you in advance.
> 
> PS. Sorry if my English sounds weird. :)
> 
> -- 
> 
> -Bee-
> 
> ...making buzzes at http://twitter.com/beezing
> ...writing stories at http://beeography.wordpress.com
> 
> 
> ------------------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev 
> _______________________________________________
> qooxdoo-devel mailing list
> qooxdoo-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to