Reputation: 9846
I am working on an ASP.NET MVC 4
application, that has admin panel, which purpose is to offer very basic CMS functionality. What I need is to provide ability for the admins to create new layouts and new pages using those layouts and filling them with content.
Using an existing CMS is not an option (don't know why), I never had to implement such a thing and I'm not able to find any tutorials, articles about this topic.
Can you provide some basic logic, or good tutorial on how to build such a basic functionality, it seems like a general question but still the idea is to work for ASP.NET MVC 4
.
Upvotes: 2
Views: 22074
Reputation: 3528
I have created a basic one for my clients, i set up a seperate area (backend). With a basic authentication system using a flat file database (so no dependency on MS SQL or something). I used Biggy for this
I used bootstrap as layout.
Added a drop-zone file uploader (for images)
Added a slider which pics the images, people could order this
GUI is markdown or a basic HTML wysiwyg editor
Packed it into a nuget package and saved it on a Nuget RSS feeds so i could easily load it into an existing package.
Upvotes: 3
Reputation: 3528
Don't forget, i just found out about these CMS projects (both opensource)
Upvotes: 6
Reputation: 2719
If I were you I would take a look at some open source examples out there for comparison and decide which features you want to implement and how they accomplish them. There are a few examples I found when searching:
Orchard - An open source ASP.NET MVC based CMS that is highly rated.
OSNet - Open Source ASP.NET CMS found on SourceForge.
In addition this article has some good resources that you might find useful (scroll to the bottom for implementation specific details). Just do a little research on it before giving up, most of this stuff isn't hard to find and it's almost certainly been done before.
Upvotes: 4