Node.cincy - October 10, 2012 - Adventures with Node.js

Comments (0)

Transcript of Node.cincy - October 10, 2012 - Adventures with Node.js

And how I annoyed my previous co-workers My Adventures with Node.js And why Node.js? What did I build? Async, imagemagick and express (LESS + Jade)Async - escape callback hell (thanks to our first meeting)Imagemagick - asynchronous image manipulationExpress - Essential framework in Node.js How did I build it? Understanding how to write modules for Express Biggest Challenges StartupCincy.com version 2.0What better to parse JSON than Javascript?Analytics at LisnrConcurrency for one API call expected to be 300-3000x more than any other API callDiscussion: Python + Celery or Node?Back to my roots: Multiplayer gamesStarted web development doing multiplayer Facebook gamesI want to return - Node.js lets you develop the client and server in same language! What's next for me & node? PlaceChris Links Placeholder image generatorNeeds to have fast, predictable response timesYay Modulus + Node!Sustain these response times with high concurrencyImage generation + I/O are great for async! Compiling and delivering LESS before dynamic content Thinking in async! In app.js generator/index.js and My router was conflicting with static files - mainly LESSHas to do with order of operations in app.jsLESS, then static, then everything elseSeems obvious now! A bigger challenge than I anticipatedNo "You're an idiot" error message - just very, very strange "functionality"Inside a view function, everything needs to fall into one async.waterfall()EVERYTHING NEEDS TO FALL INTO ONE ASYNC.WATERFALL() Lisnr http://placechris.comhttp://github.com/cridenour/placechris http://lisnr.com