Modularity usage

17 views
Skip to first unread message

Dave

unread,
Mar 15, 2011, 8:21:18 AM3/15/11
to nRoute
Hello all
I am actually designing my architecture and I intend to use Modularity
of nRoute. Is there an example how to use the modularity of nRoute? Is
this even implemented? I only saw the document structure on the nRoute
codeplex page but actually it is quite at the end of the TOC :)

thanks for any help.
Kind regards

Dave

Rishi Oberoi

unread,
Mar 16, 2011, 5:09:19 AM3/16/11
to nRoute
Hi Dave, well modularity is sort of a loaded word, especially as it is
achievable at multiple levels. For example, at the level of deployable
units, you could use SiteMaps in nRoute - there is quite a bit of
integrated infrastructure built into nRoute for that, as an example
see:

http://www.orktane.com/Blog/post/2010/09/13/Database-Driven-Application-Composition-using-nRoute.aspx

At the level of resources within the application we have the Resource
Locator Framework (kinda like MEF); and it allows for nicely
separating your application into consumable units, and as a case in
point see ViewServices:

http://www.orktane.com/Blog/post/2009/10/23/Web-Xcel-Demo-View-Services-in-nRoute.aspx

Similarly, in nRoute we have Messaging Channels that allow loosely-
coupled communication between various independent components within an
application, this also helps with modularity. See:

http://www.orktane.com/Blog/post/2010/02/12/IObservable-based-Messaging-Broker-for-Silverlight.aspx

So really there is no one silver bullet, but essentially you need to
contextually bring together a host of things to achieve a degree
modularity, and you'll see nRoute really helps with that. For more
info and examples please have a look through my blog.

Hope this helps,
Rishi
Reply all
Reply to author
Forward
0 new messages