473,668 Members | 2,586 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Which template system?

Hi,

I have been doing some reading on the template systems available for use
with php to separate design from coding.

I have been looking at the FastTemplate and Smarty solutions. From the
benchmarks I have seen, the FastTemplate solution looks the fastest where
there is no acceleration on the server, but where there is acceleration,
Smarty is by far the quickest in terms of performance.

I use web space from a hosting company. Presumably this means I can't
install my own accelerator through tweaking the php.ini file? Also,
phpinfo() for the server states that the Zend Engine v1.2.0 is running. Will
this act as an accelerator and so boost performance?

Any help is appreciated.

Thank you,

Ian
Jul 17 '05 #1
4 2162
"beale" <no*@home.com > wrote in message
news:bl******** **@sparta.btint ernet.com...
Hi,

I have been doing some reading on the template systems available for use
with php to separate design from coding.

I have been looking at the FastTemplate and Smarty solutions. From the
benchmarks I have seen, the FastTemplate solution looks the fastest where
there is no acceleration on the server, but where there is acceleration,
Smarty is by far the quickest in terms of performance.

I use web space from a hosting company. Presumably this means I can't
install my own accelerator through tweaking the php.ini file? Also,
phpinfo() for the server states that the Zend Engine v1.2.0 is running. Will this act as an accelerator and so boost performance?


I do not think so, you need PHP accelerator to be installed. It is free, so
maybe your host could be persuaded to install it, especially since it would
save their resources.

While you are looking at template solutions, if you are interested, please
also take a look on the TemplateTamer. If you need any advice or question
regarding it, I will be happy to help you out.

rush
--
http://www.templatetamer.com/

Jul 17 '05 #2
KAH
"beale" <no*@home.com > wrote in news:bl******** **@sparta.btint ernet.com:
I use web space from a hosting company. Presumably this means I can't
install my own accelerator through tweaking the php.ini file? Also,
phpinfo() for the server states that the Zend Engine v1.2.0 is
running. Will this act as an accelerator and so boost performance?


Zend Engine is actually the foundation block of PHP. There is a Zend module
(which I suppose is the one rush discussed) available freely from Zend that
provides acceleration. See http://zend.com/

There's a number of other acceleration solutions (often combined with
sourcecode encryption, also the case with Zend's module) too, do a search
for it.

KAH
Jul 17 '05 #3
"KAH" <ka*@kahnews.cj b.net> wrote in message >
There's a number of other acceleration solutions (often combined with
sourcecode encryption, also the case with Zend's module) too, do a search
for it.


I was refering to ionCube php Accelerator:

http://www.php-accelerator.co.uk/

which is used by hosting company I am with, probably because it is free :) .
It does produce great results for compiled template engines like Smarty or
TemplateTamer, sometimes of order of magnitude better results.

Zend of course has its products, Zend accelerator and Zend performance
suite. I did not have opportunity to try them, but I assume they are very
good products. But they also cost some amount of money.

rush
--
http://www.templatetamer.com/

Jul 17 '05 #4
KAH
"rush" <pi**@rush.aval on.hr> wrote in news:bm******** *@ls219.htnet.h r:
Zend of course has its products, Zend accelerator and Zend
performance suite. I did not have opportunity to try them, but I
assume they are very good products. But they also cost some amount of
money.


There's a free acceleration module from Zend, Zend Optimizer. Supposedly it
can speed up runtime performance by 40%.

http://www.zend.com/store/products/zend-optimizer.php
Jul 17 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1573
by: Bernd Fuhrmann | last post by:
Hi! I have two (or more) templates for one certain tag: The first one: tobeimported.xsl: <?xml version="1.0" encoding="iso-8859-1"?> <xsl:stylesheet version="1.0"
0
1539
by: Sudipto Sen | last post by:
================== Problem Description ================== Following code is for 1. Load a Word Template called CustomerInfo1.dot 2. CustomerInfo1.dot is a normal Word Template with Form fields 3. After opening a document on that template, I put "2" in all the fields for test Problem is,
8
2458
by: Colin Mc Mahon | last post by:
Hi all, I am currently using a system you are probably familiar with if you have done any templating with vbscript, define a template file with special tokens in it(like ##Content## etc), load the file and replace these with strings on each page. This works well but means on some pages there are vast string concatenations to make up the content areas etc. I had a bit of a brainwave and started rewriting my templating functions to...
0
2794
by: Andrea Trevisan | last post by:
That's a revival of a known thing I suppose.I hope it's useful. My problem was: I want to have a DataGrid with two Template columns: first with TextBox,second with Button.I want to fire an event from button and I want to have a reference to TextBox to make use of it.The most difficult was the reference to TextBox. This sample is taken from MCAD/MCSD Exam 70-305/70-315 of Microsoft Press.This book is much more exhaustive than the brief...
0
1573
by: Daniel Perron | last post by:
Hi, I was trying to use Galois.Net to specify code generators and I had to look for some text template tool to simplify the syntax. I was looking for something similar to the syntax of an Asp.Net page; for example, a template file could look like the following: <%@ Assembly Name="ReturnString.dll" %> <html> <title>Testing generator</title>
2
2621
by: damonf | last post by:
I'm currently trying to add an ASP hyperlink to a template column in a datagrid. The normal hyperlink column doesn't give me the ability to add attributes to the item. In my grid there are four columns. Three are databound to a dataset and one is a template column. I need to be able to access each item in the template column (getting access to the hyperlink) then adding an attribute to call some client side code. Does anyone know...
2
1464
by: John Boers | last post by:
I am trying to create a template for my website. But I have a problem, the system says BC30469: Reference to a non-shared member requires an object reference and points to the statement PageBase.Render( writer ). I create the template by overriding the System.Web.UI.Page.Render method. Then in every page I refer to the designed template. Please explain to me where I go wrong. Look here for the live errormessage:...
14
2336
by: J.S. | last post by:
In a Windows Form application, which is the better method to concatenate large blocks of code? 1. Reading the text from text files. 2. Adding the text to the VB file itself? Thanks! J.S. --
3
13741
by: NateDawg | last post by:
I'm reposting this. I'm kinda in a bind untill i get this figured out, so if anyone has some input it would sure help me out. Ok, I’ve noticed a few gridview problems floating around the forum. Everyone wants to do a java confirmation box when a user clicks the delete button. Fair enough, basic user design rules state that you should always confirm a delete action. There is also a consensus that the best way to do this is a template...
1
1827
by: WebCM | last post by:
I'm looking for a good idea or ready library for templates. HTML with PHP isn't the best solution (it's more difficult for end-users of CMS to edit them). Perhaps, everything I need is: - variables - e.g. {var} - sections or conditions (some elements won't be printed out) - loops or selecting fragments* - cache (recommended for speed) The template system must be fast and efficient. Most probably I will create own library for CMS...
0
8462
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8381
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8797
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8583
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8656
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5681
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4205
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
2023
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1786
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.