I've created pages using Document Type and Template, but the real question is how to implement Database (CRUD) functionality. I did google for the latter and have come across SurfaceController class but am unable to get the structure. I mean can someone guide me on how to establish a SQL connection, where in to create the Controller class and model class etc. Please help out.
Since I'm a frontend developer I don't have much experience in doing the above things. But I'm thinking that you can perhaps find some useful information in the videos here http://umbraco.tv/videos/developer/ - But be aware that Umbraco TV costs 19€ a month. However you can cancel the subscription after 1 month - But I think it's a good resource especially when one is starting out.
Creating dynamic website in Umbraco 7 using MVC
Hi,
I've created pages using Document Type and Template, but the real question is how to implement Database (CRUD) functionality. I did google for the latter and have come across SurfaceController class but am unable to get the structure. I mean can someone guide me on how to establish a SQL connection, where in to create the Controller class and model class etc. Please help out.
Thanks in advance.
Regards,
Megha
Hi Megha and welcome to our :)
Since I'm a frontend developer I don't have much experience in doing the above things. But I'm thinking that you can perhaps find some useful information in the videos here http://umbraco.tv/videos/developer/ - But be aware that Umbraco TV costs 19€ a month. However you can cancel the subscription after 1 month - But I think it's a good resource especially when one is starting out.
Also you should be able to find some useful information in the documentation on our here https://our.umbraco.org/documentation/Reference/ and here https://our.umbraco.org/documentation/Extending-Umbraco/ (This is about how to extend the backoffice with custom sections).
A nice site with articles about many different topics is also http://24days.in/umbraco/2014/epub/
Don't know if you can find some useful information here about your real question btw? http://stackoverflow.com/questions/24510797/umbraco-7-how-to-access-database-mvc
Hope this helps!
/Jan
is working on a reply...