From the course: Angular: Building Large Applications
Unlock the full course today
Join today to access over 24,500 courses taught by industry experts.
Project organization - Angular Tutorial
From the course: Angular: Building Large Applications
Project organization
- [Instructor] The first step towards supporting a growing application is to properly organize your project so you don't have to refactor too much later on. Planning ahead for this will save you tons of work. The first step is to organize your folder structure, and you can do it in two ways by type of files or features. They both have their benefits and it all depends on your style of programming or the standards within your enterprise. The first approach structures your file by the types of files and then combines them all into a contextual folder. For example, the folder components would have all the components and the folder service as all the services files. The second approach structures your files by functions or features. For example, if you add a CRM application, you'd have a contact list folder. Then inside of it, you'd have the components, modules, services, and whatever else is related to provide that feature. When organizing your components, make sure you separate them by…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.