Reputation: 2006
I just played with ember routing example. It looks quite interesting. Especially if you are going to build all your application on Ember framework.
But parameters in url follows after '#'
. That means you can't copy and send a link to someone if client has to login with postback (if only to set a cookie with login parameters). Is there a better option - maybe use '?'
instead of '#'
?
Upvotes: 2
Views: 5402
Reputation: 895
Here is a full example courtesy of https://github.com/jbrown
http://jsfiddle.net/justinbrown/C7LrM/10/
Upvotes: 2
Reputation: 9236
You may also have a look at Ember.Router. There are two good start points @ https://gist.github.com/2679013 and https://gist.github.com/2728699
A lot of fixes have been made the last couple of days.
EDIT
A brand new guide is now available @ https://emberjs-staging-new.herokuapp.com/guides/outlets#toc_the-router
Upvotes: 5