Skip to content

reoim/Object-Oriented-PHP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About this application

This is personal repository to practice Object Oriented PHP concept. Resources are referenced from free online tutorial Eduonix: Learn Object Oriented PHP

This is simple application includes login/register and post/list/delete features.

I used Object Oriented PHP concept and MVC pattern to build it.

MVC Pattern

Routing is done by without using any existing frameworks.

Bootstrap of routing

ex>

http://mydomain.com/users/login

users = controller

login = action

How to run

You need to install xampp/wamp or ampps to run this on your local server.

Once you install it, go to admin homepage, add domain.

Download or clone this repository under your domain name folder.

The domain name folder should be under your ampps installed path/www/

ex> C:\Program Files\Ampps\www\mydomain

You also need to change following root path and root url code in config.php file to your domain.

// Define URL
define("ROOT_PATH", "/php.dev/");
define("ROOT_URL", "http://localhost/php.dev/");

Now you can open your domain on browser.

About

Simple blog posting page and user access control. Work with Object Oriented PHP and MVC pattern

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published