DEV Community

Discussion on: Open question. Is it really possible to keep a big project code clean?

Collapse
 
chrisrhymes profile image
C.S. Rhymes • Edited

When using PHP, I consider how I can split a large codebase into smaller libraries or packages using Composer, where each package performs a specific task. That way you make it more maintainable as well as reusable for other projects.

You can do the same with JavaScript, making use of npm to store your JavaScript libraries and packages.

Collapse
 
kriyeng profile image
David Ibáñez

Thank you C.S. Rhymes!
This seems a good idea. I recently discover that you can create your own npm packages easily. I will dive into it! Thanks!