This a javascript module for html pages progressive rendering. This technique
is well known since the publication on the Facebook developer blog about their
Bigpipe
module.
This implementation is intended as asynchronous as possible and rely on markup
more than javascript api. This will help to be more agile on the implementation
API.
- Install plugin
git clone git://github.com/jpolo/pagelet.git .
- Include the library
pagelet/pagelet.js
in your page
- avoid abbreviations
- explicit better than implicit
- closure should be named for easier debugging when this make sense
- open
spec/runner.html
in web browser to run the tests as standalone - run
node spec/server.js
to run tests in a server with simulated latency - compatibility with at least Firefox, Chrome, IE>=7
- tested and functional package
- fix markup api
- handle priorities between pagelets
- do some benchmarks
Contributions are welcome, feel free to push changes on github.