Complete e-shop in PHP (mastering MVC)

PHP E-shop

An on-line course that shows how to build an e-shop in PHP. Complete with an administration module and invoice system. All based on the MVC architecture.

Lessons

E-shop in PHP - Directory structure

Lesson 1 - E-shop in PHP - Directory structure

In this tutorial, we'll create the directory structure based on the PSR-4 standard. We'll use namespaces to create modules and modify the database.
Premium IIUnratedWritten by David Capka
E-shop in PHP - The concept of article controllers

Lesson 2 - E-shop in PHP - The concept of article controllers

In this tutorial, we'll prepare the .htaccess file and the autoloader, add code to the IctSocial vendor, and introduce the concept of article controllers.
Premium IIUnratedWritten by David Capka
E-shop in PHP - App folder and making the project runnable

Lesson 3 - E-shop in PHP - App folder and making the project runnable

In this tutorial, we'll implement the concept of article controllers and add code to all app subfolders, hence make the modified project runnable.
Premium IIUnratedWritten by David Capka
E-shop in PHP - Controller action design

Lesson 4 - E-shop in PHP - Controller action design

In this tutorial, we'll focus on the last couple of problems in our framework, which are controller actions, the lack of an API, and forms.
Premium IIUnratedWritten by David Capka
E-shop in PHP - Implementing actions and adding libraries

Lesson 5 - E-shop in PHP - Implementing actions and adding libraries

In this tutorial, we'll implement splitting controllers up into actions, create an API, and add several libraries including a form framework.
Premium IIUnratedWritten by David Capka
E-shop in PHP - Making the project runnable

Lesson 6 - E-shop in PHP - Making the project runnable

In this tutorial, we'll make the project runnable again after the structural changes. We'll split controllers up and generate forms using the framework.
Premium IIUnratedWritten by David Capka
E-shop in PHP - Configuring and enhancing the DB wrapper

Lesson 7 - E-shop in PHP - Configuring and enhancing the DB wrapper

In this tutorial, we'll create a global configuration file for our PHP framework and extend the database wrapper with several useful methods.
Premium IIUnratedWritten by David Capka
E-shop in PHP - Transactions, emails, frameworks

Lesson 8 - E-shop in PHP - Transactions, emails, frameworks

In this tutorial, we'll add transaction support to the database wrapper, start logging local emails. and add CSS and JavaScript frameworks.
Premium IIUnratedWritten by David Capka
E-shop in PHP - Helpers

Lesson 9 - E-shop in PHP - Helpers

In this tutorial, we'll introduce you to helpers and their role in the MVC architecture. We'll add helpers for basic formatting and pagination.
Premium IIUnratedWritten by David Capka
E-shop in PHP - Extending the CoreModule

Lesson 10 - E-shop in PHP - Extending the CoreModule

In this tutorial, we'll extend the CoreModule with message types, API error codes, and modify routing on the production server.
Premium IIUnratedWritten by David Capka
E-shop in PHP - Updating views

Lesson 11 - E-shop in PHP - Updating views

In this tutorial, we'll update framework views in order to work with changes in the controllers, port them to Bootstrap, and finish the framework.
Premium IIUnratedWritten by David Capka
E-shop in PHP - Product database

Lesson 12 - E-shop in PHP - Product database

In this tutorial, we'll start programming the EshopModule. We'll design database tables for storing products and their categories.
Premium no-resellingUnratedWritten by David Capka
E-shop in PHP - ProductManager

Lesson 13 - E-shop in PHP - ProductManager

In this tutorial, we'll implement models for products and their categories, which provide product management in the e-shop.
Premium no-resellingUnratedWritten by David Capka
E-shop in PHP - ProductController

Lesson 14 - E-shop in PHP - ProductController

In this tutorial, we'll make saving products functional by adding the controller and the view. We'll add the first product into our e-shop.
Premium no-resellingUnratedWritten by David Capka
E-shop in PHP - Product images

Lesson 15 - E-shop in PHP - Product images

In this tutorial, we'll implement product image uploading, moving, and removing. We'll continue working on our complete e-shop in PHP.
Premium no-resellingUnratedWritten by David Capka
E-shop in PHP - Finishing the product administration

