Learning Intentions
- Understand the core concepts and applications of web programming, including interactive websites and their key features.
- Comprehend Progressive Web Apps (PWAs), their benefits, and technical components.
- Recognize the basic principles and importance of e-commerce websites in modern digital business.
Syllabus Outcome
SE-12-03: analyses how current hardware, software and emerging technologies influence the development of software engineering solutions
Lesson Activity
Self-Marking Quiz
Introduction to Web Programming Applications
Web programming is fundamental to various online services, from simple blogs to complex e-commerce platforms and progressive web apps (PWAs). Understanding these applications is essential for anyone interested in developing web-based software solutions, as they represent the core of what makes the web an interactive and functional space for both users and businesses.
Web programming is creating dynamic and interactive websites that users can access through web browsers. Unlike static websites, which display the same content for all users, web programming allows developers to create websites that respond to user interactions and adapt to their inputs. This adaptability is crucial in modern digital environments where user experience (UX) and user engagement are paramount.
Interactive Websites
In today’s world, the internet is more than just a place to find information—it’s a space where people connect, share, and interact in real time. Websites are no longer just static pages filled with text and images; they’ve evolved into interactive platforms where users can do things like fill out forms, watch videos, chat with customer support, and even play games. This shift from static to interactive websites has changed how we experience the web, making it more engaging and fun.
Interactive websites do more than just display information. They respond to what you do—whether you’re clicking a button, typing in a search bar, or scrolling through a page. This makes the experience more personal and enjoyable because the website feels like it’s working just for you.
In a world where so many websites are competing for attention, creating an interactive site can really make a difference. It helps keep visitors interested, makes the site easier to use, and can even encourage people to come back again and again.
Using an interactive element, let’s discover more about Interactive Websites:
-
Key Features
-
Technologies
-
Best Practices
- User Engagement: Interactive websites allow users to engage with content rather than passively consume it. Features such as forms, quizzes, games, and multimedia elements encourage user interaction, making the website more engaging and memorable.
- Dynamic Content: These websites can change content in real time based on user actions. For example, personalised recommendations on e-commerce sites or customised dashboards in web applications are all powered by the interactive capabilities of the website.
- Responsive Design: A key aspect of interactive websites is their responsiveness. They must be accessible and functional across various devices and screen sizes. Responsive design ensures that users have a consistent experience, whether they are on a desktop, tablet, or smartphone.
- Real-Time Communication: Many interactive websites offer real-time communication features, such as chatbots, messaging services, and live customer support. These features help in providing instant responses to user queries, enhancing the overall user experience.
- Multimedia Integration: Interactive websites often incorporate various forms of multimedia, such as videos, animations, and audio clips. This not only enriches the user experience but also helps in conveying information more effectively.
- Forms and Data Collection: Forms are an essential feature of interactive websites, allowing for data collection from users. This data can be used to personalise the user experience, for instance, by tailoring content or products to the user’s preferences.
- Accessibility: Ensuring that a website is accessible to all users, including those with disabilities, is a critical consideration. This includes the use of assistive technologies, like screen readers, and designing interfaces that are navigable by all users, regardless of their physical abilities.
- JavaScript: The backbone of interactivity on the web, JavaScript allows for the creation of dynamic content, interactive forms, animations, and more.
- AJAX: Asynchronous JavaScript and XML (AJAX) enables web pages to be updated asynchronously by exchanging small amounts of data with the server behind the scenes.
- APIs: Application Programming Interfaces (APIs) enable websites to communicate with other systems, allowing for real-time data integration and enhanced functionality.
- HTML5 and CSS3: The latest versions of HTML and CSS provide advanced features for building rich, interactive web pages with sophisticated layouts, animations, and multimedia content.
- User-Centred Design: Focus on creating a seamless user experience by considering the needs and behaviours of your target audience.
- Performance Optimisation: Ensure that your website is optimised for speed, as slow-loading pages can lead to high bounce rates and poor user experience.
- Security: Implement robust security measures to protect user data, especially when handling sensitive information through interactive forms and APIs.
- Testing: Thoroughly test your website across different browsers, devices, and user scenarios to ensure that it functions correctly and delivers a consistent experience.
Other examples of interactive features found on websites:
Progressive Web Apps

