Quantcast
Channel: PHP
Browsing latest articles
Browse All 28 View Live

Image may be NSFW.
Clik here to view.

PHP for Drupal Tutorial #1: Introduction to PHP

In the first video of this 10 part video tutorial series on PHP for Drupal, I introduce you to the PHP language, explaining what it and what it does. To begin, we get our WAMP / MAMP server installed...

View Article



Image may be NSFW.
Clik here to view.

PHP for Drupal Tutorial #2: PHP Comments and Variables

In this second introductory PHP tutorial, we walk through PHP comments, PHP spacing and variables. I show you the various ways you can create comments in PHP and why you'll want to do that. From there,...

View Article

Image may be NSFW.
Clik here to view.

PHP for Drupal Tutorial #3: PHP Constants and Operators

In this third introductory PHP tutorial, I quickly cover off PHP Constants, something I forgot to mention in Tutorial 2. Essentially a constant is a variable that's value doesn't change. You can create...

View Article

Image may be NSFW.
Clik here to view.

PHP for Drupal Tutorial #4: Conditional IF Statements

In the fourth introduction to PHP tutorial of this series, I walk you through PHP If statements which allow us to add some dynamic complexity to our scripts. In doing so, we use an if statement to...

View Article

Image may be NSFW.
Clik here to view.

Introduction to PHP for Drupal Tutorial #5: Nesting IF and Switch Statements

In this PHP video tutorial, we continue where we left off in #4 and look at nesting IF statements. I show you how we can check for one condition and if it is true, then check for more conditions. From...

View Article


Image may be NSFW.
Clik here to view.

Introduction to PHP for Drupal Tutorial #7: PHP Loops

In this 7th PHP tutorial, I walk you through loops in PHP, specifically the for, while, do while and for each loops. In doing so, I show you some common errors when working with loops and flag some...

View Article

Image may be NSFW.
Clik here to view.

Introduction to PHP for Drupal Tutorial #8: PHP Functions

In this 8th PHP tutorial, I walk you through PHP functions. I show you the syntax for creating your own functions, explain why you should create functions, look at passing variables into functions,...

View Article

Image may be NSFW.
Clik here to view.

Introduction to PHP for Drupal Tutorial #9: PHP Functions Continued

In this 9th PHP video tutorial, I show you how we can use functions from a separate file to make our code a little cleaner. Here, we create a form which allows users to enter a position and name to add...

View Article


Image may be NSFW.
Clik here to view.

Introduction to PHP for Drupal Tutorial #10: PHP Objects

In the tenth and final video tutorial of this series, I introduce you to PHP objects. Specifically, we look at what a class is in PHP, how we define a class, how we create class variables, what the...

View Article


Image may be NSFW.
Clik here to view.

PHP Object Oriented Programming #1 - Classes Objects Methods Properties and...

In the first video tutorial on PHP Object Oriented Programming, I introduce you to classes, objects, methods, properties and constructors. This is a basic introduction to OOP for PHP which Drupal 8...

View Article

Image may be NSFW.
Clik here to view.

PHP Object Oriented Programming Tutorial 2 - Constructors, Parameter Scope &...

In the second video tutorial on Object Oriented PHP Programming, I begin by showing you an alternative to the magic __construct method. From there, we take a look at public and private parameter scopes...

View Article

Image may be NSFW.
Clik here to view.

PHP Object Oriented Programming #3 - Inheritance and the Protected Scope

In the third video tutorial of this ten part series on Object Oriented PHP Programming, I show you how we can inherit functionality from a parent class by extending that class. In doing so, we create a...

View Article

Image may be NSFW.
Clik here to view.

PHP Object Oriented Programming #4:Abstract Classes and Exceptions

In the 4 video tutorial on Object Oriented PHP Programming, I explain the concept of abstract classes and show you how they can be used with the example of users. In doing so, we create an abstract...

View Article


Image may be NSFW.
Clik here to view.

PHP Object Oriented Programming #5: Interfaces

In tutorial 5 on Object Oriented PHP Programming, we look at interfaces. More specifically, we create a user interface with a public method greeting. We then create english and french users which are...

View Article
Browsing latest articles
Browse All 28 View Live




Latest Images