Forum Moderators: phranque
i am auday from iraq, i have iraqi sport news website, right now using joomla
little not happy because i want to go without limit, i have many ideas and joomla not giving me the chance
i know no php, but i am about to create a cms or a simple content management ( if you know one similar to what i want please help me)
right now i am confused which one is better fora website got 100 visitors a day
html pages or other mysql data base
i am going to create a cms that works like this
1- admin panel to post news
2- news saved as .html and the name is the topic ID, so we will have 12312312312.html save in folder for example /1 ( section 1) categries can be sub folder
3- when posting news i will make it u have the choice to select template for the page ( as many as we add so every news will look different or all the same but the position of page polls and module will be different )
4- you will have the ability to load special modules or just load the default ones for that news item, so news number 1 will have different poll than news 2 3 4 or maybe advertisement or something else
now should i make the cms save the news as html files or to databse?
i think database s processing and html is memory ( i mean the load )
please let me know from your view and why
thanks
Static pages (Baking):
Pros:
Cons:
Dynamic pages (Frying):
Pros:
Cons:
Or you can statically publish dynamic pages, and get a mixture of the pros and cons of each(!)
mattur has done a great job of presenting the pros and cons.
Personally (and I'm a programmer so I'm biased) I would recommend having a database backed PHP site. 100 visitors a day should not be anywhere near the level where you would have to worry about seeing a big performance difference. If your CMS is done well there shouldn't be a huge difference in performance (remember that even for static HTML pages, the page has to be fetched from disk so it is not instantaneous). This is actually an old debate (whether static html is faster than a database for a large site) but really comes down to finding the right balance of what is fast and what is convenient/maintainable.