Welcome Guest, Not a member yet? Register   Sign In
Where do you put the content of the site?
#1

[eluser]marlar[/eluser]
Hi,

I hope you will forgive all my questions, but as a new CI developer I have so many :-)

I suddenly realized that something very basic is unclear to me: Where do you put the different content of your sites?

Like the "About..." part, the FAQ, the Welcome texts etc. Do you hardcode it into your views, or do you put it in a database?

My first idea is to hardcode the text parts in a model called Content, just to get started quickly. Later on I can change the model and pour the content into the database instead. Without having to change my views.

This scheme seems quite obvious, but often the best approach is not the obvious so I am interested in hearing your thoughts.

Best regards,
Martin


Messages In This Thread
Where do you put the content of the site? - by El Forum - 12-13-2007, 02:27 PM
Where do you put the content of the site? - by El Forum - 12-13-2007, 02:43 PM
Where do you put the content of the site? - by El Forum - 12-13-2007, 03:07 PM
Where do you put the content of the site? - by El Forum - 12-13-2007, 03:26 PM
Where do you put the content of the site? - by El Forum - 12-13-2007, 03:33 PM
Where do you put the content of the site? - by El Forum - 12-13-2007, 03:48 PM
Where do you put the content of the site? - by El Forum - 12-13-2007, 03:58 PM
Where do you put the content of the site? - by El Forum - 12-13-2007, 08:01 PM
Where do you put the content of the site? - by El Forum - 12-14-2007, 02:09 AM
Where do you put the content of the site? - by El Forum - 12-14-2007, 09:38 AM
Where do you put the content of the site? - by El Forum - 12-14-2007, 06:27 PM
Where do you put the content of the site? - by El Forum - 12-25-2007, 10:57 AM



Theme © iAndrew 2016 - Forum software by © MyBB