O'Reilly logo

Sails.js in Action by Mike McNeil

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 11. Refactoring

This chapter covers

  • Organizing, implementing, and refactoring a project pivot
  • Using the async library in Sails
  • Customizing built-in responses
  • Adding a password-recovery system

It’s been several months since we delivered the last version of Brushfire to Chad. We thought we’d begin work on the next phase of content management: associating users with the videos they added. But when Chad arrived at our offices, plans had changed. Chad was anxious to give us some good news and some bad news. The bad news was his investor/mom was again shaken by the lack of cat videos on Brushfire. She could not “in good conscience” continue to subsidize the proliferation of “videos without cats.” We explained to Chad that although we ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required