if we use smarty with pear we can implement the MVC pattern and call it a framework rather than a library ?
thanks
is it realy codeigniter framework is an MVC framework where you can build your apps ?
Started by alrazy1, Jan 15 2011 05:05 PM
2 replies to this topic
#1
Posted 15 January 2011 - 05:05 PM
|
|
|
#2
Posted 15 January 2011 - 05:38 PM
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.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
#3
Posted 15 January 2011 - 06:15 PM
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.
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
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


Sign In
Create Account


Back to top









