TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 11-27-2008, 04:49 AM   #1 (permalink)
The Visitor
Newcomer 
 
Join Date: Nov 2008
Posts: 2
Thanks: 0
byru is on a distinguished road
Default 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
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
byru is offline  
Reply With Quote
Old 11-28-2008, 08:38 AM   #2 (permalink)
The Addict
 
zxt3st's Avatar
 
Join Date: Apr 2008
Posts: 200
Thanks: 18
zxt3st is on a distinguished road
Default

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.
__________________
Serenity Project - 5% (Layout) - Ongoing....
Project Serenity Free Life!....
zxt3st is offline  
Reply With Quote
Old 02-06-2009, 05:32 AM   #3 (permalink)
The Visitor
 
Join Date: Feb 2009
Posts: 3
Thanks: 0
Anilkumar is on a distinguished road
Default Smarty aplication using in MVC Architecture

Hi,

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
Anilkumar is offline  
Reply With Quote
Old 02-06-2009, 02:35 PM   #4 (permalink)
La Vida es Sueño
Advanced Programmer Top Contributor 
 
Wildhoney's Avatar
 
Join Date: Sep 2007
Location: Oldham
Posts: 2,280
Thanks: 90
Wildhoney is on a distinguished road
Default

You'll probably get more of a response if you posted a new thread, Anil Don't be shy!
__________________
The man who comes back through the Door in the Wall will never be quite the same as the man who went out.
Send a message via AIM to Wildhoney Send a message via MSN to Wildhoney Send a message via Yahoo to Wildhoney
Wildhoney is offline  
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Freelance Suite: Client & Project Management Software CLCook Show Off 2 09-14-2008 10:50 AM
PHP Remote Plugins System Clooth Advanced PHP Programming 1 04-24-2008 08:37 PM
Plugin System freenity Advanced PHP Programming 12 04-01-2008 08:15 PM
Designing a tagging system Alan @ CIT Advanced PHP Programming 4 03-10-2008 03:25 PM
templating system TlcAndres General 2 02-19-2008 10:52 PM


All times are GMT. The time now is 06:21 PM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design