#user interfaces

User interfaces (UI) are the means by which users interact with a computer program or application. UI is typically composed of graphical elements such as windows, menus, buttons, and text boxes, which allow users to input data, view output, and control the behavior of the program. In the context of JavaScript, user interfaces can be created using HTML, CSS, and JavaScript, allowing developers to create interactive webpages and applications that respond to user input.
JSNation 2022JSNation 2022
148 min
Should we have business logic in the UI?
How many times did you say or hear “this is business logic, it should not be here”?
In this workshop, we will create a modern frontend application using old patterns and you will learn how to build apps that have decoupled UI and services.
We will start with a React application that has its whole logic in the UI. Then step by step we will extract the rules and operations to hit that sweet spot of independence.