My daily readings 07/20/2010

  • tags: html5 css3

  • tags: Google Book download

  • tags: Image APP

  • tags: NodeJs

  • tags: Startup ideas

  • tags: mongodb express NodeJs

    • In this article I hope to take you through the steps required to get a fully-functional (albeit feature-light) persistent blogging system running on top of node.

      The technology stack that we’ll be using will be node + express + mongoDB all of which are exciting, fast and highly scalable. You’ll also get to use haml-js and sass.js for driving the templated views and styling! We will be using kiwi to easy the package management and installation issues.

      This article will be fairly in-depth so you may want to get yourself a rather large mug of whatever beverage you prefer before you settle down 🙂

  • tags: startup ideas

  • tags: nodejs

    • NodeJS has been garnering a lot of attention late. Briefly, NodeJS is a server-side JavaScript runtime implemented using Google’s highly performant V8 engine. It provides an (almost) completely non-blocking I/O stack which, when combined with JavaScript closures and anonymous functions, makes it an excellent platform for implementing high throughput web services. As an example, a simple "Hello, world!" application written for NodeJS performs comparably to an Nginx module written to do the same.
    • The following example requires node-v0.1.100 or later and node-webworker, a NodeJS implementation of the emerging HTML5 Web Workers standard for parallel execution of JavaScript. You can install node-webworker using npm by executing npm install webworker@stable.
  • tags: javascript node

      • Node.js has generally caused two reactions in people I’ve introduced it to. Basically people either “got it” right away, or they ended up being very confused.

        If you have been in the second group so far, here is my attempt to explain node:

        • It is a command line tool. You download a tarball, compile and install the source.
        • It let’s you run JavaScript programs by typing ‘node my_app.js’ in your terminal.
        • The JS is executed by the V8 javascript engine (the thing that makes Google Chrome so fast).
        • Node provides a JavaScript API to access the network and file system
    • Alright, I will. Node is basically very good when you need to do several things at the same time. Have you ever written a piece of code and said “I wish this would run in parallel”? Well, in node everything runs in parallel, except your code.
    • One reason is efficiency. In a web application, your main response time cost is usually the sum of time it takes to execute all your database queries. With node, you can execute all your queries at once, reducing the response time to the duration it takes to execute the slowest query.

      Another reason is JavaScript. You can use node to share code between the browser and your backend. JavaScript is also on its way to become a really universal language. No matter if you did python, ruby, java, php, … in the past, you’ve probably picked up some JS along the way, right?

      And the last reason is raw speed. V8 is constantly pushing the boundaries in being one of the fastest dynamic language interpreters on the planet. I can’t think of any other language that is being pushed for speed as aggressively as JavaScript is right now. In addition to that, node’s I/O facilities are really light weight, bringing you as close to fully utilizing your system’s full I/O capacities as possible.

      • What can we learn from this? A few things:

        • Open source and Google fanboy hyperventilating doesn’t equal sales.
        • Google’s plan to cut out the middle-man from the sales plan (that is, the mobile operators) sucks (unless you’re talking about Apple).
        • The carriers ultimately want control of the handset (again, unless you’re talking about Apple).

        Ultimately, it didn’t really make sense for Google to on the one hand sell its own handset through its own distribution channels, and then try to push Android with other partners and channels. Something had to give. And it has.

Posted from Diigo. The rest of my favorite links are here.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: