Advertisement  
  Home arrow Forums
Main Menu
Login
Recent Forum Posts
 Tuesday, 18 November 2008
BostonPHP Forum  


PHP templating systems - 2006/04/18 16:41 We are planning to use a templating system for our web site, so that programmers can work on the PHP code while the page designers can work on the XHTML. I've prototyped pages with Smarty (http://smarty.php.net) and they appear to slow the pages down considerably.

Has anyone seen benchmarks for any of the zillions of templating systems out there, regarding how much they slow pages down? Has anyone used Smarty, YATS, or the PEAR templating packages?

TIA!

Margy Levine Young, UUA
www.uua.org
  | | The administrator has disabled public write access.
Re:PHP templating systems - 2006/04/19 07:07 Have you used the cache in Smarty? A lot of BostonPHP folks are using it with good words about it. Check out Gabe's Smarty SIG in the forum, bet he can help.
  | | The administrator has disabled public write access.
Re:PHP templating systems - 2006/04/19 15:22 Whether we can use Smarty's caching depends on the page. For dynamic pages, caching has to be turned off, or you don't get up-to-date information from database calls. (e.g., http://linuxdev.uua.org:8080/margy/cong-search.php ).

I am doing a set of timings using Apache Bench (ab) of more-or-less identical pags with and without Smarty, and I will post the results. It looks like pages take 20% to 50% longer to load.

Margy
margy@uua.org, www.uua.org
  | | The administrator has disabled public write access.
Re:PHP templating systems - 2006/05/30 10:19 Consider alternative caching strategies...
If your db content is changed as part of a backend process...then that's where to place the caching process...whenever db updates made then update cache. Public users then will always see uptodate content and those pages will all come from cached objects.
If users are viewing _and_ changing content then slug the cache logic into those part of their interactions that modif the dbase.
If you want content navigation specific caching then consider evaluating TonyButStrong template engine in tandem with ezSQL database handler class. TBS has excellent page caching control and combined with ezSQL's excellent query caching control they give you great flexibility in this area.
There are some examples of various caching strategies/tricks using TBS/ezSQL at http://tomhenry.us/tbs3/
  | | The administrator has disabled public write access.
Re:PHP templating systems - 2006/05/31 05:10 We were hitting the same issue here, alot of times when people think they want a templating engine they really need a framework, like Xaraya or Drupal. If you are rolling your own app, something like Symfony is a necessity. Flexy is the best template engine there is - baked right into PEAR. I always try to utilize PEAR componentry first before trying to integrate something like Smarty.
  | | The administrator has disabled public write access.
"FULL TIME OPENING IN NJ FOR PHP DEVELOPERS" - 2006/09/20 04:37 Please find below the new Job description and get back to me

Title: PHP Developer
Location: NJ
Rate: DOE
Length: Full time
Industry: ANY
KEY EXPERIENCE: PHP, C++

As one of our engineers based in our Jersey City, NJ headquarters your development responsibilities will span every aspect of our product line. Strong C/C++, applet based Java and/or PHP combined with MySQL or Postgres database skills will give you the development tools needed to dive into networking, low level system stack, security and authentication development projects.
The successful candidate's experience should include some of the following:
-Networking knowledge: TCP, UDP, RPC, routing, latency and scalability
-Low Level System Stack: threads, memory, networking
-Security: encryption (SSL, IPSEC), certificates, NAT traversal
-Authentication: authorization technologies (LDAP, AD, Kerberos, PAM, SSO, RADIUS)
-Dynamic pages templating
Our dynamic environment is conducive to innovation and learning; you will push your skills to new heights and gain valuable experience in the most critical technology sector of the future. Our highly advanced embedded appliance is leading the cutting-edge world of secure remote administration of distributed environments and your technical prowess will contribute greatly to the success of our product, company and your career.

Related Keywords

C/C++, C++, Java, applet, PHP, Postgres, MySQL, database, dynamic pages templating, networking, TCP, UDP, RPC, routing, latency, scalability, stack, system, threads, memory, security, encryption, SSL, IPSEC, certificates, NAT traversal, authentication, authorization, LDAP, AD, Kerberos, PAM, SSO, RADIUS, development, engineer

E-MAIL YOUR CV'S TO dharma "AT" compuvis.com

Warm Regards,
Dharma Lenin
CVC, Inc.
3088 Route 27 Suite 5 | Kendall Park, NJ 08824
P: 732-312-5451 | F: 732-422-4667
E: dharma@compuvis.com
W: www.compuvis.com
  | | The administrator has disabled public write access.
Show your support
Polls
What's the average PHP rate in Boston
 
What's the PHP rockstar rate in Boston
 
Tag Cloud
Podcast
The BostonPHP podcast Podcast
Full Feed
 
Go to top of page  Home | Wiki | Search | Forums | Job Board | Newsletter | Latest News | Reservations | Classified Ads | Podcast Archive | MyAccount |