-
Notifications
You must be signed in to change notification settings - Fork 4
Layers
Ashwin Hegde edited this page Feb 26, 2015
·
3 revisions
The server side codebase resides in the server.js
and config.js
files. By default, the server layer is written in JavaScript (Node.js with Express 4.x) which can be configured and flexible to work with any server side scripting language like Java, PHP, ASP.NET or others. As client and server layer are seperate entity.
The client side codebase resides in the src
folder. This folder contains following subfolders.
+-- /stylesheets
+--/css
+--/less
+--/common
+--/base
+--/layout
+--/modules
+--/state
+--/theme
+-- /systems
+--/frameworks
+--/libs
+--/utilities
+-- /templates
+-- /assets
+--/fonts
+--/images
+-- /apps
+--/models
+--/views
+--/router
The codebase comes with LESS setup with a Scalable and Modular Architecture for CSS (SMACSS)
approach. SMACSS is a way to examine your design process and as a way to fit those rigid frameworks into a flexible thought process. It is an attempt to document a consistent approach to site development when using CSS.