Projects

Entralized Web Ecosystem

Centralized Web Ecosystem

Overview

This project was designed to unify our company’s online platforms into a single, structured ecosystem. Each subdomain serves a specific purpose, ranging from content publishing to product booking, while being seamlessly integrated under one system.

Features

  • Headless CMS – Built with Laravel, enabling dynamic content creation for each subdomain.
  • Multi-language Support – Content is available in multiple languages to reach a broader audience.
  • Authentication – Secure access for managing platform data.
  • Analytics – Integrated tracking for user behavior and performance insights.
  • Dynamic Subdomain Handling – Each subdomain has tailored features while sharing the same backend infrastructure.
  • Server-Side Rendering (SSR) – Optimized content fetching and SEO performance via Next.js.

Tech Stack

  • Backend: Laravel (Headless CMS, API)
  • Frontend: Next.js (Handles integration for all subdomains)
  • Database: MariaDB
  • CI/CD: GitHub Actions for automated deployments

Challenges & Solutions

  • Dynamic Subdomain Management – Ensured compatibility with Next.js while keeping routing flexible.
  • Performance Optimization – Improved content fetching strategies for better SSR performance, which significantly enhanced SEO by allowing search engines to crawl and index dynamic content more effectively.

My Role

I handled the entire development process, from backend API design to frontend integration, deployment, and performance tuning.

Travel Event Management

Redefining Travel Event Management

The Challenge

Companies and individuals organizing travel events needed a flexible, structured, and user-friendly platform to plan and manage trips. The existing solutions were too rigid, failing to accommodate the level of customization required.

The Vision

A platform where users could build their own travel circuits, manage every detail from accommodations to activities, and handle pricing and availability dynamically—all while keeping the process smooth and intuitive.

MyMarrakechTours

Challenge:

I was tasked with refactoring a complex legacy web application built on a PHPBB templating engine, originally developed in 2001. The system was highly inefficient and plagued by numerous issues, including:

  • Code Redundancy: Each PHP file contained upwards of 1,000 lines of code, with heavy reliance on copy-pasted functions, violating the DRY (Don’t Repeat Yourself) principle.
  • Database Overload: The application made a minimum of 300 database requests per page load, with files repeatedly connecting to the database (over 120 times), causing severe performance degradation.
  • Nested Query Loops: Inefficient database queries, including nested loops, resulted in unnecessary load on the database.
  • Bug-Ridden Operations: Critical tasks like payment processing were susceptible to bugs, including currency mix-ups and other inconsistencies.
  • Excessive Ajax Calls: On certain user actions, Ajax calls triggered up to 500 concurrent database connections.

Solution:

Despite constraints from management, who wanted minimal intervention to prioritize other projects, I embarked on a comprehensive refactor to stabilize and optimize the system, focusing on what could be improved.