And how do you solve widget name collisions?

In your example, qx.ui.form.Button is <qx:button>
But what's the XML replacement for a widget defined in mynamespace.ui.Button? The same?
Do you need a way to specify the right namespace for solving this issues, don't you?


On 8/17/06, Christian Boulanger <[EMAIL PROTECTED]> wrote:
Ricardo Borillo schrieb:
> Hi,
>
> What about using:
>
> <qx:Button p="qx.ui.form">
>
>
> I think it's a good idea to separate class name from package. In this
> way, if a class is moved from one package to another, you only have to
> change the "p" property and
> keeping XML tag unchanged...
>
Good heavens, why??
Look at XUL, or any other GUI description language. They do very fine
without adding any other layer of complexity. A button is a button. If
you need a differently behaving button, call it differently , such as
MyVerySpecialExtendedButton ;-)

The xml syntax should HIDE the internatl complexity from the user, not
hassle him or her with it.

I really think this is important.

Christian

>
> On 8/17/06, *dperez* <[EMAIL PROTECTED]
> <mailto: [EMAIL PROTECTED]>> wrote:
>
>
>     I fully agree!.
>
>
>     Christian Boulanger (Bibliograph Development) wrote:
>     >
>     > 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
>     <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642>
>     >> _______________________________________________
>     >> qooxdoo-devel mailing list
>     >> [email protected]
>     <mailto: [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
>     <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642>
>
>     > _______________________________________________
>     > qooxdoo-devel mailing list
>     > [email protected]
>     <mailto: [email protected]>
>     > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>     >
>     >
>
>     --
>     View this message in context:
>     http://www.nabble.com/QxBuilder-xml-description-tf2116125.html#a5848080
>     <http://www.nabble.com/QxBuilder-xml-description-tf2116125.html#a5848080>
>     Sent from the qooxdoo-devel forum at Nabble.com <http://Nabble.com>.
>
>
>     -------------------------------------------------------------------------
>     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
>     < http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642>
>     _______________________________________________
>     qooxdoo-devel mailing list
>     [email protected]
>     <mailto:[email protected]>
>     https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
>
>
> --
> Salut,
> ====================================
> Ricardo Borillo Domenech
> Analista/Programador - Servei d'Informàtica
> Universitat Jaume I
> http://xml-utils.com
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> 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



--
Salut,
====================================
Ricardo Borillo Domenech
Analista/Programador - Servei d'Informàtica
Universitat Jaume I
http://xml-utils.com
-------------------------------------------------------------------------
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