13. Router and Controllers

Published 6 months ago

One of the most important things you can do to keep your web app scalable is to always ensure you’re writing clean code. Clean code means organizing modules and functions into their own independent files once things get a little too unwieldy. I pretty much always optimize as I go—once a file gets too large or too hard to understand, that’s when I begin cleaning things up and refactoring, otherwise, I’m just wasting time over-optimizing.

Learn how to utilize an independent router file and controllers to make your web app as clean and scalable as possible

Comments

Want to participate?

Create a free Chris Courses account to begin

or
Sign In

No comments yet, be the first to add one

Cheat Sheet Preview

Download The Official Chris Courses HTML5 Canvas Cheat Sheet

Essential canvas syntax at your fingertips.

Download Now

Providing the lift to launch your development career

© 2020 Chris Courses. All rights reserved.