This, over 14.5 hours long series takes you through the journey of developing your very own E-commerce web application with Object Oriented PHP, MySQL, jQuery and PayPal.
During this series we will learn how to use Object Oriented PHP and how to create Classes and Methods, which will allow us to process the functionality of the entire project.
The outcome of this easy to follow series is the fully functional E-commerce website ready to sell products and accept payments with PayPal. Get in touch if you have any questions.
Available add-ons:
Building Framework
Database class
-
3Building page structure
In this video we will learn how to buid a page structure for our template.
-
4Autoloader
In this video we will create the autoload function.
-
5Configuration file
In this video we will create our configuration file.
-
6Configuration file (continue)
Continuation from the previous video on creating the configuration file.
-
7Include path
Adding paths to the include path
-
8Class and method
In this video we explore the Object Oriented approach in PHP by learning what Classes and methods are.
-
9Properties scope
This video explains the scope of the class properties
-
10Run method
In this video we create the run() method of our Core class
-
11Url class
In this video we sart creating the Url class
-
12Getting the right page
In this video we will learn how to populate the right page from within our folder.
-
13Url parameters
In this video we cover the url parameters
Object Oriented Programming
-
14New class definition
In this video we define the new class, which will handle all our database interactions
-
15MySQL connect
In this video we will create a new method, which will establish the connection to the mysql database.
-
16Escape method
Create the method to sanitise the data passed onto the sql query
-
17MySQL query
Create MySQL Query method
-
18Fetch records
Method to allow us fetch records from the database
Catalogue
Pagination
-
21Business class
In this video we will create a new Business class
-
22Business details
In this video we will learn how to populate business details
-
23List of categories
Dislay list of categories
-
24Active link
Create active link
-
25Catalogue page
In this video we will create the catalogue page
-
26Category pages
Learn how to create the category pages
-
27Product image
In this video we will take care of the product image
-
28Product image (continue)
Continue from the previous video about product image
-
29Product details
Product details page
-
30Shortening description
A method to shorten the long description
-
31Image unavailable
Image unavailable placeholder
-
32Active button
Create active button
Small basket
-
33Paging class
New pagination class definition
-
34Current page
Identifying the current page
-
35Total number of pages
Calculating total number of pages
-
36Get records
In this video we will get the right records for the specific page
-
37Paging links
In this video we will start creating the paging links
-
38Paging links (continue)
Continuing from the previous video by creating list of links / buttons
-
39Get paging
Get the pagination element with get paging method
Main basket
-
40Small basket plugin
In this video we will start creating a small basket plugin file
-
41Adding jQuery
In this video we will use jquery to add functionality to our small basket
-
42Add to basket
In this video we will look at the 'Add to basket' button
-
43Ajax call
In this video we will learn how to perform an Ajax call using jQuery in order to add new item to the basket without reloading the page
-
44Get product
In this video we will populate the relevant record from within the file called by the ajax call
-
45Session class
In this video we will create a new class called Session, which will allow us to deal with Session Variables
-
46Update small basket
We are now going to have a look at the way of updating the small basket content
-
47Refresh small basket
In this video we will learn how to refresh the content of the small basket using ajax
-
48Refresh small basket (continue)
We continue from the previous video
-
49Expanding Basket class
In this video we will be expanding the Basket class
-
50VAT/Tax rate, number of items and sub-total
In this video we will have a look at the tax rate / vat, number of items and sub-total of the small basket
-
51VAT/Tax amount and total
In this video we will display the values associated with tax / vat and total in the small basket
-
52Number format
We are now going to have a look at the way we can format the number
Checkout
-
53Product page
In this video we will start applying changes to the product page
-
54Product page (continue)
This video is the continuation of the previous one
-
55Basket page
In this video we will have a first look at the main basket page
-
56Basket layout
In this video we will create a basket layout
-
57Getting content of the basket
We are now going to populate the content of the basket
-
58Displaying content of the basket
In this video we will have a look at how we can display content of the basket on our main basket page
-
59Item total and remove item methods
In this video we will create the item total and remove item methods for our main basket
-
60Sub-total and VAT/Tax amounts
Displaying sub-total and tax/vat amounts in the main basket
-
61Update quantity
Update quantity of the basket items
-
62Refresh main basket
In this video we will learn how to refresh the main basket once the quantities have been amended
-
63Refresh main basket (continue)
Continuing from the previous video
-
64Generate new basket content
In this video we will learn how to generate the new content for the basket
-
65Remove item from the basket
In this video we will continue with the removal of the individual item from the basket
Validation
-
66Client details form
In this video we will create the client form to capture their full address and other, necessary details for the order
-
67Form and Country class
In this video we will create the new Country class, which will allow us to populate the list of countries and display them as a dropdown menu of our client form
-
68Process $_POST
We are now going to process the form input
-
69Sticky text field
In this video we will learn how to create the sticky form fields
Login
-
70Validation class
We are now going to create a new class called Validation
-
71Process method
The new method of the Validation class called process()
-
72Check method
The check() method of the Validation class
-
73Check special method
The check special form element method of the Validation class
-
74isValid method
The isValid method will validate all submitted values by filtering each by its type
-
75Format and validate method
In this video we will create two new methods of the Validation class called format() and validate().
-
76Hash function
In this video we will create the function to hash the input
-
77Form validation
Apply form validation
Registration
-
78Login class
New class definition
-
79Redirect method
In this video we will create the redirect method
-
80Login form
We are now going to create a login form
-
81Registration form
In this video we will create the registration form structure
-
82Countries menu
Adding countries menu to the registration form
-
83User class
We are now going to create a User class
-
84Login user
Login user method
-
85Referrer url
Check for referrer url and if exists - redirect to that page