File Structure

From Earlham CS Department
Revision as of 16:36, 15 April 2012 by Gus (talk | contribs)
Jump to navigation Jump to search
  • /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 smartie scripts
  • There are also a bunch of PHP files in the root directory. These are startup scripts and setup files.