Search⌘ K
AI Features

Building the UI First

Discover how to build the user interface first in a Rails app by setting up routes, controller methods, and semantic markup. Learn to connect the UI to backend logic, use a design system to style elements, and write system tests to validate end-to-end functionality before focusing on business logic.

We'll cover the following...

No matter how the UI must be styled, it needs to allow the user to select a manufacturer, enter a widget name and price, and see any validation errors related to the data entered. We’ll create the UI using semantic markup that is connected to the controller, which we’ll leave fairly bare. We’ll ...