Lesson 16 - E-shop in PHP - Finishing the product administration

In this tutorial, we'll implement uploading product images as well as moving and removing them. We'll continue developing the complete e-shop in PHP.
Premium no-resellingUnratedWritten by David Capka
E-shop in PHP - Designing the person database

Lesson 17 - E-shop in PHP - Designing the person database

In this tutorial, we'll design the database structure that stores people. The main goal is to keep historical data without creating redundant entries.
Premium no-resellingUnratedWritten by David Capka
E-shop in PHP - Accounting settings

Lesson 18 - E-shop in PHP - Accounting settings

In this tutorial, we'll explain the purpose of storing accounting settings in business applications. We'll design the table and logic for it.
Premium no-resellingUnratedWritten by David Capka
E-shop in PHP - Finishing the accounting settings

Lesson 19 - E-shop in PHP - Finishing the accounting settings

In this tutorial, we'll finish the accounting settings administration of the business application by adding the controller, view, and a test person.
Premium no-resellingUnratedWritten by David Capka
E-shop in PHP - Product detail logic

Lesson 20 - E-shop in PHP - Product detail logic

In this tutorial, we'll implement the logic needed to add product details and user product reviews. We'll continue programming our complete e-shop in PHP.
Premium no-resellingUnratedWritten by David Capka
E-shop in PHP - ProductHelper and JavaScript

Lesson 21 - E-shop in PHP - ProductHelper and JavaScript

In this tutorial, we'll add the ProductHelper to our e-shop, prepare the styles, add a license for a bootstrap template, and JavaScript for star rating.
Premium no-resellingUnratedWritten by David Capka
E-shop in PHP - Product detail template

Lesson 22 - E-shop in PHP - Product detail template

In this tutorial, we'll add the product detail template, review the index and the review submission form. We'll finish the detail() action.
Premium no-resellingUnratedWritten by David Capka
E-shop in PHP - Tree navigation menu

Lesson 23 - E-shop in PHP - Tree navigation menu

In this tutorial, we'll add a tree navigation menu with product categories to our e-shop. We'll make it interactive using JavaScript.
Premium no-resellingUnratedWritten by David Capka
E-shop in PHP - Products filtering

Lesson 24 - E-shop in PHP - Products filtering

In this tutorial, we'll implement the product filtering logic into the model. We'll filter by phrase, price range, category, availability and other params.
Premium no-resellingUnratedWritten by David Capka
E-shop in PHP - Finishing product index

Lesson 25 - E-shop in PHP - Finishing product index

In this tutorial, we'll finish product listing by adding the view and the index() action into the controller. This is the last lesson on products.
Premium no-resellingUnratedWritten by David Capka
E-shop in PHP - Test data

Lesson 26 - E-shop in PHP - Test data

In this tutorial, we'll generate 100 test flowerpots, glasses, and curtains. Then, we'll put them into the appropriate categories.
Premium no-resellingUnratedWritten by David Capka
E-shop in PHP - Shopping cart

Lesson 27 - E-shop in PHP - Shopping cart

In this tutorial, we'll discuss the different approaches of implementing shopping carts in e-shops, choose the best one, and create a table for orders.
Premium no-resellingUnratedWritten by David Capka
E-shop in PHP - OrderManager

Lesson 28 - E-shop in PHP - OrderManager

In this tutorial, we'll prepare the order manager, which will be able to create a cart, add products into the cart, and retrieve an order summary.
Premium no-resellingUnratedWritten by David Capka
E-shop in PHP - Adding products into the cart

Lesson 29 - E-shop in PHP - Adding products into the cart

In this tutorial, we'll integrate the cart into our e-shop and add goods into it. We'll also make the stock management functional.
Premium no-resellingUnratedWritten by David Capka
E-shop in PHP - Cart administration

Lesson 30 - E-shop in PHP - Cart administration

In this tutorial, we'll prepare the models and the helper used for shopping cart management. We'll prepare a widget with icons to display the order state.
Premium no-resellingUnratedWritten by David Capka
E-shop in PHP - Finishing cart administration

Lesson 31 - E-shop in PHP - Finishing cart administration

