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...
Tutorials
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...
CSS. Flexbox
One of my describer asked me i on my youtube chanel to make video tutorial on flexbox CSS topic.Today I am introducing my new tutorial with great pleasure. Be careful before using flexbox. This approach is supported by modern browsers. You must understand two...
Routing in angularjs
In this lesson we will finish to learn angular basics. Today we will consider routing. Routing in angular lets your to create "effect multi-page app" in single page web app. For providing routing in your app you need to include angular-route module.. Don't forget add...
Angularjs. Services. $http service
Today we'll consider services in angular on the example of $http service. $http is one of the powerful and important services in angular. It lets developer to communicate with server. Also it helps to make cross domain requests. In some cases services are similar on...
Angular filters. Create your own filters
In this tutorial we'll discuss filters in angular. Angular has got several build-in filters. Also we will create our custom filter with filter method. There are the list of build-in filters below: uppercase formats string to uppercase. lowercase formats string to...
Angular js. Form validation
In this tutorial we will consider form validation with angular. The main advantage of using angular to validate form is simplicity and fast implementation. While making validation you need some important steps. First of all you need to add name attribute to form....