Development Software
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb Site ManagementDevelopment Software

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now!
  #1  
Old October 7th, 2004, 06:19 AM
Lava Lava is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 331 Lava User rank is Corporal (100 - 500 Reputation Level)Lava User rank is Corporal (100 - 500 Reputation Level)Lava User rank is Corporal (100 - 500 Reputation Level)Lava User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 2 Days 23 h 19 m 15 sec
Reputation Power: 6
Unhappy Need advice on CMS: use DB or modify existing files

I really need some advice concering Content Management functionality, because I really need to know how to continue.

Let me describe the website a bit first to get a better idea:
/ (root)
Startpage
/category1/
/category2/
/category3/
Each category is filled with pages
/include/asp/
Contains header,footer which are included in each page
/include/js/
Contains external javascript files which are e.g. included for menu in header
/include/css/
Contains all external CSS files which are included in the header

Basically every page is based upon the same concept. I use this concept for every page. The concept uses SSI includes for the header and footer. By doing this I keep all pages small.

So it's more like I use a "template" for each page I'm going to make. Such "template"/concept got the basic structure, some HTML comments where the main contents should go, which title to change, BUT... as can be seen the contents is not entirely separated from structure or template. The template got a function as "startfile".

But now I need to make some sort of Content Management System and I'm wondering what to do?

It seems I only got one option left: open a file with FileSystemObject and retrieve the to-be-managed content and making it identifiable with e.g. HTML comments like: <!-- begin text --> and <!-- end text -->

Or should I SERIOUSLY consider the following:
1) Put all contents in a DB
2) Use one template
3) Use a CMS with contents from DB
4a) Possibly create "static" files by merging DB and template

It would mean that I have the contents in a DB and in those generated files, unless I let those files retrieve their contents on a constant basis from the DB, but if those files don't change that much it puts a load on the DB.

So 4b sounds maybe a bit too DB exhausting:
4b) Generate the displayed pages with DB and template for each user.

It just seems a bit TOO difficult maybe to be loading those pages and filtering the contents for management. It may offer some room though for "exceptional" pages which got a different kind of contents. But since most pages are probably "default" I might be better of with DB/CMS option.

Please I really need some advice here. As you can see I'm nearly convinced that this DB/CMS thingy is THE way to go eventhough it might mean that I got contents at 2 locations (DB and files).

Thanks, any piece of advice... recommendation, thoughts. ALL is welcome really. And I do need this advice. So far I've only made most of the structure and there's hardly any contents yet. That will follow soon. I wish to have things ready beforehand.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb Site ManagementDevelopment Software > Need advice on CMS: use DB or modify existing files


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway