Welcome Guest, Not a member yet? Register   Sign In
Start to build a program together
#3

[eluser]Johan André[/eluser]
Building a modular CMS might be quite a challange if you are new to Codeigniter.
Try building something easier first.

Some tips:
* Obey the MVC (database stuff in model, logic in controller, html and basic logic in views)
* Extend models and controllers from a custom base-class so you can use common methods without repeating code
* If you repeat yourself alot in your views, consider writing a helper for it
* Learn and steal (not literally) techniques from experienced CI coders
* Browse the "Ignited code" forum for libraries. There's pretty much anything you will need (well, not everything) in there.
* If you post for help, try to ask for help with your code - not ask people to code for you.
* Sketch your project on paper before starting to code. Sort out what models you need, which tables they'll map to and which controllers you'll need. Design your views in pure xhtml/css first and then adapt them in your project.
* NEVER touch the system-folder. It will mess up your life. Extend the core if you need to.

Good luck!


Messages In This Thread
Start to build a program together - by El Forum - 12-14-2009, 05:31 PM
Start to build a program together - by El Forum - 12-14-2009, 07:40 PM
Start to build a program together - by El Forum - 12-14-2009, 07:59 PM
Start to build a program together - by El Forum - 12-16-2009, 02:38 PM



Theme © iAndrew 2016 - Forum software by © MyBB