[01] - 01 - Architecture & Tech Stack โš™๏ธ๐Ÿ–ฅ๏ธ

What is Architecture? ๐Ÿ—๏ธ

Think of architecture as the blueprint or plan of a building โ€” it shows how everything fits together and works. In a web app, architecture is the way different parts of the app are organized and how they communicate with each other to make the whole thing work smoothly.

What is Tech Stack? ๐Ÿ› ๏ธ

A tech stack is just the set of tools and technologies used to build a project, like the ingredients in a recipe.

MVC (Model-View-Controller) Architecture ๐Ÿ—๏ธ

To keep the project clean and maintainable, I used the MVC design pattern:

  • Model ๐Ÿ“ฆ: Handles all data fetching and management. It talks to the AlQuran Cloud API to get Quranic text and Surah details.

  • View ๐Ÿ‘€: Responsible for rendering everything you see โ€” the Quran pages, Surah info, navigation buttons, and handling user inputs.

  • Controller ๐ŸŽ›๏ธ: The middleman that connects Model and View. It manages user actions, fetches data from the Model, and updates the View accordingly.

This separation makes the code modular, easier to debug, and ready for future improvements.

Tech Stack ๐Ÿ› ๏ธ

  • HTML5 ๐Ÿ“„: Structuring the web pages with semantic, accessible markup.

  • CSS3 ๐ŸŽจ: Styling the app with responsive design and beautiful Arabic fonts to showcase the Uthmani script elegantly.

  • JavaScript (Vanilla) ๐Ÿ’ป: Powers the app logic โ€” API calls, dynamic content updates, and user interaction without any heavy frameworks.

  • AlQuran Cloud API ๐ŸŒ: Provides authentic Quranic text and metadata dynamically.

  • Hosting ๐Ÿš€: Deployed on Netlify for fast, reliable access worldwide.

This stack strikes a perfect balance โ€” lightweight, efficient, and easy to maintain.

0
Subscribe to my newsletter

Read articles from Mohammad Saad Ansari directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Mohammad Saad Ansari
Mohammad Saad Ansari