-
Notifications
You must be signed in to change notification settings - Fork 7
Client Folder Structure
Home / Developer / Folder Structure
The Root folder contains all files and folders that are needed to display an application on screen. They can be broken down to the following main files and folders:
root/
- css
- entity
- js
- template
config.json
config.json.live
config.json.test
config.json.uat
index.html
index.js
web.config
This is the entry page for the application. The file contains all necessary CSS and JavaScript resources as well as the HTML structure to display the Client Side of the Application.
This is required by the /index.html
and it loads the following from the JQuery $(document).ready
:.
- Navigation Menu
- Header
- Footer
- Spinner, Modals, alerts etc,
- Default
/entity/data
// Default entity on page load is the Data Page
api.content.goTo("entity/data/", "#nav-link-data");
Contains default configuration parameters and constants.
Example:
- Default System Language:
language.iso.code
"language": {
"iso": {
"code": "en",
"value": "English"
}
},
- Default Date Display:
mask.datatime.display
"mask": {
"datatime": {
"ajax": "YYYY-MM-DDTHH:mm:ss",
"display": "DD/MM/YYYY HH:mm:ss",
"file": "YYYYMMDDTHHMMss",
"dateRangePicker": "DD/MM/YYYY HH:mm"
}
},
Each Deployment environment have specific config.json
file:
config.json.live
config.json.td
config.json.uat
The template folder /template
contains code for the headers, footers, navigation, spinners and modals to be used by the application with the following structure.
template/css
template/css/navigation.css
template/css/footer.css
template/css/header.css
- template/js
template/js/navigation.library.js
template/js/entity.js
template/js/footer.js
template/js/header.js
template/js/navigation.js
template/footer.html
template/header.html
template/modal.group.html
template/modal.html
template/modal.user.html
template/navigation.html
template/spiner.html
The template folder /CSS
contains CSS styling definitions for the Application and specific java script libraries.
css/app.bootstrap.guideline.css
css/app.bootstrap.override.css
css/app.library.css
css/app.media.css
css/app.prism.css
css/app.prism.override.css
css/app.xbbcode.css
The template folder /js contains code for Specific Application and 3rd Party libraries.
js/app.bootstable.js
js/app.config.js
js/app.constant.js
js/app.global.js
js/app.library.group.js
js/app.library.js
js/app.library.user.js
js/app.mindmup.editabletable.js
js/app.plugin.js
js/app.prism.js
js/app.twbs-pagination.min.js
js/app.xbbcode.js
The entity
folder /entity contains code for the different entities that make up the Applications.
entity/build
entity/configuration
entity/data
entity/developer
entity/keyword
entity/manage
entity/release
entity/upload
Update
Database Scripts
Configuration
API
- Home
- Data
- Security
- Subscription
- System
- Navigation
- Notification
- Settings
- Workflow
- Px Build
Developer
- Home
- Developer Tools
- Client Tier
- Server Tier
- Database Tier