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 10-16-2009, 06:17 PM   #1 (permalink)
The Wanderer
 
hostpeyma's Avatar
 
Join Date: Oct 2009
Location: http://www.hostpeyma.com
Posts: 11
Thanks: 0
hostpeyma is on a distinguished road
Confused what is best template engine?

hi
i php coder and use smarty for template
is there any other engine?
i hopefully wait for your posts
we wanna create light portal with template
thanks
hostpeyma is offline  
Reply With Quote
Old 10-16-2009, 07:37 PM   #2 (permalink)
The Addict
 
Enfernikus's Avatar
 
Join Date: Jun 2008
Posts: 335
Thanks: 2
Enfernikus is on a distinguished road
Default

PHPTal if you really want to add another layer but php itself is a templating engine
__________________
My Blog
Enfernikus is offline  
Reply With Quote
Old 10-16-2009, 09:08 PM   #3 (permalink)
how quixotic are you?
 
ETbyrne's Avatar
 
Join Date: Dec 2007
Location: Lapeer, MI
Posts: 445
Thanks: 37
ETbyrne is on a distinguished road
Default

What Enfernikus means by PHP itself being a templating engine, he is referring to PHP code like this:

PHP Code:
<?php foreach($articles as $article): ?>

    <h2><?php echo $article['title']; ?></h2>
    <p><?php echo $article['content']; ?></p>

<?php endforeach; ?>


<?php if($user->is_admin()): ?>

    <p><a href="#">Post New Article</a></p>

<?php endif; ?>
It's faster and more powerful than any templating engine out there.
__________________
Dingo Web Systems > http://www.dingocode.com
My Website > http://www.evanbot.com
ETbyrne is offline  
Reply With Quote
Old 10-17-2009, 06:34 AM   #4 (permalink)
The Wanderer
 
hostpeyma's Avatar
 
Join Date: Oct 2009
Location: http://www.hostpeyma.com
Posts: 11
Thanks: 0
hostpeyma is on a distinguished road
Default

ok, but its not my require for template engine
i want have CMS with many HTML template,
user can install this template and use CMS in new style
so how can use this?
surly i don't want user see my php code.
hostpeyma is offline  
Reply With Quote
Old 10-17-2009, 11:42 PM   #5 (permalink)
The Addict
 
Enfernikus's Avatar
 
Join Date: Jun 2008
Posts: 335
Thanks: 2
Enfernikus is on a distinguished road
Default

Strictly speaking this is not true, WordPress is possibly the most popular blogging platform right now ( and gaining weight as a CMS ) and it's themes are php.

However if you insist on another layer than PHPTal & Smarty would be your best bets. I personally prefer Tal but it's not as user friendly as Smarty ( This is based on a survey we did of our customers and their attempts to customize their templates ) so if you're going for the masses it'd be best to go with Smarty as it's sort of a defacto templating engine
__________________
My Blog
Enfernikus is offline  
Reply With Quote
Old 10-18-2009, 07:11 AM   #6 (permalink)
The Wanderer
 
hostpeyma's Avatar
 
Join Date: Oct 2009
Location: http://www.hostpeyma.com
Posts: 11
Thanks: 0
hostpeyma is on a distinguished road
Default

yes, wordpress is PHP! i didn't think about this,
its good idea,
what's your advice for have block system
for example i have 4 template and user can choose in admin area and then can modify block place (stat block, post block and etc) and there is place for import header.
hostpeyma is offline  
Reply With Quote
Old 10-18-2009, 02:28 PM   #7 (permalink)
The Prestige
Upcoming Programmer Inquisitive 
 
Tanax's Avatar
 
Join Date: Sep 2007
Location: Sweden, Stockholm
Posts: 1,080
Thanks: 115
Tanax is on a distinguished road
Default

Somebody move this topic to a more correct forum?
__________________
Tanax is offline  
Reply With Quote
Old 10-27-2009, 05:21 AM   #8 (permalink)
is cute and cuddly
 
delayedinsanity's Avatar
 
Join Date: Mar 2008
Location: Vegas, Baby
Posts: 963
Thanks: 31
delayedinsanity is on a distinguished road
Default

Eh, templating engines are given away. ;)

Quote:
( and gaining weight as a CMS )
The Definitive Guide To Using Wordpress as a CMS
delayedinsanity 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
Template Engine hello-world General 20 03-18-2009 01:51 PM
Pure PHP template class. abiko Advanced PHP Programming 1 04-02-2008 05:45 PM
MySQLs new storage engine Alan @ CIT MySQL & Databases 0 01-29-2008 10:58 PM
Different style template system? Nor General 2 01-15-2008 01:10 PM
Need your feedback Tanax Absolute Beginners 29 10-11-2007 04:50 PM


All times are GMT. The time now is 06:46 AM.

 
     

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