We continue to make our simple php mvc application and today we will add sessions mechanism to our application to avoid access to cabinet main page to unauthorized users. Also we will create method, which will get all orders from database with its detail information....
Tutorials
Create php MVC application. Cabinet main page
Today our task is cabinet main page making. This page requires large html coding. That's why I will use ready-to-use html template because I want to draw your attention to the more important tasks for you. You can download template by this link. After page template...
Create php mvc app. Make authorization in application
We continue to develop our php mvc app and we will make authorization mechanism in our app today.Last lesson we created form. Today we'll make some changes and also dynamic avatar image changing depending on the user entered data. First of all we must create .htaccess...
Create php MVC application. Configuration files and creating routing file
Today we will begin to write code of our application. We'll write configuration files, database connection class and routing class. Also we'll create parent controller, model and view classes and controller and template for app main page. First of all we need to start...
Create php mvc app. Files and folders structure
Today we will create files and folders structure of our php mvc project. You can watch it in this link. First of all I'll show you how to make database backup with phpmyadmin. It has Export tab, which allows you to make flexible settings for backup file. You can set...
Jquery plugins
In last lesson we finished to learn jquery basics. With jquery functions you can not only to manipulate html, but extend jquery capabilities - you can write plugins. Plugin is software decision, which extends existing functionality of any program/library/framework. In...
Create php MVC app. Create database
In last lesson we began to create our PHP MVC application. Today we will create database with phpmyadmin using. Our database will be consist of 5 tables: roles users orders products productsInOrders - linked table between products and orders. We will create links...
Create simple php mvc app. Work plan
In last lessons we considered basics principles of OOP in PHP. To summarize this topic, I decided to make simple web app with using of OOP paradigm. Besides our app will be based on modern, actual approach in app design - MVC (Model-View-Controller). Our app will be a...
PHP. OOP. Abstract classes and interfaces
In today lesson we will discuss abstract classes and interfaces in php and talk about difference between it. Abstract classes are implements with adding key word abstract. Abstract classes can have properties and methods. But unlike simple classes methods in abstract...