On Mar 12, 2012, at 5:54 AM, Cédric Krier wrote:

> On 11/03/12 22:30 -0400, Sharoon Thomas wrote:
>> On Mar 9, 2012, at 10:44 AM, Nicolas Évrard wrote:
>> 
>>> Hello Trytonistas,
>>> 
>>> Lately we have received a lot of demands for a Tryton web client. The
>>> major stopper for such a development is that it is too heavy for only
>>> one customer.
>>> 
>>> The project would be to have a web client based on the proteus.js
>>> prototype with almost all the current client features adapted to the
>>> web.
>>> 
>> 
>> I did some work this weekend on a POC for the web client, but based on
>> ExtJS. It was mostly an experiment to try/learn the framework and I think it
>> is a much better candidate for the job.
> 
> Why would it be better?
> 
1. ExtJS is full fledged library with widgets (components) while jQuery itself 
can only be
compared to Ext core for DOM manipulation. Now a better comparison would be 
between 
jQuery UI and Ext JS where Ext JS would still be a better candidate because it 
has many of
the components/widgets we would require for Tryton client like Grids, Tree 
panels in the 
standard package itself.

2. As you can see in my current code, with just configuration we already have a 
Tryton GTK
client like layout with a viewport. While this would require an original design 
and styling with 
jQuery (UI). Which means less code, less bugs and faster development. On the 
other hand
this could be a disadvantage if what we want with the web client is a flashy 
looking website
like feel.

3.  Clean data model: ExtJS has a clean data model / storage proxy 
implementation which
can be/is already extended for Tryton models.

4. Less cross browser issues: ExtJS I feel is the best of the JS frameworks 
available which
take away the pain of cross browser look/feel/functionality issues away from 
the developer.

5. A compatible license. Its GPL too. 

Also the main reason why the ExtJS community seems to use the framework is for 
JS application
development like admin panels. This seems to be driving the focus of the 
development as well 
while jQuery itself seems to be focused on being a lightweight DOM manipulation 
tool.

You could see a few example applications 
here:http://dev.sencha.com/deploy/ext-4.0.1/examples/

Thanks

Sharoon Thomas
Openlabs Technologies & Consulting (P) Limited

w: http://www.openlabs.co.in
m: +1 786 247 1317
t: @sharoonthomas 

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to