Reputation: 21
I am looking for develop a website in silverlight 4. I am confused about which silver light template in VS 2010 is best for creating silver light website[internet application]? Which is best design pattern[mvc or mvvm] to implement the same silver light website. please give your valuable suggestion . so i can move further.
Thanks in advance!!
Upvotes: 1
Views: 254
Reputation: 93551
If you want to develop a large Silverlight website I would suggest the following (based on experience of very large Silverlight websites):
We call this MVCVM, but it is not an official pattern anywhere :)
Use the built-in navigation (uses bookmarks to stay on the Silverlight page while providing structured information).
Upvotes: 2
Reputation: 10992
I would go for the Silverlight Navigation Application template if you want more than one page!
Upvotes: 1
Reputation: 49974
If you have everything installed correctly, you should have a project template called Silverlight Application available:
The other application project templates are also valid, the only difference is they automatically reference specific libraries for you, and have certain directory structures and initial files, all aimed at getting you underway faster.
As for whether to use MVC or MVVM - you can use either approach, they are simply patterns for abstracting and decoupling the UI from the code and business logic. MVVM may be a good choice - it was designed by Microsoft specifically with WPF and Silverlight in mind, and there are many MVVM frameworks you can pick up and use to make the job a little easier.
Upvotes: -1