New tutorial: How to create a client-server application with qooxdoo, qcl and QxTransformer

View: New views
6 Messages — Rating Filter:   Alert me  

New tutorial: How to create a client-server application with qooxdoo, qcl and QxTransformer

by panyasan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I have finally finished porting the qcl library to PHP5 and qooxdoo 0.8 and put together an tutorial and a sample application to show some of its features. You can find the tutorial here:

   http://qooxdoo.org/contrib/project/qcl/tutorial_application

and the (updated) sample application here:

    http://m53s12.vlinux.de/cboulanger/access/build/

The tutorial explains in detail how to use qcl's access control features. It relies heavily also on the QxTransformer toolkit, which is, however, a separate project and can be used independent of qcl.

The tutorial might be a bit dense, but I hope you can get the gist of what qcl can do. More tutorials might follow which explain how to do client-server databinding and how to use the (still buggy) server dialog feature which is part of the demo.

Qcl is not finished yet, but from my own experience, is getting stable enough to be used. I will soon port my application (Bibliograph) to 0.8 based on it, so you can be sure it will be maintained and bug-fixed for some time to come. I also would be thrilled to find collaborators - I have put alot of effort into documenting the source code and keeping it as modular as possible.

Best,

Christian

Re: New tutorial: How to create a client-server application with qooxdoo, qcl and QxTransformer

by Martin Wittemann :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Christian,

first of all thanks for your good work. Looks impressive like  
always. ;) Especially the documentation looks detailed so that  
everyone should be abel to use it.
We will post a hint for the community on the weekly later the day so  
everyone can benefit from your work.

Best,
Martin


Am 09.07.2009 um 18:00 schrieb panyasan:

>
> Hello,
>
> I have finally finished porting the qcl library to PHP5 and qooxdoo  
> 0.8 and
> put together an tutorial and a sample application to show some of its
> features. You can find the tutorial here:
>
>   http://qooxdoo.org/contrib/project/qcl/tutorial_application
>
> and the (updated) sample application here:
>
>    http://m53s12.vlinux.de/cboulanger/access/build/
>
> The tutorial explains in detail how to use qcl's access control  
> features. It
> relies heavily also on the QxTransformer toolkit, which is, however, a
> separate project and can be used independent of qcl.
>
> The tutorial might be a bit dense, but I hope you can get the gist  
> of what
> qcl can do. More tutorials might follow which explain how to do
> client-server databinding and how to use the (still buggy) server  
> dialog
> feature which is part of the demo.
>
> Qcl is not finished yet, but from my own experience, is getting stable
> enough to be used. I will soon port my application (Bibliograph) to  
> 0.8
> based on it, so you can be sure it will be maintained and bug-fixed  
> for some
> time to come. I also would be thrilled to find collaborators - I  
> have put
> alot of effort into documenting the source code and keeping it as  
> modular as
> possible.
>
> Best,
>
> Christian
> --
> View this message in context: http://www.nabble.com/New-tutorial%3A-How-to-create-a-client-server-application-with-qooxdoo%2C-qcl-and-QxTransformer-tp24412896p24412896.html
> Sent from the qooxdoo-devel mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Enter the BlackBerry Developer Challenge
> This is your chance to win up to $100,000 in prizes! For a limited  
> time,
> vendors submitting new applications to BlackBerry App World(TM) will  
> have
> the opportunity to enter the BlackBerry Developer Challenge. See  
> full prize
> details at: http://p.sf.net/sfu/Challenge
> _______________________________________________
> qooxdoo-devel mailing list
> qooxdoo-devel@...
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@...
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Re: New tutorial: How to create a client-server application with qooxdoo, qcl and QxTransformer

by panyasan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Martin Wittemann wrote:
Hello Christian,

first of all thanks for your good work. Looks impressive like  
always. ;) Especially the documentation looks detailed so that  
everyone should be abel to use it.
We will post a hint for the community on the weekly later the day so  
everyone can benefit from your work.
Thanks, Martin, let me add something that I forgot to mention: that the rewrite would have been incredibly more difficult without the new databinding features that you implemented! And one proposal for the databinding API: it seems to make sense to me to add an observe() method that is the exact opposite of bind() just like in the qcl xml markup. It would be nothing but syntactic sugar but add readability to the qooxdoo code.

C.

Re: New tutorial: How to create a client-server application with qooxdoo, qcl and QxTransformer

by Martin Wittemann :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

thats good to hear that the data binding layer helped you implementing  
your qcl. Your proposal sound interesting. Do you think of something  
like:

a.bind(b) === b.observe(a)

Greetings,
Martin

Am 10.07.2009 um 13:40 schrieb panyasan:

>
>
> Martin Wittemann wrote:
>>
>> Hello Christian,
>>
>> first of all thanks for your good work. Looks impressive like
>> always. ;) Especially the documentation looks detailed so that
>> everyone should be abel to use it.
>> We will post a hint for the community on the weekly later the day so
>> everyone can benefit from your work.
>>
>
> Thanks, Martin, let me add something that I forgot to mention: that  
> the
> rewrite would have been incredibly more difficult without the new
> databinding features that you implemented! And one proposal for the
> databinding API: it seems to make sense to me to add an observe()  
> method
> that is the exact opposite of bind() just like in the qcl xml  
> markup. It
> would be nothing but syntactic sugar but add readability to the  
> qooxdoo
> code.
>
> C.
> --
> View this message in context: http://www.nabble.com/New-tutorial%3A-How-to-create-a-client-server-application-with-qooxdoo%2C-qcl-and-QxTransformer-tp24412896p24425944.html
> Sent from the qooxdoo-devel mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Enter the BlackBerry Developer Challenge
> This is your chance to win up to $100,000 in prizes! For a limited  
> time,
> vendors submitting new applications to BlackBerry App World(TM) will  
> have
> the opportunity to enter the BlackBerry Developer Challenge. See  
> full prize
> details at: http://p.sf.net/sfu/Challenge
> _______________________________________________
> qooxdoo-devel mailing list
> qooxdoo-devel@...
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@...
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Re: New tutorial: How to create a client-server application with qooxdoo, qcl and QxTransformer

by panyasan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Martin Wittemann wrote:
Hi,

thats good to hear that the data binding layer helped you implementing  
your qcl. Your proposal sound interesting. Do you think of something  
like:

a.bind(b) === b.observe(a)

Greetings,
Martin

Am 10.07.2009 um 13:40 schrieb panyasan:
> And one proposal for the
> databinding API: it seems to make sense to me to add an observe()  
> method
> that is the exact opposite of bind() just like in the qcl xml  
> markup. It
> would be nothing but syntactic sugar but add readability to the  
> qooxdoo
> code.
Yes, exactly. There is a technology in XUL that is related : broadcasters and observers

     https://developer.mozilla.org/En/XUL_Tutorial/Broadcasters_and_Observers

although the implementation differs from qcl.

The syntax could be

    a.bind("property1",b,"property2") === b.observe("property2",a,"property1")

or one could even make the third argument optional if  the properties are equal:

    a.bind("enabled",b) === b.observe("enabled",a);

I find it a bit easier to read the code thinking along the lines of objects which "bind" other objects (active) and objects which "observe" other objects (passive).

Thanks, C.

Re: New tutorial: How to create a client-server application with qooxdoo, qcl and QxTransformer

by Martin Wittemann :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Christian,
sounds not too bad for me. Especially that its just a wrapper method  
in the mixin so ill not it as a suggestion and take care of it when im  
working on data binding the next time.
Thanks,
Martin


Am 10.07.2009 um 16:11 schrieb panyasan:

>
>
>
> Martin Wittemann wrote:
>>
>> Hi,
>>
>> thats good to hear that the data binding layer helped you  
>> implementing
>> your qcl. Your proposal sound interesting. Do you think of something
>> like:
>>
>> a.bind(b) === b.observe(a)
>>
>> Greetings,
>> Martin
>>
>> Am 10.07.2009 um 13:40 schrieb panyasan:
>>> And one proposal for the
>>> databinding API: it seems to make sense to me to add an observe()
>>> method
>>> that is the exact opposite of bind() just like in the qcl xml
>>> markup. It
>>> would be nothing but syntactic sugar but add readability to the
>>> qooxdoo
>>> code.
>>
>>
>
> Yes, exactly. There is a technology in XUL that is related :  
> broadcasters
> and observers
>
>
> https://developer.mozilla.org/En/XUL_Tutorial/Broadcasters_and_Observers
>
> although the implementation differs from qcl.
>
> The syntax could be
>
>    a.bind("property1",b,"property2") ===
> b.observe("property2",a,"property1")
>
> or one could even make the third argument optional if  the  
> properties are
> equal:
>
>    a.bind("enabled",b) === b.observe("enabled",a);
>
> I find it a bit easier to read the code thinking along the lines of  
> objects
> which "bind" other objects (active) and objects which "observe" other
> objects (passive).
>
> Thanks, C.
> --
> View this message in context: http://www.nabble.com/New-tutorial%3A-How-to-create-a-client-server-application-with-qooxdoo%2C-qcl-and-QxTransformer-tp24412896p24428251.html
> Sent from the qooxdoo-devel mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Enter the BlackBerry Developer Challenge
> This is your chance to win up to $100,000 in prizes! For a limited  
> time,
> vendors submitting new applications to BlackBerry App World(TM) will  
> have
> the opportunity to enter the BlackBerry Developer Challenge. See  
> full prize
> details at: http://p.sf.net/sfu/Challenge
> _______________________________________________
> qooxdoo-devel mailing list
> qooxdoo-devel@...
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@...
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel