How iitzirfan/irfan-shaikh_portfolio works
Project type and purpose
• This is a purely static, front-end portfolio website.
• It consists of one entry point (index.html), style sheets, JavaScript behavior, and image assets.
• There is no back-end API or database—only static asset hosting.
File structure
• Top level
• index.html – the single-page entry point
• .gitattributes – Git config for line endings, etc.
• assets/
• css/style.css – presentation layer
• js/script.js – behavior/interactivity layer
README
• No additional architecture notes or runtime requirements—static files only.
Main components
a. Client layer (User’s browser)
b. Hosting layer (e.g., GitHub Pages, Netlify, Apache/Nginx)
c. CDN (optional) for caching/serving static assets
d. Asset storage
• index.html
• style.css
• script.js
• image files
Relationships and data flow
• User → HTTP GET → Hosting/CDN → index.html
• index.html → CSS and JS assets requested (separate GETs)
• Browser loads style.css and applies styles
• Browser loads script.js and executes interactivity
• Browser requests images as referenced by HTML/CSS
• All assets served from the same static host or via CDN
Architectural patterns and design principles
• Single‐page, static hosting—no dynamic server code
• Clear separation of concerns:
• Structure (HTML)
• Presentation (CSS)
• Behavior (JS)
• Leverage CDNs or edge caches for performance and global distribution