Package and class organization is crucial in full stack development, it will save you time because you won’t be hunting around for a random class, and it will be an expectation once you hit the job market! Everyone kind of struggles with this in the beginning, but hopefully this helps you a little bit.
Good vid explanation of the basics Also this dude seems very cool, and has killer riffs as his intro music, 5 stars.
Another good YouTube from one of my faves, Amigos Code.
*Some of the stuff the mention in the videos, like “DAO” I try to cover below. *In the second video he talks about Maven and Spring, both of which you will learn about in full stack. He also talks about microservices
Package Naming:
Organizing Classes into Packages:
Controller Classes:
Service Classes:
Repository or DAO Classes:
Model or Domain(POJO/DTO) Classes:
Configuration Classes:
Utility Classes:
Naming Classes:
These conventions help keep your Java code organized and make it easier for other developers to understand and work with your code.
Remember, the main idea is to group related classes together in packages based on what they do and give them clear and meaningful names. This makes your code more organized and easier to maintain.