Introduction
  • Introduction
  • Exercise Files
Building Framework
  • Building page structure
  • Autoloader
  • Configuration file
  • Configuration file (continue)
  • Include path
  • Class and method
  • Properties scope
  • Run method
  • Url class
  • Getting the right page
  • Url parameters
Database class
  • New class definition
  • MySQL connect
  • Escape method
  • MySQL query
  • Fetch records
Object Oriented Programming
  • Static vs Non-static
  • Modifying properties
Catalogue
  • Business class
  • Business details
  • List of categories
  • Active link
  • Catalogue page
  • Category pages
  • Product image
  • Product image (continue)
  • Product details
  • Shortening description
  • Image unavailable
  • Active button
Pagination
  • Paging class
  • Current page
  • Total number of pages
  • Get records
  • Paging links
  • Paging links (continue)
  • Get paging
Small basket
  • Small basket plugin
  • Adding jQuery
  • Add to basket
  • Ajax call
  • Get product
  • Session class
  • Update small basket
  • Refresh small basket
  • Refresh small basket (continue)
  • Expanding Basket class
  • VAT/Tax rate, number of items and sub-total
  • VAT/Tax amount and total
  • Number format
Main basket
  • Product page
  • Product page (continue)
  • Basket page
  • Basket layout
  • Getting content of the basket
  • Displaying content of the basket
  • Item total and remove item methods
  • Sub-total and VAT/Tax amounts
  • Update quantity
  • Refresh main basket
  • Refresh main basket (continue)
  • Generate new basket content
  • Remove item from the basket
Checkout
  • Client details form
  • Form and Country class
  • Process $_POST
  • Sticky text field
Validation
  • Validation class
  • Process method
  • Check method
  • Check special method
  • isValid method
  • Format and validate method
  • Hash function
  • Form validation
Login
  • Login class
  • Redirect method
  • Login form
  • Registration form
  • Countries menu
  • User class
  • Login user
  • Referrer url
Registration
  • Starting with registration form
  • Validation
  • Sticky form fields