Difference between revisions of "File Structure"

From Earlham CS Department
Jump to navigation Jump to search
(Created page with "/3rd - Third party plugins /cache - Storage folder for generated template files from smartie /controller - All the PHP functions that drive the site. Error catching code is also ...")
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
/3rd - Third party plugins
+
*/3rd - Third party plugins
/cache - Storage folder for generated template files from smartie
+
*/cache - Storage folder for generated template files from smartie
/controller - All the PHP functions that drive the site. Error catching code is also here.
+
*/controller - All the PHP functions for internal site navigation. Error catching code is also here.
/logs - logs are stored here
+
*/logs - logs are stored here
/model - All the PHP for connecting//interacting with the mySQL database
+
*/model - All the PHP for connecting//interacting with the mySQL database
/res - javascript, CSS, and images for the UI of the site
+
*/res - javascript, CSS, and images for the UI of the site
/setup - SQL setup statements for the database (creating tables, etc.)
+
*/setup - SQL setup statements for the database (creating tables, etc.)
/tests - contains a validation script for e-mail addresses, and an example bash script for testing {This is where we can extend testing for the server project create, add find, delete find, etc}
+
*/tests - contains a validation script for e-mail addresses, and an example bash script for testing {This is where we can extend testing for the server project create, add find, delete find, etc}
 +
*/util - PHP for errors, logging, authentication utility functions
 +
*/view/template - contains all the smartie templates written in HTML and parsed through smarty scripts
 +
*There are also a bunch of PHP files in the root directory. These are startup scripts and setup files.

Latest revision as of 15:54, 15 April 2012

  • /3rd - Third party plugins
  • /cache - Storage folder for generated template files from smartie
  • /controller - All the PHP functions for internal site navigation. Error catching code is also here.
  • /logs - logs are stored here
  • /model - All the PHP for connecting//interacting with the mySQL database
  • /res - javascript, CSS, and images for the UI of the site
  • /setup - SQL setup statements for the database (creating tables, etc.)
  • /tests - contains a validation script for e-mail addresses, and an example bash script for testing {This is where we can extend testing for the server project create, add find, delete find, etc}
  • /util - PHP for errors, logging, authentication utility functions
  • /view/template - contains all the smartie templates written in HTML and parsed through smarty scripts
  • There are also a bunch of PHP files in the root directory. These are startup scripts and setup files.