Case study · Web Design · E-commerce

Video On Line Roberto

A home video and entertainment store selling thousands of products online. Behind the storefront is a complete system designed and written from scratch: catalogue, orders, stock, customer area and a custom management panel.

Video On Line Roberto website home page
12,500+
Products in the catalogue
16
Categories, from DVDs to video games
19
API endpoints written in PHP
180+
Published updates (commits)
The project

From an old website to an online store the owner can run alone.

The store already had a website, by now outdated. The goal was to rebuild it from scratch: modern, fast on phones too and, above all, updatable by the owner without touching the code, while staying on the Aruba hosting already in use.

  • A large catalogue that is easy to browse
  • Orders and availability always in sync
  • Day-to-day management with no technical skills
  • Customer data kept safe
For customers

What shoppers see.

A clear, fast store, designed both for people looking for a specific title and for those who just want to browse.

01

Catalogue by category and format

16 categories, from DVDs and 4K Blu-rays to vinyl, video games and electronics: filters, search, sorting and three ways to view the grid.

02

Automatic new and upcoming releases

DVD and Blu-ray releases arrive every day from TMDB, with the Italian physical-media date or an estimate based on the cinema release.

03

Cart and orders

Quantities, real-time availability and order summary; prices and stock are always recalculated by the server.

04

Payments

PayPal with amount and order code already filled in, Satispay with a QR code, and bank transfer.

05

Customer area

Sign-up with email confirmation, personal profile with photo and purchase history.

06

Wishlist and "Notify me"

Customers save the titles they like and ask to be notified when a sold-out product is back in stock.

Behind the scenes

The management panel, built to measure.

The part customers never see, but that keeps the store running every day. Everything is managed from the browser, with no software to install.

01

Adding products

Product sheet with category, format, condition, quantity, price, plot and cover, with images uploaded to the server.

02

Barcode scanner

Scan the barcode and the product details fill themselves in (UPCitemdb). If the title is already in the catalogue, one click on "+1 copy" is enough.

03

Order management

Order list with status changes: copies are taken from stock when the order is placed and become available again if the order is cancelled.

04

"Notify me" requests

Customer requests for sold-out products, collected on a dedicated page.

05

Multiple administrators

Separate administrator accounts, created and managed from a restricted page.

06

Statistics

Visit counter visible only to administrators (their own visits are not counted).

Architecture

How it is built, layer by layer.

A simple, robust structure, chosen to run on ordinary shared hosting with no dedicated server costs.

  1. 01

    Frontend

    Hand-written HTML, CSS and JavaScript pages, no frameworks: light to load and responsive on phone, tablet and desktop.

  2. 02

    PHP backend

    A PHP API with 19 endpoints for login, sign-up, catalogue, orders and management: the server is the single source of truth for prices, stock and permissions.

  3. 03

    Data

    SQLite database for customers, orders and requests; the catalogue is a data file written safely, with a lock that prevents simultaneous changes.

  4. 04

    External services

    TMDB for releases, UPCitemdb for barcodes, PayPal and Satispay for payments, the domain mailbox for confirmations. Aruba hosting (Windows/IIS).

~/videonlineroberto.com
$ ls api/
add_copy.phpadd_product.phpadmins.phpbarcode_lookup.phpdelete_product.phplogin.phplogout.phpnotify.phpnotify_admin.phporders_admin.phpproducts.phpregister.phpresend_verification.phpsession.phpsubmit_order.phpupdate_product.phpupdate_profile.phpverify_email.phpvisits.php
● 19 endpoints online

$ 
Security

Security designed in from day one.

An online store holds personal data and orders: every part of the backend is written to protect them.

  • Passwords stored only as hashes, never in plain text
  • Rapid-fire login attempts blocked, per address and per account
  • Email confirmation with an expiring link and hashed token
  • Responses that never reveal which emails are registered
  • Prices and availability recalculated by the server: the total sent by the browser does not count
  • Database, sessions and full catalogue cannot be downloaded from the browser
  • Mailbox password kept out of the code repository
Technologies

The tools used

Solid, widely used technologies, chosen to last and to be easy to maintain.

  • HTML5
  • CSS3
  • JavaScript
  • PHP
  • SQLite
  • IIS · Aruba
  • TMDB API
  • UPCitemdb
  • PayPal
  • Satispay
  • SMTP
  • Git · GitHub

Have a similar project in mind?

Tell me what you need: from a showcase website to an online store with a custom management system, let's talk it through.

Request a quote