https://github.com/prabhuomkar/wtl-kit
A starter kit for web development in PHP, part of lab project cpl501
https://github.com/prabhuomkar/wtl-kit
css html js php sql web-technologies
Last synced: 7 months ago
JSON representation
A starter kit for web development in PHP, part of lab project cpl501
- Host: GitHub
- URL: https://github.com/prabhuomkar/wtl-kit
- Owner: prabhuomkar
- License: mit
- Created: 2017-07-14T17:08:19.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-10-20T16:21:57.000Z (about 6 years ago)
- Last Synced: 2025-03-29T11:41:39.976Z (7 months ago)
- Topics: css, html, js, php, sql, web-technologies
- Language: PHP
- Size: 38.1 KB
- Stars: 0
- Watchers: 1
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://github.com/nerdyninja)