Difference between revisions of "File Structure"

From Earlham CS Department
Jump to navigation Jump to search
 
Line 8: Line 8:
 
*/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
 
*/util - PHP for errors, logging, authentication utility functions
*/view/template - contains all the smartie templates written in HTML and parsed through smartie scripts
+
*/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.
 
*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.