please advice: doing some thinking about mvc / templating system
Hi again , this is my first post so I hope this question is in the right place, if it's not please mods move it to the right place :) ..
as a web developer, I seem to evolve on a path which goes like this ..
1. Write HTML Pages and add PHP tags into them
2. Realize on a large scale, this is going to be hard to maintain *!*
3. Learn about MVC and start to think it's cool 8-)
4. Trying smarty templating engine ..
Basically, the way of templating engine works like this ( in my understanding ) :
a) do code in PHP
b) Call smarty and fill in the variables in a template
c) Send the output
please Correct me if I'm wrong ..
but then again, I think step a and b already use a lot of processing time .. if I have much bigger application I don't know how much process and took time..
I need advice, I'm doing some project with team in it at office and it seems to be large application. I need advice on method how am I gonna do it ? some say MVC is bad, some say it's not ..
Bear in mind, I'm newbie :-$ .. All I can do is procedural coding, a little bit of OOP ...
thanks in advance
Well, if its a big project you are doing. I recommend to use OO rather than the old-fashioned way in coding php projects.
With the templates, i have not even tried template system like smarty, phptal, etc but try to check their features and tutorials and have a glance on them, for sure they are great/useful. And if you can check the article section there is a PHPTal Tutorial there.
Smarty aplication using in MVC Architecture
can anyone help me for this issue?
I am going to implement a application in the smarty, with the MVC architecture , i previously worked on CakePHP, but i am very new to smarty , so please help me for this issue, give some example of structure of the coding.
Thanks in Advance,
Anil Kumar :'-(:'-(:'-(:'-(:'-(
You'll probably get more of a response if you posted a new thread, Anil :-) Don't be shy!
|All times are GMT. The time now is 09:33 AM.|
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0