On Monday I attended the highly-anticipated February meeting of the HTML5 Denver Users Group at Casselman’s Bar & Venue. The speaker (and Meetup organizer), Scott Davis, presented on two newer collections of existing tools: Yeoman and the MEAN stack.
Rather than reinvent the wheel, here are the descriptions of each tool from Yeoman’s website:
yo scaffolds out a new application, writing your Grunt configuration and pulling in relevant Grunt tasks and Bower dependencies that you might need for your build.
Grunt is used to build, preview and test your project, thanks to help from tasks curated by the Yeoman team and grunt-contrib.
Bower is used for dependency management, so that you no longer have to manually download and manage your scripts.
I’m interested in the current list of 473 generators (scaffolding templates) and I’m curious to see how I can create my own to suit the needs at Crowd Favorite. It’d be great if we could scaffold out a wireframe template or Carrington Blueprint with all the desired config files in places. This way, anyone working on a particular project can compile and deploy the exact same way.
Since I don’t create web apps on a regular basis, I’m not sure Yo, by itself, is really necessary for my workflow. I’m more interested in experimenting with Grunt, and the newcomer, Gulp. For me, this is the most valuable component out of the three. It puts teams on the same playing field, regardless of personal system configuration. Bower seems interesting, but I feel like we’re already doing dependency management with Git submodules. I’ll have to read more into it.
It’s doubtful I’ll utilize all of Yeoman, but I appreciate the thorough introduction.
Exploring the MEAN stack
Express is the minimal application framework; the glue holding the stack together. It handles the routing (or ‘Controller’ of MVC) for
http:// requests. There are no models, no notion of a database. It has no authentication schema nor a template engine. Fortunately, it fits well with the middleware package, Connect, which provides a nice bridge between the front and back-end.
I was having a little trouble focusing towards the end, but I walked away feeling much more comfortable about each technology and can’t wait to build something with the MEAN stack soon.
Overall, I thought the evening went very well. We packed a lot of information into 3 hours, which, right after a long day of work, was challenging to sit through. Beer helped.
Casselman’s is basically a large bar and lounge up front. In the back there’s a ton of chairs and tables facing the stage. Plenty of seats for all. The event was catered by a local company whose name I forget. They served beef and veggie burritos, beans, rice, and super-spicy chile verde sauce – all delicious.
This was my first time hearing Scott speak and there’s no question he was comfortable in the spotlight. He seems very knowledgeable of current technologies, which is a refreshing characteristic not always present with speakers. Scott also touched on a Yeoman generator for the great HTML5 slideshow framework powering his presentation, called Reveal.js. I may have to use it in my Tech Lunches.
Even though I attended the meetup alone, I still enjoyed myself. I’ll see if I can coerce some coworkers and friends to join me next time.