PWA’s will be covered in more detail later in the subject. Below is to give you a brief introduction and also know at the end of this subject you will develop your own progressive web app.
Progressive Web Apps (PWAs) are a hybrid between traditional web pages and mobile applications. Built using standard web technologies like HTML, CSS, and JavaScript, PWAs function similarly to native apps but are accessible through web browsers. They are designed to provide a seamless user experience, regardless of the platform or device being used.
Key Benefits:
- Offline Accessibility: PWAs are equipped to work offline or on unreliable networks. This is achieved through the use of service workers, which manage caching and background processes, allowing the app to function even without an internet connection.
- Responsive Design: PWAs are built to be fully responsive, meaning they adjust their layout and functionality to fit any screen size. This ensures that users have a consistent experience whether they are using a desktop, tablet, or mobile device.
- App-like Experience: PWAs offer an experience that closely resembles that of native apps. This includes features like push notifications and the ability to install the app on a user’s home screen without needing to visit an app store. PWAs can also integrate with the operating system to provide additional functionality, such as file handling and data sharing between apps.
Technical Components:
- Service Workers: These are scripts that operate in the background, enabling the PWA to handle tasks like offline functionality and background synchronization. Service workers are essential for ensuring that the app remains responsive and functional even when the network is down.
- Manifest File: The manifest file is a JSON file that provides metadata about the app, such as its name, icons, and theme colours. This file is crucial for the app’s appearance and behaviour when installed on a device.
- Progressive Enhancement: This design approach ensures that the core functionality of the PWA works across all browsers and devices, while additional features are layered on for those with more advanced capabilities. For example, a basic form might work without JavaScript, but it can be enhanced with client-side validation on compatible devices.
Best Practices:
- Cross-browser Compatibility: It’s important to test your PWA across different browsers to ensure it functions well everywhere. This includes older browsers that may not support the latest features.
- Accessibility: Accessibility is crucial to make sure that your PWA can be used by everyone, including people with disabilities. Using semantic HTML elements and ensuring your app supports various input methods (e.g., touch, keyboard, mouse) are key practices.
- Performance: PWAs are expected to be fast and responsive. Performance can be enhanced by minimising load times, optimising code, and ensuring that the app remains functional even under poor network conditions.
Examples:

PWAmp
PWAmp is a desktop music player that plays local and remote audio files.

Wami
Wami can apply a sequence of image manipulation steps such as cropping, resizing, rotating, or adding effects on batch of images.
E-commerce
E-commerce, or electronic commerce, extends beyond merely buying and selling goods and services online; it encompasses the transfer of funds and data over the internet, relying on technological platforms such as websites, mobile applications and social media to facilitate these transactions, thereby transforming traditional commerce into a dynamic digital marketplace accessible to anyone with an internet connection.
Furthermore, understanding e-commerce is of paramount importance for future software engineers, as they will be responsible for designing and maintaining the technological infrastructure that powers these digital marketplaces, including secure payment systems, user-friendly interfaces, and the seamless integration of various online platforms. Since e-commerce platforms often rely heavily on content management systems (CMS) to handle and organise vast amounts of data and digital content, gaining expertise in content management systems (which we will explore in a future lesson) is essential for developing efficient, scalable and dynamic e-commerce solutions that meet the demands of today’s global market.
Source: What Is E-Commerce? Definition, Types & Getting Started – Forbes Advisor Australia
Lesson Activity – Quiz

Learning about ‘Interactive Websites’ in this lesson, we can engage with a self-marking interactive quiz.
Results
HD Quiz powered by harmonic design