Le mardi 25 janvier 2005 � 22:52 +0100, Erik Bruchez a �crit :

> I agree with your approach in theory. It is good practice (TM) to use a 
> REST approach whenever possible. This is also bookmark-friendly.
> 
> Unfortunately, if the amount of state needed to produce a given page is 
> larger than regular URL sizes, whatever method you choose to encode / 
> compress that state in the URL, you are stuck. This scenario happens 
> often with certain web applications that generate a large amount of 
> state information (filling-out a large insurance form, for example). I 
> think there are cases where it is simply not worth making sure that all 
> the URLs look nice. Typically, consider a wizard-style interface, where 
> you go from screen to screen. You may not even want users to bookmark 
> until you are done, and you probably don't care much about how your URLs 
> look like during the process.

Yes, you're right in saying that this is simpler in... simple
applications (and mine is relatively simple).

However, even for more complex applications, it might be worth giving a
try to good (or even extreme) practices...

Paul Prescod has published a wonderful paper on this topic. I like it a
lot, not only because it's borrowing its main example to a movie I have
enjoyed but also because I find it good food for thoughts:

 http://www.prescod.net/rest/state_transition.html

I must say that I have never got the opportunity to try it on a complex
application and that I would be very interested to see the result in
practice.

Eric
> 
-- 
Curious about Relax NG? Read my book online.
                                   http://books.xmlschemata.org/relaxng/
------------------------------------------------------------------------
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
(ISO) RELAX NG   ISBN:0-596-00421-4 http://oreilly.com/catalog/relax
(W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema
------------------------------------------------------------------------



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
orbeon-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/orbeon-user

Reply via email to