-
Notifications
You must be signed in to change notification settings - Fork 40
File Naming Structure
jason humphrey edited this page Dec 31, 2016
·
2 revisions
We have implemented modules with a specific file naming convention for server & client side coding. Each module has a unique such as blog. Inside of each module you specific files named as such UNIQUE_NAME.FILE_TYPE_IDENTIFIER.FILE_EXTENSION
| FRONTEND | BACKEND |
|---|---|
module |
models |
controller |
controller |
routes |
routes |
config |
spec |
service |
|
provider |
|
directive |
|
style |
|
json |
|
view |
|
spec |
Once everything is set up properly we then register all modules and all of its content appropriately on server.js startup.
Examples on the frontend include :
blog.controller.jsemail.controller.jsblog.factory.jsauth.factory.jsblog.module.jsblog.routes.js.jsblog.spec.cssblog.style.cssblog.style.scsslist.style.lesscreate.view.html
Examples on the backend include :
blog.controller.jsblog.model.jsblog.routes.jsblog.spec.js
Copyright © Green Pioneer Solutions, LLC 2014 -2017
