giving you a taste.

Heartbeat City

Here’s a classic track from The Cars. The song below was featured on the original album “Heartbeat City”, released in 1984. This album is one of the #1 80’s classics of all time.  Cautiously hopeful, upbeat, and dares to be optimistic.

Express 3 Released

Express is officially version 3 since yesterday. After a series of test-oriented commits throughout October, TJ Holowaychuk bumped his node framework of developer fame from rc5 to 3.0.0.

We’re all exited. It is a great time to be in web technology. I’m using express a lot. Really enjoy the speed of creation using Jade templating and Stylus. Both of those expressy things broke free and are way out of the mold of sytax time killing contraints. Time to update package.json files and express on our systems. By the way make sure to protect your keyboard by saving six letters that often get tossed around for no reason. Just run npm i to install from package.json. No need to write out the word install everytime.

new app - package.js on
1
2
3
4
5
6
7
   },
  "dependencies": {
    "express": "3.0.0",
    "jade": "*",
    "stylus": "*"
  }
}

AngularJS Plus MongoDB

Think outside the box.

We’re past relational data. We live in the single page web app era with a preference for Node.js. MongoDB for things of great import, so use the safe command:

collection.insert(doc2, {safe:true}, function(err, result) {});

Redis instances are cool speedy transaction when data persistence over a long duration is lower priority, i.e., session storage.

No matter what though it all flows back to HTML; even stylesheets cascade down to an element.

With that in mind, let’s explore whether AngularJS can help us craft real-time data bindings that update the view immediately whenever the model changes.

JavaScript is definitely powerful enough to create DOM updates on changes in our data model. Of course the language is often unruly.

Angular offers a unique solution that may simplify things. Compare to Backbone. In Backbone, data changes (plus corresponding events fired from the data-model) bubble up to the view. So we like to start by declaring a model. Then extend it to watch for changes on the model via getters and setters–The Observer Pattern.

In completely different fashion, dependency injection in AngularJS allows us to declaratively describe how our application is wired. The approach in Angular is such that any JavaScript object can be a model.

Sounds good, right? Now let’s see if we can wire some AngularJS CRUD to MongoDB… Check back soon for the snippet on how to do that, I’m working it out right now and I’ll update this post soon with examples.

Florence + the Machine

I love listening to Florence. Perfect background for programming the next big thing!

What’s Wrong With JavaScript?

Renown V8 engineers, Lars Bak and Kasper Lund: the two creators of Dart discuss rationale behind Dart’s design and its impact on web scalability and performance. Dart offers an alternative approach to building complex JavaScript-based web applications.

Before Dart they built Google Chrome’s V8 Engine, an unprecedented runtime environment on which the Node.js platform is built. Lars Bak has over 26 years of Object Oriented programming experience on Virtual Machines.

These incredible engineers present how Dart helps developers innovate by increasing their productivity without breaking backwards compatibility. They discuss how Dart compiles to JavaScript, and in the process sling a veiled insult or two at CoffeeScript.

Right, well, here’s a link to the I/O 2012 sessions.