Changes for page ERPrototaculous

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

From version 313.1
edited by Ravi Mendis
on 2010/05/03 20:12
Change comment: There is no comment for this version
To version 314.1
edited by Ravi Mendis
on 2010/09/10 01:12
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -16,12 +16,14 @@
16 16  
17 17  ==== Unobtrusive Javascript in ERPrototaculous ====
18 18  
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.
19 +{{include value="WO:Using Unobtrusive JavaScript"}}{{/include}}
22 22  
23 -The result is **faster** and more **reliable** ajax in WebObjects.
21 +{{code}}
24 24  
23 +er.prototaculous.useUnobtrusively = true
24 +
25 +{{/code}}
26 +
25 25  ==== Prototype WebObjects Elements ====
26 26  
27 27  ##Ajax.Updater## and ##Ajax.Request## have been implemented as WebObjects elements.
... ... @@ -91,11 +91,11 @@
91 91  
92 92  {{/warning}}
93 93  
94 -= Embrace Statelessness! =
96 += Embrace Statelessness =
95 95  
96 96  {{include value="WO:Embrace Statelessness"}}{{/include}}
97 97  
98 -ERPrototaculous embraces the stateless model Ajax offers in exchange for simplifying the work WebObjects has to do -- it's a win--win!
100 +ERPrototaculous embraces the stateless model Ajax offers in exchange for simplifying the work WebObjects has to do -- it's a win--win
99 99  
100 100  So you may observe one notable difference between the ERPrototaculous and Ajax frameworks is in the way they handle ajax responses.
101 101  In ERPrototaculous, updates and actions break with typical WebObjects behavior by being pseudo-stateless.
... ... @@ -148,3 +148,7 @@
148 148  
149 149  
150 150  {{/warning}}
153 +
154 +== External Links ==
155 +
156 +WOWODC '10 (Slides) - [[DirectToWeb 2.0>>http://www.wocommunity.org/wowodc10/slides/D2W2.pdf]]