Welcome Guest, Not a member yet? Register   Sign In
Question About Data Structure and URLs
#1

[eluser]lenwood[/eluser]
Hi All,
I'm grappling with how the data for my application is going to be structured, accessed, displayed, etc. My question comes from the URI routing info. The way CI works natively, I'd have a class named "productGroup" and then functions named "product1", etc, correct?

If I use the methods described in the URI routing document, would I be coding up classes and methods for each category of products, or can that all be created from data in the database?

Example, suppose I have shoes and boots with several choices for each. Is it possible to code up classes and methods to pull the category and product from the database? If so then adding sandals later would be pretty simple.

If this has been addressed somewhere else links are fine.

Thanks,
Chris


Messages In This Thread
Question About Data Structure and URLs - by El Forum - 08-17-2008, 12:02 PM
Question About Data Structure and URLs - by El Forum - 08-17-2008, 03:05 PM



Theme © iAndrew 2016 - Forum software by © MyBB