Welcome Guest, Not a member yet? Register   Sign In
How to setup my webpages when dealing with different blocks of info?
#1

[eluser]123wesweat[/eluser]
Hi there,

I am just starting out with CI and i like to know how to setup/dealing with the following:

- homepage; different blocks of information (like, summary of the latest subpage's information, number of form, agenda, profile information etc)

- subpages have different views and some of them have blocks of info from other subpages

What would be a good way to set it up with SEO/security and good practice in mind?? The controller/method/params confuses me.

- Should i make models for each block of information?
- Or should i make a 'homepage' model with all functions.
- Should i make a view for each block or a template??
- What is the max of nested views??
- Every interaction with the DB should go into models, right??

All is db-driven.

Any suggestions, starting points??

regards,

ps: transforming to a MVC mindset


Messages In This Thread
How to setup my webpages when dealing with different blocks of info? - by El Forum - 01-08-2010, 12:31 AM



Theme © iAndrew 2016 - Forum software by © MyBB