See the live version @ yukimotopress.github.io/practices
by Gregory Brown, Luke Francl, Magnus Holm, Aaron Patterson, Solomon White et al
This is the original source reformatted in a single-page book edition (using the Manuscripts format).
- A minimal HTTP server - Build just enough HTTP functionality from scratch to serve up static files. (w/ Luke Francl)
- Event loops demystified - Build a Node.js/EventMachine-style event loop in roughly 150 lines. (w/ Magnus Holm)
- Parsing JSON the hard way - Learn about low-level parser and compiler tools by implementing a JSON parser. (w/ Aaron Patterson)
- Tricks for working with text and files - Tear apart a minimal clone of the Jekyll blog engine in search of helpful idioms.
- Working with binary file formats - Read and write bitmap files using only a few dozen lines of code.
- Building Unix-style command line applications - Build a basic clone of the 'cat' utility while learning some idioms for command line applications.
- Rapid Prototyping - Build a tiny prototype of a tetris game on the command line.
- Building Enumerable 'n' Enumerator - Learn about powerful iteration tools by implementing some of its functionality yourself.
- Domain specific API construction - Master classic DSL design patterns by ripping off well-known libraries and tools.
- Safely evaluating user-defined formulas and calculations - Learn how to use Dentaku to evaluate Excel-like formulas in programs (w/ Solomon White)
See the original source repo.