Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4828

What is the the point of the route url segments?

$
0
0

@Ben_Glancy wrote:

HI,

I am relatively new to Ember, but have done a few tasks with it enough to gather some questions. One thing I am slightly at ends about is the url segments/router stuff. I can't understand how you can define just one state for your page at any one time. Usually you might have multiple things going on on the page?

If I have two lists both with separate paginators and I wanted my route to take a parameter to represent the page number, say, how can one url segment represent two completely independent lists, one not being a child of the other? Or how could it be done so that it makes sense (yes you could have a parent route and a child to represent two lists but this is messy).

Also what if I have two separate systems on the page that need their own templates but, one is not actually a child of the other in any sense of the word.

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4828

Trending Articles