locked
Prism or caliburn.Micro which one is better solution for cross platform projects RRS feed

  • General discussion

  • I am working with cross platform project, where Silverlight and WPF compatible codes are required. Currently I am using MVVM pattern and I am thinking of implementing any MVVM based patterns/frameworks in my project like Prism, Caliburn.Mirco.

    considering both silverlight and WPF, which framework should I choose from Caliburn.Micro and Prism?

    my basic requirements are Command implementation, IDataErrorInfo for validation, platform compatible codes.

    Friday, January 18, 2013 4:27 AM

All replies

  • The question is valid, what is the best framework for cross compatible code? Perhaps MVVM-light too, but I'm not sure about IDateErrorInfo


    http://pauliom.wordpress.com

    Monday, January 28, 2013 8:14 AM
  • you look like a mallu from kerala , my friend told me .......  Come to the point , desktop environment and web environment are totally different in every sense.

    Do understand do separate the software envirnoment  :the silverlight and wpf separate.

    It is very simple , for wpf do use prism framework and for silverlight , do use mvvm.

    do not make requirements of coding in c#, it very bad pratice , just follow the guidelines in prism and mvvm .

    I wished that I  have known the commander in Chief of the Indian Army....... This is no joke.

    Cheers,

    Phijo Mathew Philip , otherwise known as BP


    PHIJO MP



    Hello Phijo MP,

    Microsoft patterns and practices team itself provides sample for Silverlight projects with prism. Also code sharing is supported and documentation for code sharing is available in prism documentation page.

    Can you please elaborate, how it will be a bad practice?.

    If Creating two different solutions for web and desktop is necessary then the word 'cross platform' has no meaning. At least the same solution should support code sharing. After research, I got solution which supports 80%of my requirements with Prism. The same solution supports WPF & Silverlight with code-sharing. For code sharing, I am using "Project linker". As there is no IDataErrorInfo implementation by default, I created the same by generating code using T4 template..........

    And I didn't get the meaning of some sentence (BOLD) you quoted or which are inappropriate in current context.

    Any way thanks and cheers,

    Antony




    Monday, March 11, 2013 10:28 AM
  • You may want to expand what you consider x-platform too; https://github.com/slodge/MvvmCross

    http://pauliom.wordpress.com

    Monday, March 11, 2013 9:19 PM
  • Thanks pkr2000

    what about Caliburn.Micro vs Prism?

    I already read documents available for Both in web. And found both have values, but prism is well equipped with documentation and support and handled by Microsoft pattern and practice team. I need comments on real time scenarios. 


    God Bless you


    Tuesday, March 12, 2013 8:23 AM
  • TBH I haven't used either in anger so whatever I say is really just my 1000ft view. If you want all the other things PRISM provides then that sounds like the obvious choice. But if composition et al isn't what you're after then I would probably stick with something that is dedicated to the task in hand. So Caliburn, MVVM Light, MVVMCross would seem like the better choice. The choice seems to come down to which style you get one with the most. The guys behind MVVM Light and MVVM Cross are easy to talk to (not saying that Caliburn isn't, I just haven't). Given that, in theory, both WPF & Silverlight are "yesterday's news" then I would look to something that is keeping XAML in mind - I've not heard of PRISM for Window 8/Phone 8 - but perhaps I missed the announcement.

     


    http://pauliom.wordpress.com

    Tuesday, March 12, 2013 10:04 AM
  • you are right. But lack of samples in real time projects are the main problem with MVVM Light. and I don't know about MVVM Cross, but will try it for sure. Now I am going for the Prism implementation and if anything went wrong will try for another. I think prism guidelines and support on compositewpf.codeplex is more than enough. 


    God Bless you

    Tuesday, March 12, 2013 11:05 AM
  • I noticed some PRISM references in some Windows Store apps, so I'm guessing it is available

    http://pauliom.wordpress.com

    Thursday, March 28, 2013 6:22 PM