O'Reilly logo

Hands-On Full Stack Web Development with Aurelia by Erikson Haziz Murrugarra Sifuentes, Diego Jose Arguelles Rojas

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Routing and resources

Routing is one of the most important parts of a web application. We already have our application deployed in http://localhost:9000, but it's time to start defining names and addresses for our resources. First, we need to define what a resource is. Conceptually, a resource is every related data belonging to one single object or element. For example, a person resource can have fields such as name, address, birthday, and more. So, expanding this, a resource can be a list of persons too. We will talk deeply about how your resources should be named, organized, and called, but at this moment, you just need to know the basics. In a web application, every resource has its own address. Let's look at an example:

We have an address ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required