Jump to content

is it realy codeigniter framework is an MVC framework where you can build your apps ?

- - - - -

  • Please log in to reply
2 replies to this topic

#1
alrazy1

alrazy1

    Learning Programmer

  • Members
  • PipPipPip
  • 38 posts
if we use smarty with pear we can implement the MVC pattern and call it a framework rather than a library ?
thanks

#2
Alexander

Alexander

    It's Science!

  • Moderators
  • 4,124 posts
  • Location:Vancouver, Eh! Cleverness: 200
With that I still do not think you have a controller, you will need to do a fair amount more to set up the model-controller than just using a portion of the PEAR library with smarty.
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.

#3
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 only have some parts helping you to code your own parts. Some well used codings has been put into PEAR so you don't have to re-invent the wheel every time.
Smarty is to be looked on at the same way, it's a library of function which helps you code smarter or more effective.

you can also see it as a bunch of pre-made functions, a lot like the in php built in functions, but they are placed outside as it's third party add-on software.

just because you get a car's engine and gearbox, you can't just take the two parts and start driving it as a car, you need to work out a body and connect them to each other first.
__________________________________________
I study Information Systems at Karlstad University when I'm not on CodeCall




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users