Welcome Guest, Not a member yet? Register   Sign In
New to CI (be kind)
#6

[eluser]boldyellow[/eluser]
Hmmm, yeah, alot going on there.

I just started with CI a few months ago. I'm not an expert and I'm not a programmer, just a designer. So knowing that, I will proceed to dispense free advice:

The MVC concept is all about making your code modular. And it is literally at the core of CI.

MVC means you'll likely want to avoid db queries in your Controller. Likewise, not sure you'd want an echo statement in your Model, that's more of a View thing.

The CI documentation is great, but can lack specific examples for a raw beginner (like me). But it's a good jumping off point... from there, Google is my best friend.

Start with simple code. Just get the basic concepts using a Controller, a Model and a single View. No nav or such, just simple dumb stuff. I started just using a database about alien sightings (inspired by a PHP book I read). Then build on that and add more functionality in your Controller and Views.

'bout the best I can do at this hour... hope this helps you keep going with CI.


Messages In This Thread
New to CI (be kind) - by El Forum - 10-24-2010, 11:31 AM
New to CI (be kind) - by El Forum - 10-24-2010, 11:55 AM
New to CI (be kind) - by El Forum - 10-24-2010, 12:38 PM
New to CI (be kind) - by El Forum - 10-24-2010, 07:45 PM
New to CI (be kind) - by El Forum - 10-24-2010, 09:32 PM
New to CI (be kind) - by El Forum - 10-24-2010, 10:36 PM
New to CI (be kind) - by El Forum - 10-25-2010, 07:46 AM
New to CI (be kind) - by El Forum - 10-25-2010, 11:44 PM



Theme © iAndrew 2016 - Forum software by © MyBB