Skip to main content

Command Palette

Search for a command to run...

[01] - 01 - Architecture & Tech Stack βš™οΈπŸ–₯️

Updated
β€’1 min readβ€’View as Markdown

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.

More from this blog

W

Web Dev Projects

16 posts

A Hashnode blog sharing insights, code walkthroughs, and best practices from personal web development projects to help fellow developers learn and build.