Web

Bibliomobile

Bibliomobile is an online automobile library built as a school project: a multi-page website that showcases exceptional cars, each with its own detailed profile drawn from a database, and manageable from a secure admin area.

  • HTML
  • CSS
  • JavaScript
  • PHP
  • MySQL
Bibliomobile

Context

Bibliomobile was developed for the web development course at 3IL, based on a precise brief: build a multi-page website from a presentation page and pair it with an admin area to manage the content. The brief imposed a fixed technology stack (HTML, CSS, PHP, MySQL/PDO, AJAX, JSON, XML, JavaScript), banned the use of any framework, and required a responsive layout for smartphones. I chose the theme of legendary cars to turn it into a genuine automobile encyclopedia.

Approach

The site is built entirely without a framework, in HTML, CSS, JavaScript and object-oriented PHP, with a MySQL database queried through PDO (singleton pattern). The structure follows semantic markup (header, nav, section, footer) and a per-file functional split, for example the database connection isolated in its own class. Car pages are generated dynamically from the database using a URL parameter, and the navigation menu is built automatically by grouping models by brand. The home page features an image carousel fed by an XML file and updated on the client side. Interactions with the server, such as editing from the admin area, go through AJAX. A back office protected by a PHP session allows adding, editing and deleting cars and their images. The layout relies on Flexbox, with media queries and a burger menu for the mobile display. On the security side, queries are prepared (protection against SQL injection) and outputs are escaped (protection against XSS).

Results

A complete and functional site, compliant with the brief, from the responsive front end to the admin back office. The project demonstrates the ability to build a web application end to end without a framework: object-oriented PHP, database design, AJAX interactions, session handling, file upload, and code organized by responsibility rather than duplicated.