Tell me more ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

When I'm writing code in PHP, I don't understand how to do it logically. Nor do I know where to start. I know basic things in PHP, and want to start using CodeIgniter framework, but I'm lost and don't know where to start with it and how to develop things.

Could you help me? Are there some PHP CodeIgniter books easy to understand for a beginner?

share|improve this question
Please read the site's FAQ and guidelines to asking questions. This question is fairly vague and broad and probably won't stay open too long if you don't edit it. – Walter Mar 22 '11 at 11:38
Quickstart a CI Project => roomforcreativity.wordpress.com/2012/08/09/… – cyclotrojan Aug 29 '12 at 18:07

closed as not a real question by Mark Trapp Dec 16 '11 at 1:35

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, see the FAQ.

3 Answers

The first step would be to understand the underlying MVC paradigm. Without a fore-knowledge of that, using the CodeIgniter framework may not make a whole lot of sense. Here are a few links to help get you started in your journey:

Information on the MVC Paradigm: http://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller

Understanding MVC Guide:
http://oreilly.com/php/archive/mvc-intro.html

Tutorial for creating a blog in CodeIgniter:
http://codeigniter.com/tutorials/watch/blog/

Another basic tutorial series:
http://net.tutsplus.com/tutorials/php/codeigniter-basics/

And as someone else already pointed out the user guide:
http://codeigniter.com/user_guide/

Good luck!

share|improve this answer

I had the same problem with getting into codeigniter. The best advice I can give is to go through http://php.net before getting into it. Once you understand functions and classes CI will make a lot more sense.

The CI user guide is easily the best resource for learning the framework though.

CI won't make sense without a good knowledge of php

share|improve this answer
thanks for the great answer – Tayyab Gulsher Vohra Mar 22 '11 at 17:37

I recommend that you start here:

http://codeigniter.com/user_guide/overview/getting_started.html

And view the manual, clicking through to 'Next Topic'. That's the only way to understand it, and I learnt Codeigniter that way. Its very easy to udnerstand. Good luck!

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.