Difference between revisions of "Zen of Web"
From Code4Lib
(12 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
This is a collaborative effort to document the subtleties of building applications on the Web. The idea took inspiration from the [http://www.python.org/dev/peps/pep-0020/ Zen of Python]. Please feel free to edit/add items below: | This is a collaborative effort to document the subtleties of building applications on the Web. The idea took inspiration from the [http://www.python.org/dev/peps/pep-0020/ Zen of Python]. Please feel free to edit/add items below: | ||
− | |||
− | |||
* Default to open | * Default to open | ||
* Less is more | * Less is more | ||
Line 8: | Line 6: | ||
* View the source Luke | * View the source Luke | ||
* Keep it simple | * Keep it simple | ||
+ | * Nobody knows if you are a dog | ||
* Pave the cowpaths | * Pave the cowpaths | ||
* Small pieces, loosely joined | * Small pieces, loosely joined | ||
+ | * de facto usually beats de jure | ||
* No permission needed | * No permission needed | ||
+ | * Be conservative in what you send; be liberal in what you accept. | ||
* Follow your nose | * Follow your nose | ||
* Everything is intertwingled | * Everything is intertwingled | ||
* 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) | ||
+ | * 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 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.