Take the 2-minute tour ×
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.

Possible Duplicate:
When do I need to use a framework?
When should I start learning a PHP Framework

I started to learn PHP about four months ago, and I have been writing some applications for three months. Recently, I've been using CodeIgniter for various projects. Using CodeIgniter is awesome as it is easy to code with, and I don't care about security while using it. I do think though that using a framework may be bad for my background PHP knowledge, because with CodeIgniter I use absolutely different programming methods than when I code normally. I want to ask you which is better; using a framework, or not using a framework?

share|improve this question
add comment

marked as duplicate by Anna Lear Dec 13 '11 at 14:35

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer

One of the fundamentals of programming is "don't reinvent the wheel." If a framework has code that you would otherwise implement yourself, by all means use it so that you can focus on your application as a whole. However if you don't like the implementation, then you put your php knowledge to work and flesh out your own alternative.

That said, if you're just studying php to learn the ins and outs, you shouldn't use a framework, but you may benefit from reading its code.

share|improve this answer
add comment

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