why we call PEAR monolithic library while codeigniter isnt monolithic ?!!!
give examples please ?
what is better for beginner php programmer ?
is pear an object oriented library ? is codeigniter also an object oriented framework/library ?
why we call code igniter a framework while pear a library ?
as i understad codeigniter follows MVC pattern design, so there is no problem in seperating code from view , my question why not we use pear with smarty isnt that better and simpler and the same result ?
does codeigniter follows registry/singelto pattern ? same question regarding pear ?
thanks.
why we call PEAR monolithic library while codeigniter isnt monolithic ?!!!
Started by alrazy1, Jan 09 2011 01:42 AM
13 replies to this topic
#1
Posted 09 January 2011 - 01:42 AM
|
|
|
#2
Posted 09 January 2011 - 05:59 AM
PEAR is a library of many different addons to PHP. CodeIgniter is an framework to help you create web pages.
A library is a piece of codes to do a certain task, which you normally only need to call when you use it.
A framework is a started webpage, where you just add on more code to make it suit yourself. it has much of the everyday needed stuff on a site already done.
PEAR itself consist of many different parts and you choose to install the ones you need. Smarty is a library as well, but not included in PEAR, and it (should) only manage the view part of MVC pattern.
for a beginner programmer, I'd say the best is to try to code on your own to learn as much as possible, and then, when you've learned enough, you start look into the different libraries and/or frameworks available to suit your needs and desires.
A library is a piece of codes to do a certain task, which you normally only need to call when you use it.
A framework is a started webpage, where you just add on more code to make it suit yourself. it has much of the everyday needed stuff on a site already done.
PEAR itself consist of many different parts and you choose to install the ones you need. Smarty is a library as well, but not included in PEAR, and it (should) only manage the view part of MVC pattern.
for a beginner programmer, I'd say the best is to try to code on your own to learn as much as possible, and then, when you've learned enough, you start look into the different libraries and/or frameworks available to suit your needs and desires.
__________________________________________
I study Information Systems at Karlstad University when I'm not on CodeCall
I study Information Systems at Karlstad University when I'm not on CodeCall
#3
Posted 13 January 2011 - 02:33 AM
thank you orjan realy
#4
Posted 15 January 2011 - 04:53 PM
so you want to say codeigniter is somthing similar to open source CMS system like joomla ?
#5
Posted 15 January 2011 - 05:44 PM
Joomla implements an MVC pattern just as CodeIgniter does, CodeIgniter has nothing directly to do with Joomla.
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
#6
Posted 15 January 2011 - 06:05 PM
I 'd say that joomla has taken a few more steps further than codeigniter. joomla is an framework with ready-made coding so you usually don't have to do any coding at all on your own. codeigniter is only halfways there, you need to add on code to it to have it work your way.
__________________________________________
I study Information Systems at Karlstad University when I'm not on CodeCall
I study Information Systems at Karlstad University when I'm not on CodeCall
#7
Posted 20 January 2011 - 12:23 PM
so you are saying joomla and codeigniter both are frameworks , but i didnt see any code library for joomla is there one like codeigniter with all the object oriented and deferrent classes and helpers and parsers and so on ?
#8
Posted 20 January 2011 - 12:41 PM
CodeIgniter is a general framework, Joomla was intended mainly for CMS content. It has many helpers and libraries, their documentation you can read to see this.
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
#9
Posted 20 January 2011 - 02:59 PM
Yeah, As Alexander says, CodeIgniter is a framework, Joomla! is an Content Management System (CMS), which would be a much further developed webpage base than a framework.
Frameworks usually need to be completed by lots of coding to make a finished webpage.
CMS usually only need configuration and/or adding modules to be a finished webpage.
A few other well known Frameworks: CakePHP, Symfony, Zend
A few other well known CMS: Drupal, WordPress
Frameworks usually need to be completed by lots of coding to make a finished webpage.
CMS usually only need configuration and/or adding modules to be a finished webpage.
A few other well known Frameworks: CakePHP, Symfony, Zend
A few other well known CMS: Drupal, WordPress
__________________________________________
I study Information Systems at Karlstad University when I'm not on CodeCall
I study Information Systems at Karlstad University when I'm not on CodeCall
#10
Posted 22 January 2011 - 06:57 AM
Alexander said:
CodeIgniter is a general framework, Joomla was intended mainly for CMS content. It has many helpers and libraries, their documentation you can read to see this.
is ther tutorials for this ?
i dont mean the MVC pattern i mean full featured library like in codeigniter ?
#11
Posted 22 January 2011 - 07:03 AM
if i am a pro in codeigniter for what i need drupal or joomla ?
#12
Posted 22 January 2011 - 07:06 AM
is there a CMS component opensource for codeigniter ? why i should study all the systems in this world why there is no ready made CMS for codeigniter ?
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account


Back to top









