Mass Hysteria: Clients and Servers, Living Together
summary
A Node pattern exposes browsers as disposable servers via http over websockets, assigning subdomains and proxying requests so a browser can serve real HTTP; the core library is tiny (around 1–3k of code). Server-side scraping options include cheerio (fast HTML parsing), jsdom (in-process JS), and phantomjs for full-browser rendering. A utility called render me runs phantomjs on Heroku, returns rendered HTML for SEO, and the demos assert that it actually works.
AI-written summary · about
chapters (6)
related talks
39mTowards Universal JavaScript
24mUniversal Applications
45mBuilding Isomorphic Apps (Updated)
44mServer Side Rendering from the trenches
41mLow-budget JavaScript: composable frontends that are fun and friendly
38mLet's build a full stack
43mIsomorphic JavaScript apps
37mMeteor - A Full Stack Framework For Building Pure JavaScript Apps
