appmagma.com
Head First Into Full Stack Javascript
Two-way data binding, dependency injection, inversion of control, authentication strategies, ultra scalable, massive open source community, and much more. It never would have occurred to me that Javascript had all of those in a form that I would want to use. In fact, If you had mentioned that I would be doing this 10 years ago I would have assumed it had been at gunpoint. I, like many developers that have been building things on the web since the mid 90s, developed a hatred for Javascript very early on but I have been warming up to it recently. Over the past year I have been working more and more with JS on the server, due to a couple apps I wrote utilizing Parse.com’s awesome BAAS solution. Since getting my beak wet I have been very excited to dive full on into the JS, hipster developer infused, world. The stack I am using is often referred to as the MEAN (Mongo, Express, Angular, and Node) stack. Below is the part played by each: MongoDB – NoSQL document storage database. Basically stores JSON files and indexes them. MongooseJS – Object Modeling for Node and Mongo. Essentially the equivalent of an ORM for SQL DBs. NodeJS – Insanely fast and lean network application platform. Focused on an event-driven, non-blocking IO model. By itself its a glorified netcat. ExpressJS – Web application framework that sits on top of NodeJS and turns it into a cutting edge web application server. AngularJS – MVC in the browser with 2 way databinding. In my case I’m using it to create a single-page web application, meaning that all page changes and routing is essentially done by JS. I had some experience with MongoDB heading into […]