Skip to content

A starter kit for web development in PHP, part of lab project cpl501

License

Notifications You must be signed in to change notification settings

prabhuomkar/WTL-Kit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WTL-Kit

A starter kit for web development in PHP, part of lab project cpl501

Structure

Defined file structure of this kit, following MVC Architecture

  • config/
    • database.php : contains your database configuration
    • messages.php : contains your exception messages
    • system.php : to be included in every page where you need controller interaction in any page
  • controller/
    • DBClass.php : database connection model
    • __NAME__Controller.php : here __NAME__ can be anything for controller, default comes with DemoController with constructor and function. every controller with database actions should include the constructor
  • migrations/
    • create_table_name_table.sql : sql schema to be imported into database
  • view/
    • header.php : consists of header section to be included everywhere
    • footer.php : consists of footer section to be included everywhere
  • static-files/
    • css/ : consists all your stylesheets
    • js/ : consists all your javascript files, comes with jquery 3.2.1
  • index.php : default template of each and every file to show usage of views in every page

Author

Omkar Prabhu - nerdyninja

About

A starter kit for web development in PHP, part of lab project cpl501

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors 4

  •  
  •  
  •  
  •