To Engineers Who Tried to Use Jade Template Engine and Can’t Get Started

To Engineers Who Tried to Use Jade Template Engine and Can’t Get Started

When I started working at Storify as a Node.js Engineer. The tech stack was Express and Jade. I hate to admit it, but I struggled with Jade a lot!

Before, I mostly worked with Underscore, and Handlebars. I attempted to modify some HTML in the Jade templates. Other times I would only change the text. Those were trivial updates, but very often they cause the whole server to crash.

I was failing miserably to learn by trail and error. I hated Jade. I was starting to hate editing templates as well. Then I had a light bulb moment: I need a tutorial. I went to the official docs. I wish this article existed at that time. After spending just an hour learning Jade, I was able to use Jade and make all the changes to templates smoothly.

Smart people learn by their mistakes, and wise people learn from others. Don’t repeat my folly. Skim through this Jade tutorial to harness the power of this wonderful template language.

Continue reading

Warning: NoSQL is Becoming More Popular. Master MongoDB With This Handbook on Mongoose for $2 ONLY

Mongoose Guide


There is a Kickstarter campaign for the Mongoose Guide book.

The campaign closes in a few weeks. Only people who backed it will get the book and bonuses.

Right now, you can get tons of bonuses…

the book itself is just $2, so hurry up.

Check this out —>>> Mongoose Guide.

Software Engineers: Learn MongoDB with Mongoose and Node.js and Earn a Caribbean Vacation

Continue reading

How To Use Mocha With Node.js For Test-Driven Development to Avoid Pain and Ship Products Faster

Mocha With Node.js For Test-Driven Development

Test-driven development (TDD) , as many of you might know, is one of the main, agile development techniques. The genius of TDD lies in increased quality of code, faster development resulting from greater programmer confidence, and improved bug detection (duh!).

Historically, web apps have been hard to autotest, and developers relied heavily on manual testing. But, certain parts such as standalone services and REST API can be and should be tested thoroughly by the TDD. At the same time, rich user interface (UI) / user experience (UX) can be tested with headless browsers such as PhantomJS.

Continue reading

Node Program Lecture

Node Program

Node Program is ideal for people new to Node, and for those who can use some help with JavaScript itself (stuff like “this”, prototype, var, etc.). In the first few lectures, I cover JavaScript fundamentals. Here’s a video of the beginning of one of the previous Node Program trainings: It’s 19 minutes and a part of a six-hour self-study online course.

FREE Sublime Text License ($70)

Are you tired of seeing the Sublime Text 2 registration popup?

Does it annoy you?

Has it ever interrupted you while you were working on something cool?

Here’s your chance to get rid of that pesky popup and help Sublime devs to make their product even bette!

Enter now to win your very own FREE license to Sublime Text 2 (USD $70):

Hurry up, the giveaway is only until March 10, 12:45pm PT.

PS: Also, if you share the giveaway, then you’ll have 3 more entries to win for each invitee!

In other words, then more you invite the higher the chances.

How To Up Your API Game: DocuSign DevCon

DocuSign DevCon 2015

If you develop apps and work (or plan to work) with business APIs like: DocuSign, Salesforce, Twilio, Dropbox, Runscope, Gradle, then read on. I have some good news for you.

I remember that each time I had to integrate my apps with some third-party service, I was at the mercy of their documentation, samples and support team. Most time those resources were sufficient.

Continue reading