James Williams
Birmingham Newman University
jwilliams@staff.newman.ac.uk
3-hour session • 25 slides • 2 interactive tasks
Front-end: HTML, CSS, JavaScript, Bootstrap
Back-end: PHP, MySQL, Server Logic
Result: Complete web application
See Moodle for supporting materials.
Operating System: Linux (or Windows/macOS)
Web Server: Apache (or Nginx)
Database: MySQL
Programming Language: PHP
E-commerce Website Structure:
├── Front-end (User Interface)
│ ├── Product catalog pages
│ ├── Shopping cart interface
│ ├── User registration/login
│ ├── Checkout process
│ └── Order tracking
├── Back-end (Server Logic)
│ ├── User authentication
│ ├── Product management
│ ├── Order processing
│ ├── Payment handling
│ └── Admin panel
└── Database (Data Storage)
├── User accounts
├── Product information
├── Orders and transactions
└── System settings
Project Phases:
1. Planning & Design (Sessions 1-3)
2. Back-end Development (Sessions 4-8)
3. Front-end Integration (Sessions 9-11)
4. Testing & Deployment (Session 12)
E-commerce Database Tables:
users (id, username, email, password, created_at)
products (id, name, description, price, stock, category_id)
categories (id, name, description)
orders (id, user_id, total_amount, status, created_at)
order_items (id, order_id, product_id, quantity, price)
See Moodle for supporting materials.
Optimization Techniques:
- Use database indexes for faster queries
- Implement page caching
- Optimize images for web
- Minify CSS and JavaScript files
Deployment Platforms:
- Shared hosting (cPanel)
- VPS hosting (DigitalOcean, AWS)
- Cloud platforms (Heroku, Vercel)
- Dedicated servers
Time: 45 minutes
This task will help you set up your development environment and verify everything is working correctly
Take a break, ask questions, or catch up on the previous task.
Next: Secondary slides and Task 2
HTTP Request Example:
GET /products.php HTTP/1.1
Host: example.com
User-Agent: Mozilla/5.0...
Accessibility Example:
<img src="product.jpg" alt="Red running shoes">
<button aria-label="Add to cart">+</button>
Time: 45 minutes
This task will help you plan your e-commerce project and understand the development process
Bootstrap Framework Fundamentals - Building responsive user interfaces