Difference between revisions of "Zen of Web"

From Code4Lib
Jump to: navigation, search
 
(3 intermediate revisions by 2 users not shown)
Line 7: Line 7:
 
* Keep it simple
 
* Keep it simple
 
* Nobody knows if you are a dog
 
* Nobody knows if you are a dog
* Explicit is better than implicit
 
 
* Pave the cowpaths
 
* Pave the cowpaths
 
* Small pieces, loosely joined
 
* Small pieces, loosely joined
Line 17: Line 16:
 
* The world is your audience
 
* The world is your audience
 
* You GET what you need
 
* You GET what you need
 +
* You can't always GET what you want
 
* Resource-oriented (vs. service-oriented)
 
* Resource-oriented (vs. service-oriented)
 
* Tagsoup tastes good
 
* Tagsoup tastes good
 
* A resource can be anything
 
* A resource can be anything
 
* Caching is your friend
 
* Caching is your friend
 +
* Be the authoritative source for your own data
 +
* Pass by reference not by value
 +
* Know the difference between structured and unstructured data
 +
* Create and adopt disciplined naming conventions
 +
* Push your data to the widest appropriate scope
 +
* Reuse components and services
 
* Media types are one honking great idea -- let's do more of those!
 
* Media types are one honking great idea -- let's do more of those!
  
If it turns into a useful list it could be turned into a collaborative code4lib2011 lightning talk or something.
+
If it turns into a useful list it could be turned into a collaborative code4lib2011 lightning talk or something. Some of these were heisted from a [http://blog.jonudell.net/2011/01/24/seven-ways-to-think-like-the-web/ similar list] by Jon Udell.

Latest revision as of 21:14, 24 January 2011

This is a collaborative effort to document the subtleties of building applications on the Web. The idea took inspiration from the Zen of Python. Please feel free to edit/add items below:

  • Default to open
  • Less is more
  • Everything is broken
  • View the source Luke
  • Keep it simple
  • Nobody knows if you are a dog
  • Pave the cowpaths
  • Small pieces, loosely joined
  • de facto usually beats de jure
  • No permission needed
  • Be conservative in what you send; be liberal in what you accept.
  • Follow your nose
  • Everything is intertwingled
  • The world is your audience
  • You GET what you need
  • You can't always GET what you want
  • Resource-oriented (vs. service-oriented)
  • Tagsoup tastes good
  • A resource can be anything
  • Caching is your friend
  • Be the authoritative source for your own data
  • Pass by reference not by value
  • Know the difference between structured and unstructured data
  • Create and adopt disciplined naming conventions
  • Push your data to the widest appropriate scope
  • Reuse components and services
  • Media types are one honking great idea -- let's do more of those!

If it turns into a useful list it could be turned into a collaborative code4lib2011 lightning talk or something. Some of these were heisted from a similar list by Jon Udell.