[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.
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
