+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / MVC-Architecture

MVC-Architecture

15 posts, 0 answered
  1. rolls rolls
    rolls rolls avatar
    24 posts
    Registered:
    02 Nov 2002
    06 Dec 2007
    Link to this post
    Hi

    Will Sitefinity suupport the new MVC architecture soon to be released?

    Thanks
  2. Sonya
    Sonya avatar
    231 posts
    Registered:
    24 Sep 2012
    07 Dec 2007
    Link to this post
    Hello rolls rolls,

    We have not yet researched the changes that would need to be made in Sitefinity's architecture in order to support the MVC and will need some time to go into details on this matter. We would also prefer to first observe its application on the global market before making any decisions on adopting and supporting it.

    Kind regards,
    Sonya
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. Matt
    Matt avatar
    17 posts
    Registered:
    03 Jan 2008
    16 May 2008
    Link to this post
    Hi,
    I was wondering if you guys have any sort of idea of what the future of Sitefinity will be with regard to MVC yet.

    Thanks!
  4. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    19 May 2008
    Link to this post
    Hi Matt,

    We don't have plans to rebuild Sitefinity with the MVC framework. Maybe we will offer the option MVC to be supported for the public part, e.g. to build your controls and functionality with the MVC also. There shouldn't be any major problems, because the standard ASP.NET page takes part in MVC as we can see in System.Web.MVC.dll :
    public class ViewPage : Page, IViewDataContaine 
    This means that all ASP.NET controls should work on MVC pages as well.
    We should test it, but if you have any feedback on this topic, we will appreciate it.

    Sincerely yours,
    Georgi
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  5. Mark Plamann
    Mark Plamann avatar
    1 posts
    Registered:
    08 Apr 2009
    04 Nov 2009
    Link to this post
    Are there any updates on supporting Microsoft's MVC framework within Sitefinity?

    Thanks in advance for any insight you can provide!

    Mark
  6. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    04 Nov 2009
    Link to this post
    Hello Mark Plamann,

    Currently we do not support MVC. We have future plans for this implementation in of 4.0 releases ( we will not be able to make the integration for the official 4.0).

    Best wishes,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  7. Bryan
    Bryan avatar
    6 posts
    Registered:
    04 Nov 2010
    04 Nov 2010
    Link to this post
    And here we are, exactly one year after the last post on this thread. And I basically have the same question, although the circumstances are different. The industry is moving toward MVC in numbers too significant to ignore. It's true that ASP.NET controls can be put on MVC views.

    However, some controls, such as GridView and the like, which do some databinding stuff that rely on viewstate (please correct me if I'm wrong) will not work, because in MVC there is no viewstate. So ideally, there would be some native MVC support for Sitefinity. Failing that, if I could just slap the controls on a view and have them work, that would suffice.

    So, where are we with MVC support? Thanks for your time!
  8. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    04 Nov 2010
    Link to this post
    Hi Bryan,

    The status is the same we will not be able to make the integration for for MVC in the official 4.0 version. Probably this would happen in one of the minor version and we do not have ETA for this.

    Kind regards,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  9. Bryan
    Bryan avatar
    6 posts
    Registered:
    04 Nov 2010
    08 Nov 2010
    Link to this post
    It sounds like it's in the works, which is great to hear. Thanks!
  10. fregas baratis
    fregas baratis avatar
    185 posts
    Registered:
    14 Nov 2002
    22 Feb 2011
    Link to this post
    I'd love this as well, but I realize its a huge architectural change.  I much prefer to develop with MVC and Jquery, Jquery.ui, etc. rather than webforms, viewstate and controls. 
  11. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    24 Feb 2011
    Link to this post
    Hello Fregas,

    Unfortunately we do not have plans to support the MVC for now. Some things pushed us to the web forms. We are still using some of the ideals though, like the routing.

    Regards,
    Georgi
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
  12. fregas baratis
    fregas baratis avatar
    185 posts
    Registered:
    14 Nov 2002
    24 Feb 2011
    Link to this post
    ah thats too bad.  The industry is widely moving to MVC frameworks and web standards. 
  13. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    25 Feb 2011
    Link to this post
    Hi Fregas,

    Well, we are always open for suggestions :) From your perspective, what can we benefit best from MVC?

    All the best,
    Georgi
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
  14. fregas baratis
    fregas baratis avatar
    185 posts
    Registered:
    14 Nov 2002
    26 Feb 2011
    Link to this post
    So I know its probably a pretty big undertaking to switch, but we definitely prefer the MVC approach where we work.  Webforms was handy VB developers who did not know much about the web and statelessness, and it was nice for server controls rendering different html for different browsers.  However, the webforms approach is a bit outdated IMHO.  I'd say that there are several advantages to switching to MVC.

    1.  Better separation of concerns.  With MVC, everything has its place and the html of the page (the view) is better separated from the logic behind the page (the controller.)  This makes things evolve more naturally and encourages some better development practices from day one.

    2.  TDD is easier.  I don't know if you guys use and TDD or BDD for your code but MVC makes your code much more testable by having a better separation of concerns.  If you haven't looked into TDD you should.  Its not as valuable on smaller projects, but for a large application like Sitefinity that is going to change a lot over the years, it makes a lot of sense.

    3. MVC works with the web, not against it.  Integration with CSS, Javascript and third party tools like JQuery are much easier.  Ajax is easier with MVC.  I'm working on a sitefinity project right now and we have a wizard that does a lot of ajax calls, and dealing with webforms makes it a bit more difficult. 

    4.  A few other odds and end.   There is no viewstate so pages generally load faster.   Instead MVC binds form values nicely two your objects. Its much like two way databinding.  There is no event cycle so generally understanding MVC is simpler than webforms, especially for those used to the MVC pattern or coming from other languages.  It always annoyed me that the webforms model was a technology that only aided me in asp.net.  It wasn't something I could apply to other tech. 
  15. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    28 Feb 2011
    Link to this post
    Hi Fregas,

    I would like to thank you for the extensive feedback. I'll make sure that it reaches our architects.
    We have updated your Telerik points.

    Greetings,
    Georgi
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Register for webinar
15 posts, 0 answered