|
Comments for: lep20020402
| Message # 1013738: |
|
Date: 10/11/02 00:37
By: ednark Profile Subject: RE: Template-like feature You may be new to PHP, but your instinct are good. Don't be coerced by what other people want/need. your system (Message # 1013280) gives you the same effect as the others described. As you do not have a development team, you have no need for a complex templating system. PROS: notice your system uses php to set up the template, php to call the template, php to store the variables, and php to write the variables. Using just simple php means your will be much faster then any template system which uses php to build complicated classes with complicated logic to act as search and replace engines on external files. CONS: however, doing what you are doing, embedding php in the .tpl files (which im assuming act as .php files), means they will most likely break the look of the page if using a wsywig, and will most likely be unreadable by any future html only team. This is sometimes unforgivable on a big project where there is little person to person communication with html only developers. MORAL: so if you don't need XML, or a complex Template System, then well, you don't need XML or a complex Template System. Stick with the easiest solution that works. and have fun. |
Previous Message | Next Message |
| Comments: | ||
| RE: I need help making a game | G-Kill@ | 12/05/04 12:27 |
| PHP Thread | Hemangini | 11/21/04 01:47 |
| PHP Thread | Hemangini | 11/21/04 01:47 |
| templating for php BY php??? | Kyle Simpson | 09/04/03 18:36 |
| ideas for email script | smitty | 03/01/03 12:07 |
| RE: How do I syndicate their news? | Capucera Kamar | 01/26/03 11:03 |
| RE: Outdated.. | Pemga | 01/09/03 08:54 |
| RE: This is convoluted | lcoughlin | 01/06/03 11:59 |
| RE: This is convoluted | Mladen | 10/14/02 05:06 |
| RE: Template-like feature | ednark | 10/11/02 00:37 |
| RE: Not very smart, not! | Andrew | 10/05/02 22:44 |
| Templates | Huyiono | 09/26/02 19:31 |
| RE: Template-like feature | Nepto | 09/18/02 07:09 |
| Help Me | Yuri | 09/16/02 22:28 |
| RE: This is convoluted | mike | 09/09/02 09:14 |
| Template-like feature | Richard H | 09/08/02 21:14 |
| php online book | gunuz | 08/12/02 08:35 |
| RE: Perl still looks better after reviewing this. | Matthew | 08/11/02 03:49 |
| RE: Doesn't work | batman | 08/06/02 08:56 |
| Thanx | Robert | 08/05/02 17:05 |
| RE: Perl still looks better after reviewing this. | Jason | 08/03/02 16:49 |
| RE: Quotes in FastTemplate | Renato Neves | 08/02/02 15:10 |
| Quotes in FastTemplate | Renato Neves | 07/29/02 15:24 |
| RE: Not very smart | Jason | 07/23/02 09:56 |
| a php code | S3c|Or | 07/22/02 17:31 |
| RE: Not very smart | jimson | 07/19/02 03:10 |
| RE: Fast Templates | Rory | 07/18/02 23:53 |
| RE: why PHP | Rory | 07/18/02 23:50 |
| columns or? | Robert | 07/14/02 01:03 |
| RE: Not very smart | loconet | 07/10/02 16:51 |
| php includes and gzip compression?? | ian | 07/08/02 00:02 |
| RE: Perl still looks better after reviewing this. | jfp | 07/07/02 10:46 |
| Templates done for speed | Ben Smith | 07/03/02 13:01 |
| RE: HTML variables via PHP to Access | Toyvo Yanski | 06/30/02 16:33 |
| Re:templates | sky | 06/27/02 23:37 |
| Perl still looks better after reviewing this. | Webmeister | 06/27/02 16:36 |
| RE: Not very smart | Brian | 06/25/02 13:25 |
| long live vlibTemplate ... | Kelvin Jones | 06/25/02 11:19 |
| RE: HTML variables via PHP to Access | Gary L | 06/25/02 11:11 |
| RE: help me ASAP | adhi | 06/24/02 04:07 |
| RE: HTML variables via PHP to Access | Allison Smith | 06/23/02 14:40 |
| Good idea! | Vingerhoed Johan | 06/22/02 17:51 |
| Wee Lep: Great Job!! | Ben | 06/20/02 17:52 |
| RE: HTML variables via PHP to Access | Ben | 06/20/02 17:49 |
| RE: help me ASAP | Ben | 06/20/02 17:43 |
| help me ASAP | diah | 06/19/02 12:06 |
| HTML variables via PHP to Access | Heidi Grange | 06/18/02 06:58 |
| let gets some perspective when posting replys | chris | 06/18/02 06:43 |
| RE: This is convoluted | Steve | 06/14/02 16:10 |
| RE:This is convoluted (Lets see this article) | The_WolfII | 06/13/02 20:39 |
| RE: Outdated.. | The_WolfII | 06/13/02 20:38 |
| RE: Do you do scripts for free? | Ashish | 06/10/02 05:00 |
| RE:This is convoluted (Lets see this article) | bill | 06/07/02 14:10 |
| RE: What is the code for... | Bill Berggren | 06/03/02 03:34 |
| RE: why PHP | ARS | 05/31/02 20:42 |
| RE: why PHP | Tim | 05/31/02 17:47 |
| What is the code for... | Constance | 05/30/02 19:07 |
| RE: why PHP | kaizer - dot | 05/27/02 13:22 |
| HTML call PHP | Phoebus | 05/26/02 15:46 |
| using regular expression will be of gr8 help | Hassan | 05/21/02 02:25 |
| RE: why PHP | Jason Marquand | 05/17/02 01:06 |
| How about using brackets instead? | Jon Wood | 05/16/02 13:12 |
| Difference with FastTemplate? | Snowman | 05/16/02 07:49 |
| RE: This is convoluted | James Elkins | 05/15/02 17:14 |
| Designers inserting comments for programmers | James Elkins | 05/15/02 17:07 |
| RE: This is convoluted | Digger Dirt Guy | 05/14/02 11:43 |
| LDAP in PHP code | Nguyen Minh Tuyen | 05/14/02 03:26 |
| And what about ETS? | fmarcia | 05/13/02 18:08 |
| What do you think about ModeliXe ? | weber | 05/13/02 08:22 |
| forms and databases | lane | 05/09/02 00:10 |
| Wow! This is complicated! | Matt | 05/08/02 15:49 |
| RE: This is convoluted | Erik Stephens | 05/05/02 01:33 |
| Template benchmarks | Christopher Brown-Floyd | 05/02/02 01:17 |
| RE: why PHP | Matt | 04/30/02 16:35 |
| RE: Need help | riot makaveli | 04/30/02 05:11 |
| How do I syndicate their news? | Add backend.php | 04/29/02 14:09 |
| help!!! | Marcus | 04/28/02 12:20 |
| Doesn't work | Stefan Horomnea | 04/27/02 18:39 |
| RE: why PHP | Jhakas Pundit | 04/26/02 17:58 |
| help me to learn HTML | anosh | 04/26/02 14:46 |
| RE: phplib templates | Victor | 04/26/02 08:25 |
| Would this be considered a template system? | Chauncey Thorn | 04/25/02 23:23 |
| I need help making a game | Rob | 04/24/02 14:31 |
| phplib templates | Udi landau | 04/23/02 10:55 |
| RE: HTML TAGES. | bart | 04/23/02 10:09 |
| Template using associative arrays | Allen | 04/21/02 23:28 |
| HTML TAGES. | muhammad bilal quzafi | 04/18/02 10:30 |
| so what is it Templates or XML? | Bill | 04/17/02 15:21 |
| RE: Do you do scripts for free? | Jason | 04/16/02 09:28 |
| This is convoluted | Johnathan Leppert | 04/16/02 03:15 |
| Need help | risto | 04/15/02 18:43 |
| What should go where? | risto | 04/15/02 18:29 |
| RE: why PHP | Rod K | 04/14/02 10:23 |
| Do you do scripts for free? | Katrina | 04/13/02 13:41 |
| RE: how to get specified data from .dat file | Denny | 04/12/02 15:48 |
| RE: why PHP | Denny | 04/12/02 15:14 |
| RE: why PHP | Matt | 04/11/02 15:54 |
| Left me more confused than when I started | Mark | 04/11/02 14:31 |
| how to get specified data from .dat file | Krishna Tamrakar | 04/11/02 08:12 |
| My own little template program | David Fischer | 04/10/02 13:45 |
| RE: why PHP | Rod K | 04/10/02 00:46 |
| My Tutorial -> SMARTY + PHPLIBS OOHFORM | Azril Nazli b Alias | 04/09/02 22:46 |
| RE: why PHP | Chris | 04/09/02 18:19 |
| Re: A REAL new working relationship | Matt | 04/09/02 16:26 |
| A REAL new working relationship | Matt | 04/09/02 16:20 |
| Funny, same thought | Chris | 04/09/02 08:24 |
| RE: How about using IntegratedTemplate? | Aloner | 04/07/02 15:02 |
| RE: The best template-engine! | Aloner | 04/07/02 14:58 |
| other language solution | Tim Parkin | 04/07/02 11:55 |
| The best 'real world' templating engine | Tim Parkin | 04/07/02 11:53 |
| RE: What's wrong with XML? | Junkie Doodle | 04/06/02 20:42 |
| RE: What's wrong with XML? | Captain Proton | 04/06/02 05:11 |
| why PHP | prashanth | 04/06/02 04:12 |
| RE: Not very smart | vincent | 04/06/02 04:02 |
| RE: What's wrong with XML? | vincent | 04/06/02 03:41 |
| What's wrong with XML? | Bruno | 04/05/02 10:36 |
| The best template-engine! | Linuxgod2000 | 04/05/02 10:26 |
| Fast Templates | Rodney O | 04/05/02 08:39 |
| RE: How about: MAKE YOUR DESIGNERS LEARN XSL | Dude | 04/05/02 07:43 |
| RE: How about: MAKE YOUR DESIGNERS LEARN XSL | Paolo Dina | 04/05/02 01:56 |
| Creating DataBase and spreadsheets. | Monica Lamani | 04/04/02 23:25 |
| How about using IntegratedTemplate? | sheep | 04/04/02 21:13 |
| RE: How about: MAKE YOUR DESIGNERS LEARN XSL | kybosh | 04/04/02 15:41 |
| How about: MAKE YOUR DESIGNERS LEARN XSL | Maximo Migliari | 04/04/02 12:33 |
| Not very smart | dotvoid | 04/04/02 08:22 |
| RE: Outdated.. | Bob Moore | 04/04/02 06:45 |
| RE: Outdated.. | vulgate | 04/04/02 04:00 |
| Outdated.. | Captain Proton | 04/03/02 14:18 |
|
If you are looking for help, please post on the appropriate forum here. Your questions will be answered much more quickly. | ||


