Jump to content

why we call PEAR monolithic library while codeigniter isnt monolithic ?!!!

- - - - -

  • Please log in to reply
13 replies to this topic

#1
alrazy1

alrazy1

    Learning Programmer

  • Members
  • PipPipPip
  • 38 posts
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.

#2
Orjan

Orjan

    Writes binary right handed and hex left handed

  • Moderators
  • 3,299 posts
  • Location:Karlstad, Sweden
  • Programming Language:C, Java, C++, C#, PHP, JavaScript, Pascal
  • Learning:Java, C#
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.
__________________________________________
I study Information Systems at Karlstad University when I'm not on CodeCall

#3
alrazy1

alrazy1

    Learning Programmer

  • Members
  • PipPipPip
  • 38 posts
thank you orjan realy

#4
alrazy1

alrazy1

    Learning Programmer

  • Members
  • PipPipPip
  • 38 posts
so you want to say codeigniter is somthing similar to open source CMS system like joomla ?

#5
Alexander

Alexander

    It's Science!

  • Moderators
  • 4,124 posts
  • Location:Vancouver, Eh! Cleverness: 200
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.

#6
Orjan

Orjan

    Writes binary right handed and hex left handed

  • Moderators
  • 3,299 posts
  • Location:Karlstad, Sweden
  • Programming Language:C, Java, C++, C#, PHP, JavaScript, Pascal
  • Learning:Java, C#
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

#7
alrazy1

alrazy1

    Learning Programmer

  • Members
  • PipPipPip
  • 38 posts
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
Alexander

Alexander

    It's Science!

  • Moderators
  • 4,124 posts
  • Location:Vancouver, Eh! Cleverness: 200
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.

#9
Orjan

Orjan

    Writes binary right handed and hex left handed

  • Moderators
  • 3,299 posts
  • Location:Karlstad, Sweden
  • Programming Language:C, Java, C++, C#, PHP, JavaScript, Pascal
  • Learning:Java, C#
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
__________________________________________
I study Information Systems at Karlstad University when I'm not on CodeCall

#10
alrazy1

alrazy1

    Learning Programmer

  • Members
  • PipPipPip
  • 38 posts

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.
can you guide me where i can find libraries for joomla ?
is ther tutorials for this ?
i dont mean the MVC pattern i mean full featured library like in codeigniter ?

#11
alrazy1

alrazy1

    Learning Programmer

  • Members
  • PipPipPip
  • 38 posts
if i am a pro in codeigniter for what i need drupal or joomla ?

#12
alrazy1

alrazy1

    Learning Programmer

  • Members
  • PipPipPip
  • 38 posts
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