Taswar Bhatti
The synonyms of software simplicity
Category: Node
Jade

Jade Node.js Template Engine, Filters & Mixins In my previous post I have talked about conditional statements inside of jade. In this post I will write about filters and mixins in jade template engine. Filters Filters in jade means something different from what you may know as filters like the ones in Angular.js. In Jade […]

Jade

Jade Node.js Template Engine, Conditional Logic Statements In my previous post I have talked about databinding with jade, i.e. feeding data to your template. In this post I will write about how one can use conditional and logical statements (for, if, while statements) in jade template engine. Ternary Operation The conditional ternary operator can be […]

Jade

In my previous post I showed the basic syntax of jade when using express application in node.js, in this post I will go over the DataBinding aspects of jade template engine. Jade Node.js Template Engine DataBinding through Interpolation Jade provides interpolation of variables using the #{} syntax, Hash, Curly Brackets. For example if we have […]

Jade

In my previous blog post I showed how one would install jade template engine for node.js and the terse markup that it provides. In this post I will continue on the jade and show the basic syntax of using jade template engine. Basic syntax of Jade Template Engine for Node.js As mentioned in earlier post, […]

Jade

Jade Node.js Template Engine is a templating language for node.js, it provides an alternative syntax to write your HTML, some may say more pythonic or haml style. Jade by default comes with express web application framework for node.js, it is designed primarily for server side templating in node.js, and last but not least it is […]

bower

Continuing on our previous blog post on bower, in this blog post, I will talk about how to create your own front-end packages in bower. One thing I forgot to mention in the previous post is git is required when using bower. If you are using windows you can install git for windows or Mac/Unix/Linux. […]

bower

My last blog post was about using bower in node.js express application Visual Studio, and I believe I did not do justice to it. In this blog post I will talk more about how to use bower for your front-end and all the command line associate with bower. Again to install bower globally one can […]

node.js

In my previous post I have shown how to create an express app with node.js and in this post, I would like to introduce bower a package manager for front-end development. Bower is a package manager just like Nuget, where it gets confusing is that node already has a package manager called npm. The difference […]

node.js

Here is a quick little tutorial of using Twitter Bootstrap with Node.js express in Visual Studio. First we will create a ExpressBootstrap solution, select New Project and select JavaScript -> Blank Express Application. I will name my solution ExpressBootstrap, in my app.js I have also add the app.locals.appname = ‘Express Bootstrap’ so that I can […]

node.js

Here is a simple walk through of creating a express application with node.js using Visual Studio (NTVS). First lets launch visual studio and go to the JavaScript section and select the Blank Express Application. Once selected, I have named my application SimpleExpress, Visual Studio will start creating the skeleton of the project for you, and […]

UA-4524639-2