Re: json + prototype + ajax?

Posted by Andrew Zeneski on
URL: http://ofbiz.116.s1.nabble.com/json-prototype-ajax-tp175404p175409.html

I'll let this thread run a little while longer before we say to have a
full official vote. As of right now, it appears most people are looking
at Dojo, and that is fine with me.

It seems that most of these toolkits do the same thing, so to me its
just a matter of making a decision so I can push forward with my work.

As for being more active on the lists, sorry I have been MIA for so
long. I've been involved in a lot of custom (non open source) work as of
late and apologize for not being around. I will do my best to be here as
much as possible. Thanks!

Andrew

Alex D. Fleming wrote:

> Andy,
>
>>> Should we just say DOJO is the way to go for future Ajax based tools in
>>> OFBiz or do we need a formal vote?
>
> Yeah I will like to go with DOJO.
> Voting on this is a good idea :-)
>
> Now a days your active participation on mailing list makes me Happy :-).
> Thanks for it.
>
>
> On 12/14/06, A. Zeneski <[hidden email]> wrote:
>>
>> I used prototype for my initial test and found it very easy to work
>> with. Dojo on the other hand seemed to have a much broader learning
>> curve. It too me a while to get everything working, but I think it is
>> due to the ajax part being more verbose.
>>
>> The extra features such as DND and other widgets is very nice as well.
>>
>> The fact that DOJO is available under the BSD license is a plus as well.
>> I think there should be no license issues with this library.
>>
>> Should we just say DOJO is the way to go for future Ajax based tools in
>> OFBiz or do we need a formal vote?
>>
>> Andrew
>>
>> Alex D. Fleming wrote:
>> > Hi,
>> >
>> > Ooops Dojo is supported by IBM & AOL ....so I will prefer Dojo.
>> >
>> > http://dojotoolkit.org/foundation/
>> >
>> >
>> > On 12/14/06, A. Zeneski <[hidden email]> wrote:
>> >>
>> >> Si (& all),
>> >>
>> >> I am in process of doing a lot of custom AJAX stuff for a new
>> client. I
>> >> intended on using prototype.js but based on conversations with other
>> >> people decided to go with dojo instead.
>> >>
>> >> The main part of what I did was a JSON wrapper around the service
>> event
>> >> handler. What this does is allows you to define (controller) requests
>> >> for ajax calls and have the results return in a lightweight (JSON)
>> >> format.
>> >>
>> >> This will work with any front end toolkit (Yahoo, Prototype, Dojo,
>> etc).
>> >> The main point is to define a standard pattern for AJAX requests in
>> >> OFBiz.
>> >>
>> >> Deciding on a toolkit for the javascript is very important and
>> based on
>> >> what I have researched and discussed with other people, Dojo seems to
>> be
>> >> the way to go.
>> >>
>> >> Of course, I am open for discussion with this, but we really should
>> >> decide on a standard for contributions back to OFBiz. The last thing I
>> >> want to see is several different ways of communication and different
>> >> toolkits being used.
>> >>
>> >> Prototype.js has been removed from SVN for the time being. As soon as
>> >> there is code which uses one of the toolkits it can be added back in.
>> >>
>> >> Let's start a community vote for the default AJAX toolkit to use in
>> >> OFBiz. Based on the work I did, I have already setup the back end
>> >> pattern, services using JSON for the return. Now let's decide on a
>> front
>> >> end toolkit.
>> >>
>> >> First lets, define the candidates:
>> >>
>> >> 1) Dojo
>> >> 2) Prototype
>> >>
>> >> Andy
>> >>
>>
>>
>>
>
>

smime.p7s (4K) Download Attachment