Project

Benj Pharmacy

Developed a full-stack e-commerce platform using PHP, MySQL, and Bootstrap to provide a seamless online shopping experience. This project served as my introduction to database management and server-side logic, featuring comprehensive user management, product browsing, and secure order processing. The system includes a modular Admin Dashboard for streamlined control over inventory, categories, and customer orders.

April 2026

About

This project is an e-commerce website designed to provide a user-friendly online shopping platform with an administrative backend. Built with PHP and MySQL, it features product listings, user registration, order management, and dynamic content rendering. The codebase emphasizes modularity, with separate components for frontend presentation and backend logic.

Purpose

The system addresses the need for small to medium businesses to establish an online presence with minimal development overhead. Key features include:

  • Product catalog with featured and exclusive deals
  • User registration and login
  • Order placement and tracking
  • Administrative dashboard for managing products, categories, and orders
  • Responsive design for mobile and desktop access

Technical Deep Dive

A notable architectural choice is the separation of concerns between the frontend and backend, with PHP scripts handling server-side logic and MySQL managing data persistence. The admin dashboard leverages includes for reusable components like headers, footers, and navigation, promoting maintainability. Additionally, the use of external libraries such as DataTables and Summernote enhances the admin interface's interactivity and content editing capabilities. The database connection is centralized in dbh.inc.php, ensuring consistent access across modules, while the routing is primarily file-based, simplifying deployment.

Lessons Learned

One challenge encountered was managing the complexity of product image uploads and ensuring consistent display across the site. Handling file uploads securely and efficiently required careful validation and storage strategies. This experience underscored the importance of robust file handling and the benefits of modular code organization for scalability and ease of maintenance.