Welcome Guest, Not a member yet? Register   Sign In
Storing static HTML content
#1

[eluser]Zeff[/eluser]
Hi all,

I'm totally new in MVC / CodeIgniter and two days ago I started watching the video-tutorials on the CI website. I see the great advantages of using a controller and a model for retrieving dynamic content, separated from a view file. However, it's not clear to me where to store static HTML content...

Most of the content I want to use is hard-coded html (just static information) like:
Code:
<img style="float-left" src="images/foo.jpg" alt="foo" />
<p>A first text paragraph.</p>
<p>Some list items:<br/>
<ul>
<li>Rule1</li>
<li>Rule2</li>
</ul>
</p>

Is it necessary to create a database for that to put the content for each page? I think it should not be the intention to create just some hard-coded views???
Can somebody point me to helpful tutorials or give some advice about the MVC way of handling such pages.

Thanks a lot in advance!

Zeff


Messages In This Thread
Storing static HTML content - by El Forum - 06-17-2010, 01:41 AM
Storing static HTML content - by El Forum - 06-17-2010, 01:56 AM
Storing static HTML content - by El Forum - 06-17-2010, 02:16 AM
Storing static HTML content - by El Forum - 06-17-2010, 05:46 AM
Storing static HTML content - by El Forum - 06-17-2010, 05:54 AM
Storing static HTML content - by El Forum - 06-17-2010, 06:09 AM
Storing static HTML content - by El Forum - 06-17-2010, 06:22 AM
Storing static HTML content - by El Forum - 06-18-2010, 04:14 PM
Storing static HTML content - by El Forum - 06-18-2010, 04:29 PM



Theme © iAndrew 2016 - Forum software by © MyBB