Web Development
0/2 sections
0%

Progressive Web Apps

Progressive Web Apps (PWAs) combine the reach of the web with the capabilities of native apps offline support, push notifications, home screen installation, and near-native performance.

1Core PWA Technologies

Three pillars of a PWA: 1. Service Worker proxy between browser and network, enables offline + caching 2. Web App Manifest defines how the app appears when installed 3. HTTPS required for service workers and security

json
// public/manifest.json
{
  "name": "My App",
  "short_name": "MyApp",
  "description": "An awesome PWA",
  "start_url": "/",
  "display": "standalone",
  "background_color": "#ffffff",
  "theme_color": "#6200ee",
  "icons": [
    { "src": "/icon-192.png", "sizes": "192x192", "type": "image/png" },
    { "src": "/icon-512.png", "sizes": "512x512", "type": "image/png" }
  ]
}
html
<!-- Link manifest in <head> -->
<link rel="manifest" href="/manifest.json" />
<meta name="theme-color" content="#6200ee" />
<meta name="apple-mobile-web-app-capable" content="yes" />

2Service Worker & Caching

javascript
// service-worker.js
const CACHE = 'app-v1';
const PRECACHE = ['/', '/app.js', '/styles.css', '/offline.html'];

// Install precache critical assets self.addEventListener('install', event => { event.waitUntil( caches.open(CACHE).then(cache => cache.addAll(PRECACHE)) ); self.skipWaiting(); });

// Activate clean old caches self.addEventListener('activate', event => { event.waitUntil( caches.keys().then(keys => Promise.all(keys.filter(k => k !== CACHE).map(k => caches.delete(k))) ) ); self.clients.claim(); });

// Fetch stale-while-revalidate strategy self.addEventListener('fetch', event => { if (!event.request.url.startsWith('http')) return; event.respondWith( caches.match(event.request).then(cached => { const networkFetch = fetch(event.request).then(res => { caches.open(CACHE).then(cache => cache.put(event.request, res.clone())); return res; }); return cached || networkFetch; }) ); });

// Register service worker if ('serviceWorker' in navigator) { navigator.serviceWorker.register('/service-worker.js'); } ```

Explore the Full Portfolio

This is the complete portfolio of Sufi Khan Sulaiman, a technology leader specialising in B2B commerce and digital automation. Start from the Home page for the overview, then move through two decades of career experience across FLIR Systems, Lorex Technology, and 1c Platform, and the full catalogue of project case studies spanning headless commerce migrations, AI recommendation engines, and multi-channel fulfilment systems.

The skills and certifications page maps the technical and leadership capabilities behind the work, while the articles and the knowledge base break down the thinking into actionable frameworks. For hands-on learning, the tutorials and applications sections cover practical builds from front-end fundamentals to full-stack web apps.

For consulting engagement, the expertise page outlines service offerings, the ecommerce hub covers platform architecture and automation strategy, and the ecommerce guide (PDF) is a downloadable 55-page field manual. When you are ready to talk, the contact page is the direct line.