April 2011
4 posts
4 tags
Extend Sylus with a Nib
Today I am releasing Nib, an extensions library for Stylus, inspired by the SASS compass library. Nib is a very new library with a minimal feature set at the moment, however I need to get some of my semi-finished projects open-sourced to make way for bigger badder things, and I’m already finding this project quite useful so feedback and contributions are always welcome. If you dont like to...
Apr 15th
10 notes
4 tags
Redis Implemented With Node
Nedis is a (partial) redis implementation written with node. Primarily for fun, however as our team grows larger, and as we add more non-technical team members over at LearnBoost I figured it would be nice help prevent the need for compiling development dependencies. Nedis is an old side project I had going, and is no where near complete, but it does work, so I figured I would open-source it....
Apr 14th
26 notes
February 2011
3 posts
3 tags
Stylus 0.4.0 released
Stylus for those who are not familiar with it, is a dynamic language which compiles down to css, written with JavaScript for node.js. CSS Syntax Support Previously Stylus only allowed the use of our indented grammar, which may deter designers that are not comfortable learning or using a new syntax. For this reason and to aid in copy/pasting of css stylesheets I have added support for optional...
Feb 7th
21 notes
3 tags
Stylus 0.4.0 released
Stylus for those who are not familiar with it, is a dynamic language which compiles down to css, written with JavaScript for node.js. CSS Syntax Support Previously Stylus only allowed the use of our indented grammar, which may deter designers that are not comfortable learning or using a new syntax. For this reason and to aid in copy/pasting of css stylesheets I have added support for optional...
Feb 7th
1 note
stylus: Expressive, robust, feature-rich CSS... →
thechangelog: This isn’t the first time we’ve covered the latest fresh and new creation from LearnBoost. Stylus is an expressive, dynamic, robust CSS pre-processor for Node.js. If you are familiar with Sass.js, Sass or Less.js … Stylus is kind of similar, but from what we’ve heard from TJ Holowaychuk they’ve taken it pretty far in a new direction. At first glance, Stylus looks a lot like...
Feb 1st
301 notes
December 2010
1 post
3 tags
Introducing Tobi
A few days ago we released another small test related project named Tobi for nodejs. Tobi is similar to Ruby tools such as Capybara or Webrat in fulfilling the need for headless acceptance testing. Tobi utilizes jQuery and node’s jsdom to give you an expressive foundation for testing your application in a familiar way. Motivation For those of you who follow our work at LearnBoost we have...
Dec 27th
35 notes
November 2010
1 post
4 tags
node-canvas open sourced
Today we open sourced our latest LearnBoost project, node-canvas, a canvas implementation for nodejs. The project is certainly a work in progress but we implement a large portion of the api, as well as node-specific additions such as Canvas#toBuffer() and Canvas#createPNGStream(). Introduction Screencast Github page Examples Shown below is the test suite running side by side with the browser...
Nov 5th
15 notes
September 2010
3 posts
2 tags
Jade Templates Introspection
The Jade Template Engine for Node now have the ability to manipulate themselves based on the parse tree constructed from a nested block. This has extreme potential, in that developers can now alter jade templates dynamically, constructing their own syntactic sugar. One of my favorite (but not only) use-cases for this functionality, would be that of a database record edit form. Typically your...
Sep 25th
30 notes
3 tags
C Indentation Based Language Lexer Tutorial
C Indentation Based Language Lexer Tutorial In this tutorial I wanted to show you how you can start your own programming language, starting by creating what is commonly referred to as a lexer or scanner. The grammar for our “language” will be indentation based much like Python, however will implement a tiny subset of tokens for illustration purposes. If you prefer, you may also jump...
Sep 21st
16 notes
2 tags
C Insertion Sort
So I wanted to investigate different sorting algorithms for a few personal projects, and I thought while I was doing so that I would write little tutorials for each algo :) why not! First we have one of the most basic sorting algorithms, the Insertion Sort. Explanation As illustrated by this video, the insertion sort works much like you might sort a deck of cards laying infront of you on a...
Sep 10th
6 notes
2 tags
"Mastering Node" - Open Source NodeJS eBook →
Sep 1st
17 notes
August 2010
4 posts
3 tags
Jade Screencast - Template Engine For NodeJS
Introduction This screencast covers an introduction to the Jade Template Engine for Node. Jade is an indentation based template engine inspired by Haml, with added support for the popular Express web development framework. Iteration, Conditionals, and Debugging Learn how to iterate objects and arrays, template conditionals, the debug option and how Jade’s error reporting works in this...
Aug 24th
15 notes
3 tags
nDistro Screencast - NodeJS Deployments In Seconds
I decided to take some time and go screencast-happy today, the first screencast is an introduction to my nDistro nodejs distribution toolkit. nDistro allows you to create node deployments in a matter of seconds. Ps. Dont mind my annoying bird! here is the screencast
Aug 24th
7 notes
2 tags
Getting Started With Express
In this short tutorial for Node Knockout we will be creating a small application using the popular Express framework. Express is a light-weight Sinatra-inspired web development framework. Express provides several great features such as an intuitive view system, robust routing, an executable for generating applications and much more. Installation To get started with Express we first have to...
Aug 11th
9 notes
July 2010
4 posts
2 tags
nDistro - Node distribution toolkit
nDistro is a small bash project that allows you to define, and install node distributions within seconds. This means no GIT dependency, no compiling node from source with Make, no need to install node then install npm (node’s package manager). nDistro distributions are easy to create, share, and install. Before we get into the details lets install nDistro: $ cd /usr/local/bin &&...
Jul 27th
47 notes
2 tags
Express 1.0beta
Yesterday I released Express 1.0.0beta, a Sinatra inspired Node web development framework. The beta is a near re-write consisting of roughly 300 commits, introducing new features, removing legacy code, and improving documentation. Express now runs on the Connect middleware framework, which replaces the previous concept of a Plugin. The performance of express has also been optimized and can now...
Jul 16th
39 notes
5 tags
Node JavaScript Test Coverage
Today I released Expresso 0.4.0, a TDD framework for node which uses my node-jscoverage project to instrument your library, providing optional test coverage reporting when the —cov flag is used. Expresso If you dont know anything about expresso, it executes tests in parallel, so even ~1000 assertions against live http servers can execute in less than a second. By doing so we unfortunately...
Jul 10th
9 notes
3 tags
Jade - Haml killer for nodejs
Last night I open sourced my latest project Jade, a template engine for node, focusing on readability, error handling and performance. Jade spawned from several needs, first I was tired of debugging poor JavaScript template implementations, or finding work-arounds for common issues, secondly I love haml’s syntax, however I feel it could be revamped to provide a more enjoyable experience, and...
Jul 2nd
22 notes
June 2010
3 posts
3 tags
Connect vs JSGI
Last week Kris Zyp posted JSGI vs Connect, claiming that Connect is slower than JSGI. Another claim is that JSGI is far more intuitive, which I consider false. First of all the library does not follow common nodejs idioms, and the configuration also causes the “boomerang effect”, although in the end only the community will decide what they want. Krisbenchmarks generally consisted...
Jun 15th
18 notes
3 tags
Connect - Middleware For NodeJS
Yesterday myself and Tim Caswell open-sourced the first Ext JS nodejs project, Connect. Connect is an abstraction layer, providing node developers with an effective, high performance solution for rapid development using interchangable components called “middleware”. Middleware Middleware provides node developers with simple “plug and play” modules, which may be stacked...
Jun 5th
118 notes