Felix's Node.js Style Guide. « Home / All Guides IMPORTANT: This version is outdated, the latest version is available on GitHub.
The express() function is a top-level function exported by the express module. var express = require('express');var app = express(); Methods. Unix and Node: Manual Pages. If you’re familiar with npm’s documentation you’ll have noticed that it comes with a lot of manual pages.
I don’t think I could have published an npm module without reading man npm-json several times first. To this day I still bring it up to search for the correct properties for the more obscure features. Let’s look at npm to see how Isaac did this, then generalise it a little bit so you can publish your own manual pages. Visionmedia/commander.js. How to write a command line application in Node.js - Liang Zan - Blog. What is a command line application?
Usually it means a program that is ran via the command line. It can be a simple script that changes your working directory. Or it can be a complicated program that has a multitude of options and arguments. Examples of command line applications are mutt, irssi, htop. More Than Web: Six Node.js CLI Apps - Node.js is best known, of course, as a tool for building and serving awesome webapps.
Our First Node.js App: Backbone on the Client and Server. Here at Airbnb, we’ve been looking curiously at Node.js for a long time now. We’ve used it for odds and ends, such as the build process for some of our libraries, but we hadn’t built anything production-scale. Until now. The Problem There’s a disconnect in the way we build rich web apps these days. In order to provide a snappy, fluid UI, more and more of the application logic is moving to the client.
But all too often, it’s not so clean; application logic is somewhat arbitrarily split between client and server, or in some cases needs to be duplicated on both sides. If you’ve seen my tech talk or last blog post, then all this should sound familiar. A better way to learn AngularJS - AngularJS Tutorial. Modernizr: the feature detection library for HTML5/CSS3. Hurl. Getting started with CSS - Web developer guide. Aimed at complete beginners, this CSS tutorial for beginners introduces you to Cascading Style Sheets (CSS). It guides you through the basic features of the language with practical examples that you can try for yourself on your own computer and illustrates the standard features of CSS that work in modern browsers.
This tutorial is mostly for beginners in CSS, but you can also use it if you have some basic knowledge of CSS. If you are experienced in CSS this tutorial is probably not very useful to you, the CSS main page lists more advanced resources. Semantics. You are here: Home Dive Into HTML5 Diving In This chapter will take an HTML page that has absolutely nothing wrong with it, and improve it.
Parts of it will become shorter. Parts will become longer. All of it will become more semantic. Introduction to HTML - Web developer guide. When you look at a web page in a web browser, you see, at the simplest level, words. These words usually have some style characteristics, such as different fonts, font sizes and colors. In many cases a page also displays images or maybe video. Sometimes there is a form where you can enter (or search) for information, or customize the display of the page to your liking. Often a page contains content that moves or changes while the rest of the page remains the same.
Create a new Fiddle - jsFiddle. From The Server To The Client — Client-Side Templating. Advertisement Using templates in the browser is becoming more and more widespread. PhoneGap. Top HTML5 Frameworks and Generators To Ease Your Pain. Haml. Tryit Editor v1.8. Rendering a web page – step by step. LiveReload. LESS « The Dynamic Stylesheet language.
Firebug. Lawnchair: Simple JSON Storage. HTML: The Living Standard - Edition for Web Developers. A Beginner's Guide to Using the Application Cache. Stevey's Blog Rants: Execution in the Kingdom of Nouns. Understanding node.js.