17 October 2006

MVC and History Management... in the Pub

Written by Richard Leggett ( Contact the author of this post )
Published on October 17th, 2006 @ 03:34:48 am, using 208 words, 195 views
Categories: Flash, RIA

Just got sent this image of last night from a co-worker, Dan Wood. I'm trying to convince Dave Wiltshire on the left of the picture here of my HistoryManager and DeepLink classes in terms of their ability to de-couple views and stop you having to worry about the logic of user journies in your apps/sites.

(Click to enlarge)

It works very simply by giving you a way to initiate navigation requests by user action or direct from the app itself through a central HistoryManager which only your AppController listens to. This means you can do things like automatically generate tracking calls, tie it into the browsers history management etc. On the return journey (acting upon that deep link request) it sets in place a traversal of handleDeepLink() calls down your views so that they can handle the various "levels" in the deep link as they see fit, attaching/removing or loading ContentSections. As an added bonus we can also create RESTful URLs by including parameter notation in any level of the deep link we desire, e.g. "maps|uk|england[x=20,y=50]". This is part of something we are working on, but more of that later.

Dave just now: "Can't we have all documentation like this?" - brilliant :)

Comments, Pingbacks:

Comment from: eokyere
geeks ;P
PermalinkPermalink 17/10/06 @ 13:36
Comment from: Richard Leggett [Member] Email
Heh, the one time you aren't in there with a Black Russian. ;)
PermalinkPermalink 17/10/06 @ 13:43

Comments are closed for this post.

About

Richard Leggett is a Freelance RIA and Web Developer (download CV, skills/portfolio coming soon). He is co-author of Foundation Flash Applications for Mobile Devices (Friend of ED), an Adobe Community Expert and speaker at industry conferences and user groups.



July 2008
Mon Tue Wed Thu Fri Sat Sun
 << <   > >>
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31      

Categories

Miscellany

XML Feeds

Information

Contact the admin  /   b2evo template by Two18 Media