Hello everyone,

I looked at the 0.6 syntax for QxBuilder and I am not impressed. I think 
that a future qxml standard that can be implemented in XSLT, PHP,  Java 
etc. should be based on different principles:

1) It should be independent from the current qooxdoo API, because an API 
can change, but the xml description syntax SHOULD NOT.

2) qxml should be xml-namespaced, and not javascript-namespaced

3) Tag names should be short and not carry any unneccessary information

qxml should be a xml description language that should put maximum 
attention to stability and compatibility. it should be able to describe 
an ui interface that can be used without or VERY LITTLE change in 
different qooxdoo versions, thereby bypassing the current rapid change. 
it is the task of the underlying parser or qooxdoo itself to deal with 
API the changes. a qxml which just mirrors the current qooxdoo API would 
be a waste of time and  resources.

The tag name <qx.ui.form.Button/> has, in my view, several problems:

a) Even though it is valid XML, a tag name with dots is unusual and not 
pretty

b) We should support xml namespaces to make it possible to mix qooxdoo 
with other xml languages, such  as xsl or tal. Instead of 
<qx:ui.form.Button> we should at least use <qx:ui.form.Button>.

c) it carries unneccessary information and is too long. qxml can 
meaningfully only describe only widgets. that the "button" is part of 
the namespace "ui.form" is meaningless for the developer and makes the 
tag name unneccessarily long. Instead, <qx:button> is absolutely enough. 
It would be the task of the parser or, even better, of qooxdoo itself to 
provide the shortcuts to the fully namespaced path. The latter would 
also reduce the length of the generated code.

In short, I propose to basically stick with the 0.5. syntax of QxBuilder 
(with the necessary modifications) and build the standard specification 
on top of this syntax.

Please provide your opinions, then Siarhei and I could go ahead and 
write up some specifications.

Cheers,

Christian



Siarhei Barysiuk schrieb:
> Hello!
>
> I'm novice in qooxdoo. And I have  few questions about  OxBuilder.  I 
> want to use  it in my  project but I can't find full description of xml 
> described UI. Does anybody know where I can  find this docs? And how 
> about performance if I have a quite complicated interface?
>
> Thanks.
> P.S. qooxdoo is  perfect  framework!  Thanks!
> Best regards,
> Siarhei Barysiuk
>  
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>   


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to