In this tutorial, we'll finish up the user shopping cart administration and modify our e-shop to use emails rather than usernames.
Premium no-resellingUnratedWritten by David Capka
E-shop in PHP - PersonManager

Lesson 32 - E-shop in PHP - PersonManager

In this tutorial, we'll prepare the database to determine a bank's name based on its code. We'll also start working on the PersonManager.
Premium no-resellingUnratedWritten by David Capka
E-shop in PHP - Finishing the PersonManager

Lesson 33 - E-shop in PHP - Finishing the PersonManager

In this lesson, we'll add person saving to the PersonManager while keeping the person's historical data attached to existing orders, and finish the model.
Premium no-resellingUnratedWritten by David Capka
E-shop in PHP - PersonController

Lesson 34 - E-shop in PHP - PersonController

In this tutorial, we'll prepare the models used for registering customers into our e-shop while making the order and also independently in the order.
Premium no-resellingUnratedWritten by David Capka
E-shop in PHP - Finishing person registration

Lesson 35 - E-shop in PHP - Finishing person registration

In this tutorial, we'll make the various types of registration (in order and order-independent) functional and implement customer profile administration.
Premium no-resellingUnratedWritten by David Capka
E-shop in PHP - Models for completing the order

Lesson 36 - E-shop in PHP - Models for completing the order

In this tutorial, we'll prepare the models needed to complete an order, i.e. choosing the payment method and order summaries.
Premium no-resellingUnratedWritten by David Capka
E-shop in PHP - Completing the order

Lesson 37 - E-shop in PHP - Completing the order

In this tutorial, we'll add the views needed to complete orders. We'll also get to actually shop in our e-shop for the first time.
Premium no-resellingUnratedWritten by David Capka
E-shop in PHP - Tree menu editor

Lesson 38 - E-shop in PHP - Tree menu editor

In this tutorial, we'll integrate the JavaScript tree menu editor, which will allow the administrator to manage product categories.
Premium no-resellingUnratedWritten by David Capka
E-shop in PHP - Order index

Lesson 39 - E-shop in PHP - Order index

In this tutorial, we'll start working on order administration. We'll prepare the models and the controller used for listing orders and their state.
Premium no-resellingUnratedWritten by David Capka
E-shop in PHP - The template and the script for order index

Lesson 40 - E-shop in PHP - The template and the script for order index

In this tutorial, we'll introduce the view and JavaScript for AJAX order state management in the e-shop.
Premium no-resellingUnratedWritten by David Capka
E-shop in PHP - Controller for generating PDF invoices

Lesson 41 - E-shop in PHP - Controller for generating PDF invoices

In this tutorial, we'll prepare the controller used to generate PDF invoices using a third-party library and output buffering.
Premium no-resellingUnratedWritten by David Capka
E-shop in PHP - PDF invoice template

Lesson 42 - E-shop in PHP - PDF invoice template

In this tutorial, we'll introduce the universal PDF invoice template and its CSS. We'll invoice our first order.
Premium no-resellingUnratedWritten by David Capka
E-shop in PHP - Editing orders

Lesson 43 - E-shop in PHP - Editing orders

In this tutorial, we'll design the order management part for e-shop administrators and prepare the controller for it as well.
Premium no-resellingUnratedWritten by David Capka
E-shop in PHP - Template for editing orders

Lesson 44 - E-shop in PHP - Template for editing orders

In this tutorial, we'll prepare the template used for order administration and go over its AJAX part in detail.
Premium no-resellingUnratedWritten by David Capka
E-shop in PHP - Customer editing dialog

Lesson 45 - E-shop in PHP - Customer editing dialog

In this tutorial, we'll implement changing customer details using a jQuery UI dialog. We'll go over controllong forms in a frame using JavaScript.
Premium no-resellingUnratedWritten by David Capka
E-shop in PHP - AJAX orders editing and finishing the shop

Lesson 46 - E-shop in PHP - AJAX orders editing and finishing the shop

Here, in the last tutorial of the course, we'll implement an AJAX API that manages an order's products. With this, we'll finish our complete e-shop in PHP.
Premium no-resellingUnratedWritten by David Capka


 

Activities (3)