Re: json + prototype + ajax?

Posted by Tim Ruppert on
URL: http://ofbiz.116.s1.nabble.com/json-prototype-ajax-tp175404p175427.html

Just to continue the push towards Dojo, I am about to submit a new  
Anonymous Checkout process for https://issues.apache.org/jira/browse/ 
OFBIZ-510 which is based upon Dojo.  You guys will like it - 3 steps  
and working towards my 2 step process goal.

Cheers,
Tim
--
Tim Ruppert
HotWax Media
http://www.hotwaxmedia.com

o:801.649.6594
f:801.649.6594


On Dec 13, 2006, at 4:36 PM, A. Zeneski 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
>>>