I’m pleased to announce that my newest video series, Rapid Lo-Dash is available for purchase through Packt Publishing. You can get all the details and view the free sample here: Rapid Lo-Dash If you’re a JavaScript developer, and you aren’t using Lo-Dash yet, you really need to check it out.
Update 10/10/2013 – A good point was made that doing the array creation isn’t really going to be different between the libraries. I’ve modified the find/map/lazy samples to reflect this, and updated the numbers appropriately. Fast code is fun. And nothing is more fun than making your application faster by
Any sizable web application needs validation. Doing it yourself is for the birds, so I wanted to incorporate a backbone plugin to help solve the problem. For this example I chose to use Backbone.Validation. Start with a basic framework. Brunch Application Assembler is a great way to bootstrap these projects.
We’ve all seen them – builder patterns that make object construction clean and readable. person().named(‘Bob’).withSpouse(‘Alice’).bornOn(’01-26-1982′).build() I used to do these all the time in Java (we called them fluent interfaces), and I just realized today that I had no idea how to do this style in Coffeescript. Well, lets remedy
Heroku provides a free add on for running scheduled jobs. This provides a convenient way to run scheduled tasks in an on-demand dyno, freeing your web dynos to focus on user requests. I’m currently writing a node.js application in coffeescript that has some modest job scheduling needs. Heroku’s documentation
Node.js gets a lot of well-deserved press for its impressive performance. The event loop can handle pretty impressive loads with a single process. However, most servers have multiple processors, and I, for one, would like to take advantage of them. Node’s cluster api can help. While cluster is a core