-
Notifications
You must be signed in to change notification settings - Fork 3k
Home
ProLoser edited this page Jan 21, 2013
·
137 revisions
- Add a + on a feature or design point you concur
- Add a - on a feature or design point you do not like
- Create a new bullet for new feature/design points
- Nest bullets if they are related or subfeatures/points
- Keep bullets concise
- Vote count will decide priority
- You can vote on any bullet once
- Avoid 'discussing' bullets here. If you disagree, down-vote and discuss in #1
- Defining routes
- Should be a recursively nested object
- Can append more children later in separate method call:
andWhen('/parent/route', '/child')
- Parameters
- Should support an optional syntax:
/user/:id[/:tab]
- Should support typecasting syntax:
/user/int:id
- Should support an optional syntax:
- Route / View Names
- Should be optional
- Single view
- If nested view, unnamed route uses unnamed view at the same nesting level
- Names circumvent nesting level
- Should be optional
- Loading Controllers
- All descendant controllers are reloaded
-
$routeUpdated
event is$broadcast
instead of reloading controller- Always use event
- Provide optional to opt-in, otherwise reload controller
- If child route no longer matches
- controller is unloaded
- related view is emptied