- Implement front-end and back-end code in at least two languages from the specification
- Write code a third party could maintain
- Give a good user experience and robust error handling
- Apply standards, legal guidelines and security controls
What the task asks for
You build a functional prototype of the solution you designed in Task 1. The specification requires you to select and use at least two appropriate languages from this list to implement front-end and back-end parts: Python 3 (3.10 or later), C#, SQL, JavaScript, PHP.
How it is marked (DSD grid, 30 marks)
| Strand | What the top band looks like |
|---|---|
| Functionality | Highly efficient, working code in at least two languages; any errors are minimal; precise logic gives consistently correct outcomes |
| Code organisation | Easily maintainable by a third party: consistent naming, logical organisation, informative comments |
| User experience | Consistently effective input handling, user guidance, error messages and outputs; fully robust against common and unexpected errors |
| Legal and regulatory guidelines and standards | Effective use of standards for accessibility, compatibility and legal/ethical issues; security controls that protect confidentiality, integrity and availability |
Choosing languages
The specification lists criteria for choosing languages: suitability to the task, organisational policy, scalability, security, availability of trained staff, cost and reliability. Common pairings:
- JavaScript for the front end with PHP or Python for the back end, and SQL for the database.
- C# for an application with SQL for its data.
Justify your choice in your documentation.
Building it well
Functionality
- Implement the key requirements from your proposal first, then extras.
- Connect code to a data source, such as a database, to store, extract, update and delete data.
- Keep logic precise: test calculations and decisions as you go.
Code organisation
Follow common coding conventions from the specification:
- naming conventions, used consistently and matching your data dictionary
- comments/annotations that explain why, not just what
- modularisation: separate functions, files or classes for each job
- structure and indentation
- version control, so you can track and roll back changes.
User experience
Apply UX principles: consistency, clear information and visual hierarchy, confirmation of actions, user control and accessibility. Give users clear instructions, meaningful error messages and readable output.
Robustness
Validate every input on the server side as well as the client side, handle missing data and failed connections, and never let the program crash in front of the user.
Security, standards and legal requirements
- Protect confidentiality: control user access, hash passwords, encrypt sensitive data.
- Protect integrity: validate input and use prepared statements so SQL injection cannot change data.
- Protect availability: handle errors so the service keeps running.
- Follow WCAG for accessibility and W3C standards for web code; test compatibility across browsers and devices.
- Consider data protection, intellectual property and licences for any assets you use, and any rules specific to the client's industry.
Using content made by others
If you use images, icons, fonts, libraries or AI-generated code, record where each came from, what it is used for, when you got it and its licence. This feeds the Task 2 documentation (stop 2b).