Giter Club home page Giter Club logo

object-oriented-php-and-mvc's Introduction

Object Oriented PHP and MVC [Video]

This is the code repository for Object Oriented PHP and MVC [Video], published by Packt. It contains all the supporting project files necessary to work through the video course from start to finish.

About the Video Course

In this course, we will go step by step to build a complete custom MVC (Model View Controller) framework Called TraversyMVC using object-oriented PHP. We will build something similar to Codeigniter but much much lighter. This framework is a completely open source and you are free to change the name, add stuff, etc and use it as your own. This framework will include. A core library class to load controllers & methods from the URL (Also using .htaccess)

A base controller class to load models and views

A custom database library using PDO for all models to interact with the database using prepared statements.

Not only will we create the framework but we will build an application on top of it called SharePosts which will be somewhat of a social network to share posts. This application will include: Full user authentication, Access control for posts, Server-side form validation

Bootstrap 4 UI, Posts CRUD, Helper functions (flash messaging & redirects).

We will also be deploying the application to the Internet

What You Will Learn

  • Build a custom MVC Framework from absolute scratch
  • Build an application using your custom framework
  • Create a custom PDO class to handle database interactions
  • Complete user authentication using OOP & PDO
  • Deploy your custom PHP application

Instructions and Navigation

Assumed Knowledge

To fully benefit from the coverage included in this course, you will need:

  • People wanting to learn advanced OOP PHP and MVC (Model View Controller)

object-oriented-php-and-mvc's People

Contributors

asif-packt avatar packt-itservice avatar packtutkarshr avatar sonakshis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

object-oriented-php-and-mvc's Issues

As of php 8 the following is deprecated

PHP Deprecated: Creation of dynamic property Users::$userModel is deprecated in /shareposts/app/controllers/Users.php on line 5

PHP Deprecated: Creation of dynamic property Users::$userModel is deprecated in /shareposts/app/controllers/Users.php on line 5

public function __construct(){ $this->userModel = $this->model('User'); }

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.