In general, a framework is a real or
conceptual structure intended to serve as a
support or guide for the building of
something that expands the structure into
WHY we use a Framework
A framework is not absolutely necessary:
it is “just” one of the tools that is available
to help you develop better and faster.
is an Application Development
A toolkit – For people who build web sites
goal is to enable you to develop projects
much faster than you could if you were
writing code from scratch.
on your project by minimizing the
amount of code needed for a given task.
You want a framework with a small footprint.
You need exceptional performance.
You need clear, thorough documentation
You want a framework that requires nearly zero
You want a framework that does not require you to use the
You eschew complexity, favoring simple solutions.
was written by Rick Ellis,
rock musician turned programmer
CEO of pMachine
Some Problems he faced
Terrible documentation, if it exists at all.
Endless number of assumptions regarding your
and skill level, and generally expect you to figure
it all out.
They are written for people who have root
server privileges and can change system settings.
Had to access to the command line.
Some Problems he faced Cont....
Tend to require lots of dependencies, like the
PEAR libraries or various open source ones.
Tend to be needlessly complex to use, with
obtuse syntax, XML based templates, and other
features that are simply not necessary for most
They are either ponderously big, or too
minimalist to be useful.
The most current frameworks only run on PHP 5,
which at present only has a 5% adoption rate.
first public version of CodeIgniter was
released on February 28, 2006
stable version 2.1.4 was released July
Simple to install
Can easily develop a project
Active Record Database Support
Full Featured database classes with support
for several platforms
Form and data validation
File uploading class
Architecture based framework
Little to no server requirements.
Easy to understand and extend.
All the tools you need in one little package.
Built in security tools
Large and active user community
Flexible URI Routing
Email sending class
Easy handling and customizing.
Offers flexibility and easy management With
MVC based framework
Good collection of possessed libraries
Awesome documentation of the user guide
Provides easier configuration and
customization of configuration files
Active Record Implementation is simply
superb and easy to remember
PHP based only and not very objectoriented in some parts
instead of community-driven
itself has no built-in ORM (only
via 3rd party solutions)
Available php Frameworks.
What is Codeigniter.
History of Codeigniter.
Why codeigniter is popular.
Pros and Cons of Codeigniter.