U7, MVC, Code First and Strongly Typed... the options
I apprciate there are a few discussions around this but wanted to try to get a clear understanding.
We are starting a new project next week and from a technical point of view we have the following requirements (in priority order) :
MVC (new to me)
Code first doc types
Strongly Typed
Umbraco 7 (rather than v6)
From what i can tell there is no solution that will do all of the above. The options ive seen so far are uSiteBuilder (weve used it before and really liked it) or CodeGen/uSync. Unfortunately both of these arent U7 compatible i believe (yet) and hence i think well have to use U6 (not the end of the world but would of been nice). Is this definetely the case?
In regard to Code first and strongly typed uSiteBuilder is looking like a very good option. We have used this before and whilst there are some speed impacts we believe the benefits out way these problems.
So my main question is in regard to MVC and how well does it play with uSiteBuilder? Is it possible to declare our strongly typed classes in one place so that they can be used by both MVC and uSiteBuilder or will we have to duplicate the classes?
I have almost the same requirements as you, almost a year later :) What solution did you end up using? And would you use the same approach ifyou'dstartedtoday?
U7, MVC, Code First and Strongly Typed... the options
I apprciate there are a few discussions around this but wanted to try to get a clear understanding.
We are starting a new project next week and from a technical point of view we have the following requirements (in priority order) :
From what i can tell there is no solution that will do all of the above. The options ive seen so far are uSiteBuilder (weve used it before and really liked it) or CodeGen/uSync. Unfortunately both of these arent U7 compatible i believe (yet) and hence i think well have to use U6 (not the end of the world but would of been nice). Is this definetely the case?
In regard to Code first and strongly typed uSiteBuilder is looking like a very good option. We have used this before and whilst there are some speed impacts we believe the benefits out way these problems.
So my main question is in regard to MVC and how well does it play with uSiteBuilder?
Is it possible to declare our strongly typed classes in one place so that they can be used by both MVC and uSiteBuilder or will we have to duplicate the classes?
Steve
Comment author was deleted
Maybe this post can help you https://offroadcode.com/blog/1774/the-state-of-code-first-development-in-umbraco/
Comment author was deleted
There is a combo of usync and https://github.com/lars-erik/Umbraco.CodeGen that is also an option
Cheers Tim.
I have just re-read those articles and you're right they do offer a possible solution. Ill give them a go and see how we get on.
Definetely had a information overload day :)
Hi Stephen,
I have almost the same requirements as you, almost a year later :)
What solution did you end up using? And would you use the same approach if you'd started today?
-Tommy
Is there a best practice for this now with v7? Or is opinion to still do it with the UI?
is working on a reply...