3
Reply

Adding content manually after deployment

Jure

Jure

Oct 8 2010 1:53 AM
1.6k
Note: I'm not asking for any code, I'm interested in the organization techniques.

Suppose I build a personal website, to which I want to add blog entries of various types. For example, some entries may consist of just plain text, some may include HTML5 video or Flash object and so on... I want the user to be able to browse through these entries by date and different categories (or through all categories merged together).
What would be the most optimal way (for me and for user) of adding such content after the website has been deployed? The entries should be categorized, but it should also be possible to retrieve them all together, sorted by date.
How do other MVC websites handle frequent "owner" content adding? Adding new views to the application itself seems sadistic, but the application should be "informed" of the new entries. Should I add plain html files and have each entry's (file's) info (file name, date, category, etc) stored in database, so that the application can properly render the view with the content?
The thing is that you can code a "submit button" to handle various things, but I don't want to give this functionality to the website, because I'm the only one adding the content, so I want to be able to add new entries manually without over-complicating the adding itself (don't want to manually update the database).

Thanks in advance!

Answers (3)