Quantcast
Channel: patterns & practices: Prism
Viewing all articles
Browse latest Browse all 1878

New Post: Prism basic questions:

$
0
0
Hi Santosh,
Welcome to Prism! (Minor nit - it is Prism, not PRISM - not an acronym for anything)
  1. Absolutely. You can benefit from leveraging pretty much all the other features like the MVVM support with BindableBase, ViewModelLocator, Commands, PubSubEvents, Regions, Navigation, without using modules at all. Modules are intended to help you break up the functionality of your app into loosely coupled pieces, which can be useful in maintenance, but is primarily an extensibility mechanism, so you don't have to use it if you are ok with all of your functionality being compiled into your app at deployment time.
  2. Navigation is a feature within a single region - it is a way of swapping or selecting views (depending on the container control on the region) within the region to achieve navigation from a user's perspective. I'm not clear what you mean by navigating from one region to another - a region is a container within which views are swapped. You can nest regions - so you can load a view into a region at the shell level for example, and then have a region inside that view in which you navigate. But it is not really navigating between regions.
  3. You can combine views in a hierarchy following the MVVM pattern alone (parent views contain child views up to the shell which is the parent view of them all, and each view can have a view model), or you can use the Regions feature to dynamically plug in child views into containing parent views.
Hope that helps. Recommend you check out Brian Lagunas' intro course on Prism on Pluralsight and mine on Prism for Windows Runtime (if you are going to be doing Windows Store apps):
http://www.pluralsight.com/courses/prism-introduction
http://www.pluralsight.com/courses/building-windows-store-business-applications-prism
http://www.pluralsight.com/courses/prism-50-whats-new

If you don't have a Pluralsight subscription, contact me brian.noyes on gmail and I can get you a one month trial.
Thanks
Brian

Viewing all articles
Browse latest Browse all 1878

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>