Welcome Guest, Not a member yet? Register   Sign In
Question about monolithic controllers and URL formatting
#1

[eluser]Mr.Mo[/eluser]
Hello All,

I'm new here, so my apologies in advance if this is a dumb question.

I would like to use CI on some small web sites (5-10 "pages").

It would work into my workflow very well if I could use a single controller for the majority of the pages. But I do not want to sacrifice simple URL's to do this.

Is there a way that a singles controller could handle URL's like:

site.com/
site.com/about-us
site.com/products
site.com/contact-us

while another controller takes care of forms processing

site.com/forms/submit
site.com/forms/ajax


What would be the most graceful way to do this ?

Much Thanks,
Mr.Moe


Messages In This Thread
Question about monolithic controllers and URL formatting - by El Forum - 11-09-2009, 03:33 PM



Theme © iAndrew 2016 - Forum software by © MyBB