To register for an event, please contact the organiser direct using the details below.
Please check timings and venue details with the organiser.

Loading Events

« All Events

  • This event has passed.

Workshop: A clean architecture for frontend data validation

3 May 2023 @ 6:00 pm - 8:30 pm

Speaker: Nicole Rauch

Venue: Skyscanner Limited, Quartermile One, 15 Lauriston Place, Edinburgh, EH3 9EN
(Please use Lauriston Place entrance. Note that Skyscanner will require you to sign a Non Disclosure Agreement (NDA) for entry to their offices. Please read the terms here).

Refreshments and networking from 6:00 pm. Refreshments kindly provided by Skyscanner.

This event is free of charge and open to all, though registration is required.


When data is transferred to a JavaScript-frontend, it’s not immediately clear how the correctness of the data structures can be established. Even using TypeScript does not help because those types don’t exist at runtime. If we load the data into the frontend without checking its correctness, we risk errors due to incorrect data structures. Even worse, those errors can happen at any time!

To avoid these errors, “defensive” programming is often applied. This means that the code is full of null-pointer checks and the like, which reduces readability and maintainability. To improve this situation, we should check the data as soon as it arrives at the frontend, and we should reject it if it doesn’t match our expectations. This leads to a clean and slim architecture for the whole frontend.

This workshop introduces the philosophy of frontend validation and gives you a step-by-step, hands-on experience of using a popular validation library called ZOD. You will learn how it helps you work with valid data in the frontend, including the automatic generation of TypeScript types.

Limited numbers. Laptop needed. Duration 2 hours.

About the speaker

Nicole Rauch is an independent software developer and development coach with a solid background in compiler construction and formal methods. Her focus is on Specification by Example and Domain-Driven Design, working with React.js in the frontend as well as working with legacy code. Nonetheless, her secret love is for functional programming. Also, she is committee member and co-organizer of a number of conferences and unconferences and co-founder of Softwerkskammer, the german-speaking Software Craftsmanship community.


3 May 2023
6:00 pm - 8:30 pm


BCS Edinburgh


15 Lauriston Place, Edinburgh, EH3 9EN
Edinburgh, Scotland EH3 9EN United Kingdom + Google Map

Engineering Scotland does not accept any responsibility for the accuracy of the diary postings on this web site.
Intending attendees are urged to check all details with the event organiser.
Send email to the Honorary Secretary with any questions or comments about this web site.
The registered address of Engineering Scotland is:
c/o Institution of Engineers and Shipbuilders in Scotland, 105 West George Street, Glasgow, Scotland, G2 1QL
Tel: 0141 248 3721