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...
Tutorials
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...
PHP. OOP. Static properties and methods
PHP supports static properties and methods. For declaration of static method or property php has got static keyword Accessing to static properties and methods doesn't suppose object creating. While trying to access a static property through class object you will get...
PHP. OOP. Properties and methods scope
We continue to learn basic principles of OOP in PHP. Today we will discuss properties/methods scope. There three modifiers in PHP: public - public properties/methods can be accessed anywhere. protected - protected properties/methods can be accessed in class and child...
PHP. OOP. Classes inheritance
In this lesson we'll continue to learn OOP in PHP. I recommend you to watch last lesson for your understanding of toda topic. Today we'll discuss classes inheritance. Inheritance in php oop is one of the basic and key concept. Two others are encapsulation and...
PHP. Intro to OOP. Classes. Objects. Constructors
Today we'll begin series of tuts about OOP (object oriented programming). First of all we'll talk about OOP basics - classes, objects and constructors. Why do you need to use OOP in your projects? Thee say, OOP is difficult for understanding. But it's not true. OOP...