Changes for page ERPrototaculous

Last modified by Ravi Mendis on 2010/11/18 05:07

From version 315.1
edited by Ravi Mendis
on 2010/11/18 05:05
Change comment: There is no comment for this version
To version 313.1
edited by Ravi Mendis
on 2010/05/03 20:12
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,6 +1,6 @@
1 1  == Introduction ==
2 2  
3 -ERPrototaculous was developed to provide the //pseudo-stateless// ajax functionality in ERDivaLook.
3 +ERPrototaculous was developed to provide the ajax functionality in ERDivaLook.
4 4  
5 5  === What is ERPrototaculous? ===
6 6  
... ... @@ -16,14 +16,12 @@
16 16  
17 17  ==== Unobtrusive Javascript in ERPrototaculous ====
18 18  
19 -{{include value="WO:Using Unobtrusive JavaScript"}}{{/include}}
19 +Unobtrusive javascript is used in contrast to on-demand style of ajax programming.
20 +By including Javascript as well as CSS globally in the page wrapper, CSS and Javascript don't have to load inside each and every ajax requests.
21 +This keeps the ajax responses compact and simple.
20 20  
21 -{{code}}
23 +The result is **faster** and more **reliable** ajax in WebObjects.
22 22  
23 -er.prototaculous.useUnobtrusively = true
24 -
25 -{{/code}}
26 -
27 27  ==== Prototype WebObjects Elements ====
28 28  
29 29  ##Ajax.Updater## and ##Ajax.Request## have been implemented as WebObjects elements.
... ... @@ -93,11 +93,11 @@
93 93  
94 94  {{/warning}}
95 95  
96 -= Embrace Statelessness =
94 += Embrace Statelessness! =
97 97  
98 98  {{include value="WO:Embrace Statelessness"}}{{/include}}
99 99  
100 -ERPrototaculous embraces the stateless model Ajax offers in exchange for simplifying the work WebObjects has to do -- it's a win--win
98 +ERPrototaculous embraces the stateless model Ajax offers in exchange for simplifying the work WebObjects has to do -- it's a win--win!
101 101  
102 102  So you may observe one notable difference between the ERPrototaculous and Ajax frameworks is in the way they handle ajax responses.
103 103  In ERPrototaculous, updates and actions break with typical WebObjects behavior by being pseudo-stateless.
... ... @@ -150,7 +150,3 @@
150 150  
151 151  
152 152  {{/warning}}
153 -
154 -== External Links ==
155 -
156 -WOWODC '10 (Slides) - [[DirectToWeb 2.0>>http://www.wocommunity.org/wowodc10/slides/D2W2.pdf]]