| WebSeitz/wikilog |
| Web App Pattern Language |
|
| last edited by BillSeitz on Aug 26, 2008 10:08 pm |
a Pattern Language/Best Practices for WebApp development
Gads I wish there were one. Or maybe there is already and I need to look harder.
Desire: language-neutral discussion of approaches to various issues that come up. Authentication, designing URI-s (ReST), Object Relational crap, etc.
Object Identifier (likely to drive URI): Joshua Schachter says don't use an auto-increment integer. Consider using the MD5 of some unique property to the object, perhaps. I'm not sure I agree, but perhaps it depends a lot on the context. Certainly you'd want that property to be both unique and unchanging.
Web Form Flow - interface, app code style, etc.
ReST:
make a query (with no side-effects) an HttpGet (this makes the screen bookmarkable, among other things)
what if you want to "hide" some params? (why?)
make anything that does have side-effects an Http Post
once it's done, redirect to a URI that's a view/query (back to HttpGet)
[Post Once Exactly] ([POE]) from Mark Nottingham http://www.ietf.org/internet-drafts/draft-nottingham-http-poe-00.txt
do Continuat Ion-s take care of this?
| See Back Links: z2007-09-17- Andreessen Platform Types | z2006-06-03- Nottingham Cache For Performance | z2004-06-07- What Wg | z2002-12-19- Servlet Best Practices | WebApp | |
| User Options Recent Changes Help Page |