Netflix + OData + datajs sample released
Check out the sample and code walkthrough at https://kashyapas.com/2011/05/releasing-netflix-catalog-using-htmlodatadatajsjquery/.
Some highlights:
- All the app components run in the browser!
- Clever use of the datajs cache - those values aren't changing anytime soon, and it definitely speeds things up to avoid round-trips. Nice way of reducing the page startup time.
- Templates are stored as plain text files on the server, then retrieved at runtime when the page needs them - again, clever!
- A server that opens up its data for cross-domain access enables some very, very powerful scenarios.
The code is available on CodePlex and is short & sweet. Enjoy!