ExpressJS ProTips: Lessons From The Trenches

NodeJS was supposed to bring in this new era of web development – productivity, scalability, easy to write code and more! But now, suddenly, you find yourself looking at a tangled, nested callback mess. What happened? How did this brave new world suddenly turn in to the nightmarish depths of Java and C#?

It’s enough to make anyone crawl under their desk and hide!

hide-under-desk

Node and Express are a powerful combination for serving web sites, but they aren’t fool-proof. They allow you to write bad code in an unorganized and deeply nested manner if you want to. The trick, then, is to keep your code as clean as possible – and I’ll show you how with the ExpressJS ProTips email course!

The Email Course

I’ve spent the last 3 or 4 years working with Express as my primary web server, and I’ve seen both Express come a long way, and my own use of it. I’ve learned lessons the hard way – by making mistakes, seeing the trouble I’ve caused myself, and having to figure out how to fix it.

Along the way, I haven’t found a single great resource that really teaches all of the lessons that I learned, either. So I built that resource and you’re looking at it right now: the ExpressJS ProTips email course.

These are tried and true lessons that I am boiling down in to quick tips and brief descriptions. But you should know: I’m not always going to give you the answers right away. I want these emails to challenge you in to thinking about your code differently, to get you to explore ideas and opportunities for improving your code.

What Can I Expect To See?

You’ll get 7 emails – one a day – that cover some core topics that have proven useful in keeping ExpressJS code clean. These topics include:

  • router methods
  • middleware
  • error handling in routes
  • business logic
  • that require(“../../../”) mess
  • sub-routers
  • and more!

There may be a few extra little things in here, as well. You’ll just have to stick around to see. :)

Sign Up Now

[thrive_leads id=’1633′]