RE: [PHP] Templates, PHP Frameworks, and DB Abstraction?

2006-07-01 Thread Martin Marques
On Fri, 30 Jun 2006, KermodeBear wrote: http://pear.php.net/package/DB/ This one has no more development, besides bug fixes. It was merged to create the one below. http://pear.php.net/package/MDB2/ -- 21:50:04 up 2 days, 9:07, 0 users, load average: 0.92, 0.37, 0.18 -

Re: [PHP] Templates, PHP Frameworks, and DB Abstraction?

2006-07-01 Thread Martin Marques
On Fri, 30 Jun 2006, Jay Paulson wrote: I'd like to get some feedback on what the list thinks is a good template engine other than smarty. PEARs HTML_Template_IT... or mix it with other HTML_Template* I'd also like to do some quick prototyping using a PHP framework does anyone have any recom

RE: [PHP] Templates, PHP Frameworks, and DB Abstraction?

2006-06-30 Thread KermodeBear
> Finally, does anyone have any suggestions for a good PHP database > abstraction library? PHP5 has PDO for database abstraction; check the manual for information on that one. If you're stuck with PHP4 then PEAR has several offerings: http://pear.php.net/package/DB/ http://pear.php.net/package/MDB

[PHP] Templates, PHP Frameworks, and DB Abstraction?

2006-06-30 Thread Jay Paulson
I'd like to get some feedback on what the list thinks is a good template engine other than smarty. I'd also like to do some quick prototyping using a PHP framework does anyone have any recommendations for one that is easy to pick up and run with? Finally, does anyone have any suggestions for a go

[PHP] Templates and partial rendering?

2006-03-28 Thread Sunstorm
Hello, I'm trying to find a graceful solution for a problem I ran into while trying to set up a templating system. The problem is as such: Every traditional templating solution implies that the template is assembled in a string with all the required data before being sent to the browser.

Re: [PHP] PHP templates

2004-08-17 Thread Justin Patrin
t; > > - Original Message ----- > From: "Justin French" <[EMAIL PROTECTED]> > To: "Octavian Rasnita" <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]> > Sent: Monday, August 16, 2004 4:38 AM > Subject: Re: [PHP] PHP templates > >

Re: [PHP] PHP templates

2004-08-16 Thread Robert Cummings
On Mon, 2004-08-16 at 02:31, Octavian Rasnita wrote: > Hi, > > I took a look to Smarty and Savant templating systems, and I like a few > things from both of them. > However, none of them are satisfactory. > > I don't like Smarty because it needs another language and I find Savant more > easy to

Re: [PHP] PHP templates

2004-08-15 Thread Octavian Rasnita
h" <[EMAIL PROTECTED]> To: "Octavian Rasnita" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, August 16, 2004 4:38 AM Subject: Re: [PHP] PHP templates > On 15/08/2004, at 7:02 AM, Octavian Rasnita wrote: > > > Hi all, > > > > I h

Re: [PHP] PHP templates

2004-08-15 Thread Justin French
On 15/08/2004, at 7:02 AM, Octavian Rasnita wrote: Hi all, I have seen that there are many templating systems for PHP. Which is the most used and the best you have found? Can you recommend me a free and good templating system? Ultimately it depends on who is going to be building those templates.

[PHP] Re: PHP templates

2004-08-14 Thread Hero Wunders
Hallo! I have seen that there are many templating systems for PHP. Which is the most used and the best you have found? Can you recommend me a free and good templating system? I like Savant because it is small and intuitive. You can find more info on: http://wiki.ciaweb.net/yawiki/index.php?area=Sav

Re: [PHP] PHP templates

2004-08-14 Thread Robby Russell
On Sat, 2004-08-14 at 14:02, Octavian Rasnita wrote: > Hi all, > > I have seen that there are many templating systems for PHP. Which is the > most used and the best you have found? > Can you recommend me a free and good templating system? > I use Smarty on a very frequent basis. It's very flexib

RE: [PHP] PHP templates

2004-08-14 Thread Watty
Try http://smarty.php.net/, I haven't used it myself but I have heard good things about it. Watty > -Original Message- > From: Octavian Rasnita [mailto:[EMAIL PROTECTED] > Sent: 14 August 2004 22:03 > To: [EMAIL PROTECTED] > Subject: [PHP] PHP templates > > Hi

[PHP] PHP templates

2004-08-14 Thread Octavian Rasnita
Hi all, I have seen that there are many templating systems for PHP. Which is the most used and the best you have found? Can you recommend me a free and good templating system? Thank you. Teddy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Templates Cached on Server

2004-07-28 Thread Justin Patrin
On Wed, 28 Jul 2004 14:41:20 -0400, rogue <[EMAIL PROTECTED]> wrote: > Hi all, > > I am doing some development work on a new server I put together. For > some reason, changes I make to PHP templates don't show up right away. > I have not figured out how long they tak

[PHP] PHP Templates Cached on Server

2004-07-28 Thread rogue
Hi all, I am doing some development work on a new server I put together. For some reason, changes I make to PHP templates don't show up right away. I have not figured out how long they take to start showing, but it could be somewhere around 30 - 60 seconds. Where is this setting mod

Re: [PHP] Templates Are Driving me Nuts

2004-07-13 Thread Paul Bissex
On Tue, 13 Jul 2004 10:48:34 -0400, John W. Holmes <[EMAIL PROTECTED]> wrote: [snip] > Everyone has their own ideas on whether this is needed and what kind of > templates to use. There are a ton of engines out there that you can use. > Some are simple and some turn into programming languages of the

Re: [PHP] Templates Are Driving me Nuts

2004-07-13 Thread John W. Holmes
EE wrote: Please help. This template thing is driving my nuts. I though maybe when I read more articles things will clear up; however, things got even worse. Every article writer has a different idea. Can anyone explain to me what are Templates for? What are the advantages of using them? If I use a

Re: [PHP] Templates Are Driving me Nuts

2004-07-13 Thread Justin Patrin
A template system allows you to (in most cases) use a special language, different than PHP, to write your HTML. At the simplest level, template languages replace special markers with content from PHP. More complicated types involve looping and other contro structures (if, then, else, etc.). Basica

RE: [PHP] Templates Are Driving me Nuts[Scanned]

2004-07-13 Thread Michael Egan
graphic design applications. In theory templates might offer a way of bridging this chasm - though I have my doubts. Regards, Michael Egan -Original Message- From: EE [mailto:[EMAIL PROTECTED] Sent: 13 July 2004 14:39 To: php.net Subject: [PHP] Templates Are Driving me Nuts[Scanned

[PHP] Templates Are Driving me Nuts

2004-07-13 Thread EE
Dears, Please help. This template thing is driving my nuts. I though maybe when I read more articles things will clear up; however, things got even worse. Every article writer has a different idea. Can anyone explain to me what are Templates for? What are the advantages of using them? If I use a t

Re: [PHP] Templates/Separate content from presentation

2003-11-01 Thread Pedro Pais
Thank you all for the information you gave me! :) I'll study every one of it and tell you in a short time about my choice :P Boyan Nedkov wrote: Harry Fuecks (phpPaterns(), see the link below) has a quite interesting opinion concerning php and the use of templates, with which I generally agree

Re: [PHP] Templates/Separate content from presentation

2003-11-01 Thread Boyan Nedkov
Harry Fuecks (phpPaterns(), see the link below) has a quite interesting opinion concerning php and the use of templates, with which I generally agreed, after spending some hard time to investigate the most suitable for me templating ideology/approach/system. I would suggest you first read this

Re: [PHP] Templates/Separate content from presentation

2003-11-01 Thread Burhan Khalid
Pedro Pais wrote: Hi! I've coded in PHP for a while, but I had to leave it for some time. Now I'm back, and I'd like to know what's currently being used to separate content from presentation, besides Smarty (that seems to be Google's top choice)? http://pear.php.net/package/HTML_Template_Flexy

Re: [PHP] Templates/Separate content from presentation

2003-10-31 Thread Robert Cummings
On Fri, 2003-10-31 at 22:23, Pedro Pais wrote: > Hi! > > I've coded in PHP for a while, but I had to leave it for some time. Now > I'm back, and I'd like to know what's currently being used to separate > content from presentation, besides Smarty (that seems to be Google's top > choice)? Templa

Re: [PHP] Templates/Separate content from presentation

2003-10-31 Thread Greg Donald
> I've coded in PHP for a while, but I had to leave it for some time. Now > I'm back, and I'd like to know what's currently being used to separate > content from presentation, besides Smarty (that seems to be Google's top > choice)? I tried Smarty for several weeks and found it was more than I nee

[PHP] Templates/Separate content from presentation

2003-10-31 Thread Pedro Pais
Hi! I've coded in PHP for a while, but I had to leave it for some time. Now I'm back, and I'd like to know what's currently being used to separate content from presentation, besides Smarty (that seems to be Google's top choice)? Thanx -- PHP General Mailing List (http://www.php.net/) To unsub

[PHP] Templates, custom functions, mysql

2003-08-14 Thread Tyler Longren
Hi list, I'm using TemplatePower (http://templatepower.codocad.com/) as my template engine. There will be multiple rows of results, and the data is stored in the $tpl->assign(); parts. The function gets projects for a given employee. My function is at the bottom of this e-mail. The problem is t

[PHP] Templates...

2003-07-14 Thread Donatas
Does anyone know any other way used in template engines for loops but creating array first and passing it to template class? This is rather annoying and it makes work slower and code harder to read. I've made my own template class with variable and loop support. Loop handling is way different

Re: [PHP] Templates

2003-02-14 Thread David Eisenhart
yeh, I'd totally agree with this. Smarty is fantastic The best one imho in PHP is Smarty. > I'd rank it up there with Template::Toolkit. Take a look: > > http://smarty.php.net/ > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Templates

2003-02-13 Thread php
On 13 Feb 2003 at 17:00, Darren Young wrote: > I'm looking around for some options on using templates with PHP. I've > used several Perl solutions in the past, but never tried it in PHP. > Digging on the web yields several options so I'd love some thoughts or > comments. The real driver is that th

Re: [PHP] Templates

2003-02-13 Thread Justin French
on 14/02/03 10:20 AM, Darren Young ([EMAIL PROTECTED]) wrote: > That's pretty much what I'm doing today, header page, menu page, content > page and a footer. Each of which includes a shared functions file as > well via require_once(). Only real problem is keeping track of > tables/rows/columns acr

RE: [PHP] Templates

2003-02-13 Thread Darren Young
rying to catch back up quickly. Any "best practices" assistance would be appreciated. Thanks for the response by the way. /DAY -Original Message- From: Justin French [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 13, 2003 5:22 PM To: Darren Young; [EMAIL PROTECTED] Su

Re: [PHP] Templates

2003-02-13 Thread Justin French
> If you update any code in any of the 3 include files, you will update the > entire site's look, feel and actions. It still allows for you to execute > unique PHP code either before or after the HTML starts too. I forgot to mention that a whole heap of your formatting and visial design can be ac

Re: [PHP] Templates

2003-02-13 Thread Justin French
Go for a complex situation if that's what you want, or consider the basics: home.php tag // include('inc/header_html.php'); ?> Welcome to our website! contact.php tag // include('inc/header_html.php'); ?> Contact us: [EMAIL PROTECTED] If you update any code in any of the 3 include files, yo

[PHP] Templates

2003-02-13 Thread Darren Young
I'm looking around for some options on using templates with PHP. I've used several Perl solutions in the past, but never tried it in PHP. Digging on the web yields several options so I'd love some thoughts or comments. The real driver is that the basic site design could change over time and I'd li

Re: [PHP] templates

2002-11-19 Thread Ernest E Vogelsinger
At 19:10 19.11.2002, Adam said: [snip] >Thanks, but not sure if this is what i'm looking for > >I just want to setup the PHP script so that the variable $filename can be >changed via a link such as 'index.php?filename="file.xml"', >causing the script to

Re: [PHP] templates

2002-11-19 Thread Adam
e - From: Ernest E Vogelsinger To: Adam Cc: Jonathan Sharp ; [EMAIL PROTECTED] Sent: Tuesday, November 19, 2002 5:17 PM Subject: Re: [PHP] templates At 18:04 19.11.2002, Adam spoke out and said: [snip] >Cheers for replying. &

Re: [PHP] templates

2002-11-19 Thread Ernest E Vogelsinger
At 18:04 19.11.2002, Adam spoke out and said: [snip] >Cheers for replying. > >I have the menu in place already, it is the PHP end i'm not sure about. >Currently I have many php files which only differ in one line: >$filename="file.xml"; > >I want to be able t

Re: [PHP] templates

2002-11-19 Thread Adam
From: "Jonathan Sharp" <[EMAIL PROTECTED]> To: "Adam" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, November 19, 2002 4:33 PM Subject: Re: [PHP] templates > I'm assuming you're trying to have a select list. > > Try this: > &

Re: [PHP] templates

2002-11-19 Thread Jonathan Sharp
I'm assuming you're trying to have a select list. Try this: File XML1 File foo Just make sure you test the value you get for file, so that someone doesn't pass you /etc/passwd (just an example). -js Adam wrote: > I am developing a site, using XML and PHP for formatting. I want to have one H

[PHP] templates

2002-11-19 Thread Adam
I am developing a site, using XML and PHP for formatting. I want to have one HTML template and call up the different XML files from a Javascript menu. Ideally i want to be able to call files from a link, such as: 'index.php?action=load&file="file.xml"' Not sure if this is the right format, b

Re: [PHP] templates and listbox

2002-04-12 Thread Analysis & Solutions
Hey Javier: On Thu, Apr 11, 2002 at 01:33:10PM -0300, Javier wrote: > But does it use templates? I want to use templates not functions that > generates html. What do you mean, it uses "templates not functions?" Smarty uses functions. Are you envisioning include files with scripts in them that

Re: [PHP] templates and listbox

2002-04-11 Thread Javier
But does it use templates? I want to use templates not functions that generates html. Analysis & Solutions wrote: > On Wed, Apr 10, 2002 at 06:32:18PM -0300, Javier wrote: > >>Does templates (eg php-templates or Smarty) fill automatically listboxes? >>Or do I need to co

Re: [PHP] templates and listbox

2002-04-10 Thread Analysis & Solutions
On Wed, Apr 10, 2002 at 06:32:18PM -0300, Javier wrote: > Does templates (eg php-templates or Smarty) fill automatically listboxes? > Or do I need to code it? If your list boxes are coming from data in a MySQL or ODBC database, check out my SQL Solution: http://www.sqlsolution.info/. One

[PHP] templates and listbox

2002-04-10 Thread Javier
Does templates (eg php-templates or Smarty) fill automatically listboxes? Or do I need to code it? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] templates and listbox

2002-04-10 Thread Javier
Does templates (eg php-templates or Smarty) fill automatically listboxes? Or do I need to code it? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] templates with php

2002-03-26 Thread javier
Has anybody uses other engine besides Smart or php-templates (@freebsd ports) I trying to get into the subject but I don't know which to start with. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Templates

2002-02-14 Thread Liam MacKenzie
;[EMAIL PROTECTED]> Sent: Thursday, February 14, 2002 7:46 PM Subject: [PHP] Templates Hi every1, I've been playing around with template.inc out of PHPLib. Now there's just one question dwelling in my head.. is it possible somehow to get the server to parse any html-file that is req

[PHP] Templates

2002-02-14 Thread Truniger, Stefan Martin
Hi every1, I've been playing around with template.inc out of PHPLib. Now there's just one question dwelling in my head.. is it possible somehow to get the server to parse any html-file that is requested. example: user requests file index.html, index.html is parsed thru a standard template to g

Re: [PHP] templates

2002-02-08 Thread Kunal Jhunjhunwala
day, February 09, 2002 1:22 AM Subject: Re: [PHP] templates > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > * and then Kunal Jhunjhunwala declared > > hey, > > which is the best template library out there? does anyone have any > > benchmarks? smarty? ph

Re: [PHP] templates

2002-02-08 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then Kunal Jhunjhunwala declared > hey, > which is the best template library out there? does anyone have any > benchmarks? smarty? phplib? any others? Hehe, still messing with templates kunal? There's a good article on PHPLib vs Fastemplat

[PHP] templates

2002-02-08 Thread Kunal Jhunjhunwala
hey, which is the best template library out there? does anyone have any benchmarks? smarty? phplib? any others? Regards, Kunal Jhunjhunwala "Minds think with ideas, not information. No amount of data, bandwidth, or processing power can substitute for inspired thought." - Clifford Stoll -- PHP

[PHP] Templates: how to get that HTML outta my templates!

2002-01-22 Thread Mikusch, Rita
Sorry for bringing this topic up yet again, but I'm having a real problem with the details of implementing a templates system. I'm read all the tutorials, articles, emails etc, but was hoping others on this list with the same problems could share how they solved them. Now I understand the basic l

[PHP] templates

2002-01-21 Thread Yorke
I was wondering if anyone knew of alternatives to the TEMPLATES methodology? thanks Yorke -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED

Re: [PHP] PHP templates vs XML

2001-10-29 Thread php
On Mon, 29 Oct 2001 14:02:32 -, you wrote: >The idea of a template system is that the HTML code/presentation of the final view to >the user/browser, can be >devised/maintained quite separately from the PHP code required to pull data out of >the back-end >db/processing/whatever. Correct? > >

[PHP] PHP templates vs XML

2001-10-29 Thread DL Neil
In an on-again-off-again desultory style, I keep trying to find the time to study template systems - and quite separately see if I can find a practical use for XML. The idea of a template system is that the HTML code/presentation of the final view to the user/browser, can be devised/maintained

[PHP] Templates???

2001-08-15 Thread Georgie
Can anyone direct me to some sample PHP code that extracts HTML from a template file and replaces the, say, "%field%" tags in the HTML with variables from the PHP file. Just like what Gossamer Threads Links program does with Perl. So, any 1 have any links?? -- PHP General Mailing List (http:/

Re: [PHP] templates

2001-07-23 Thread Jack Sasportas
For future purposes you should set your history to expire some ridiculous time in the future. I still reference sites from as far back as 2 years ago... It's really nice to be able to do that. I use netscape and my setting is 999 days.. Jack Kurth Bemis wrote: > At 11:29 AM 7/23/2001, Jack Sa

Re: [PHP] templates

2001-07-23 Thread Kurth Bemis
At 11:29 AM 7/23/2001, Jack Sasportas wrote: I last visited this site about 2 months ago...too long for any history :-( >Your web browser should have a history option, and you can sift through the >list of domains you surfed that approximate time frame ago...Also you can >search in some applicat

Re: [PHP] templates

2001-07-23 Thread Jack Sasportas
Your web browser should have a history option, and you can sift through the list of domains you surfed that approximate time frame ago...Also you can search in some applications like netscape the history file, and look for key things like templates... Good Luck Kurth Bemis wrote: > i've been

[PHP] templates

2001-07-23 Thread Kurth Bemis
i've been looking for a template site that i used and never bookmarked. I'll tell you what i remember about the site and hopefully someone will know what site i'm talking about. I've spend the last 5 hours looking for this siteso this is my final stab in the dark. The site had 4 categorie

Re: [PHP] PHP, Templates, XSLT

2001-07-03 Thread Marius Andreiana
> Anyways, has anyone experienced it with Sablotron? How did you like it? nice You can also try to check browser : if mozilla 0.9.1 or later (you choose) it can be parsed on the client; ie 6.0 isn't used yet... -- Marius Andreiana -- PHP General Mailing List (http://www.php.net/) To unsubsc

Re: [PHP] PHP, Templates, XSLT

2001-07-03 Thread Mark Charette
From: "Leonardo Dias" <[EMAIL PROTECTED]> > Anyways, has anyone experienced it with Sablotron? Yes. > How did you like it? Worked as advertised. Which is a bear sometimes - but that's due to XML limitations, not Sablotron's fault. > Was it any good? Yup. > Is it fast enough for big websites?

[PHP] PHP, Templates, XSLT

2001-07-03 Thread Leonardo Dias
Hi there, I was wondering if anyone ever tested XSLT. I know it's much more than a template system, but we are willing to use it as a transformation of XML purely as a template. Anyways, has anyone experienced it with Sablotron? How did you like it? Was it any good? Is it fast enough for big web

Re: [PHP] Templates??

2001-06-19 Thread py
at are his 6 categories of pages? I am focusing on "Templating" my sites now and I am interested in what was said there. py - Original Message - From: Les Neste <[EMAIL PROTECTED]> To: Daniel Guerrier <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, J

Re: [PHP] Templates??

2001-06-19 Thread Les Neste
The template defines the look and feel for a class of pages. The advantage is in allowing you to change one file -- the template file -- and have your changes be reflected in all the individual pages that use the template WITHOUT having to individually edit all of those pages. For smaller site

Re: [PHP] Templates??

2001-06-19 Thread Attila Strauss
Hi, > What the true advantage of using templates Abstraction between PHP and HTML. >where can I get info on using them? have a look at the well-known php sites like: http://www.phpbuilder.com/ http://www.phpdeveloper.org/ http://www.newbienetwork.net/ http://www.evilwalrus.com/

[PHP] Templates??

2001-06-18 Thread Daniel Guerrier
What the true advantage of using templates and where can I get info on using them? __ Do You Yahoo!? Spot the hottest trends in music, movies, and more. http://buzz.yahoo.com/

Re: [PHP] Templates/Graphics/Text

2001-05-02 Thread Philip Olson
sounds like you're wanting to do this : // get mode from url or preferences or somewhere $mode = strtolower($HTTP_GET_VARS['mode']); if ($mode == 'text') { include 'txt_template.php'; } else { include 'img_template.php'; } include 'content_page.html'; now : index.

Re: [PHP] Templates/Graphics/Text

2001-05-02 Thread Ashley M. Kirchner
Chris Anderson wrote: > Personally I prefer to do the following: > -Include things like navigation, banners, etc in a nav.inc file. Since > this is loaded first > I include meta tags for search engines in here > -My content goes in individual files, that can be dynamically loaded > -I have a thir

Re: [PHP] Templates/Graphics/Text

2001-05-02 Thread Chris Anderson
tion Programmer / www.Volition-net.com - Original Message - From: "Ashley M. Kirchner" <[EMAIL PROTECTED]> To: "PHP-General List" <[EMAIL PROTECTED]> Sent: Wednesday, May 02, 2001 5:27 PM Subject: [PHP] Templates/Graphics/Text | | I'm trying to

[PHP] Templates/Graphics/Text

2001-05-02 Thread Ashley M. Kirchner
I'm trying to figure out what's the best way to do something that may be simple, however I can't for the life of me envision it. I want to have three files as follows: [ NOTE: I may be thinking of this the wrong way (by thinking up three files.) If someone has a better sugges

Re: [PHP] Templates - Perl to PHP

2001-03-06 Thread Michael Kimsal
Hola - your English is mucho better than my Spanish (or is it Portguese in Brazil?) sorry! I assume you're looking for PHP code equivalents for this, correct? Is there any reason you can't just put the code in your template? That would do it just as well. Admittedly, there's

[PHP] Templates - Perl to PHP

2001-03-06 Thread Marco Aurélio
Hello! Do you know Links 2.0 by Gossamer-Threads ? Well, this perl script uses a template engine(annexed file) based in a modification of CGI::FastTemplate that give a useful flexibility for webdesigners. The facilities are that webdesigners can use logical functions in his tags on templates (ac

RE: [PHP] Templates & PHP

2001-02-23 Thread PHPBeginner.com
From: Maamiin [mailto:[EMAIL PROTECTED]] Sent: Friday, February 23, 2001 4:06 AM To: PHP General Newslist Subject: [PHP] Templates & PHP Where can I find some help, how to make & use page templates on my webpages??? Needs this some add-ons to my PHP3(Linux-main)/PHP4(win98+pws)? THNX --

[PHP] Templates & PHP

2001-02-22 Thread Maamiin
Where can I find some help, how to make & use page templates on my webpages??? Needs this some add-ons to my PHP3(Linux-main)/PHP4(win98+pws)? THNX -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

Re: [PHP] Templates

2001-01-15 Thread Paul K Egell-Johnsen
andrew wrote: > > Sure, > > My understanding of templating engines > 1.array or item is assigned to a variable > 2.php placeholders in a html page match in name to above variable. > 3.a parser separate from php subsitutes the variable values set in (1) > into (2) > > I've seen plent

Re: [PHP] Templates

2001-01-14 Thread Alex Black
Tenth St Suite 433 Berkeley, CA 94710-2522 > From: [EMAIL PROTECTED] (andrew) > Newsgroups: php.general > Date: 13 Jan 2001 17:06:48 -0800 > Subject: Re: [PHP] Templates > > Sure, > > My understanding of templating engines > 1.array or item is assigned to a variabl

Re: [PHP] Templates

2001-01-14 Thread Michael Kimsal
Not too similar to the caching issue of template output - I maybe missing something, but at least in our case, *every* page made with templates has custom info re: the client (name, etc) which can't, imo, be cached, unless we started caching multiple bits of the templates then assembling them - po

Re: [PHP] Templates

2001-01-13 Thread andrew
Yup, I believe so - I've been wrestling with this idea for a while and trying to figure out how to integrate it into the parser explained in a PHPBuilder Article on Cached Modules: http://www.phpbuilder.net/columns/jprins2201.php3 In the above, I think the point is to create little block tem

Re: [PHP] Templates

2001-01-13 Thread Michael Kimsal
I'm sure it could be done, just with a bit of planning. The notion of passing in sql results is not foreign - we do it sometimes to our own 'templates', but our templates are generally just HTML with a bit of PHP in there, whereas the initial PHP page is PHP with a tiny bit of HTML. If there's a

Re: [PHP] Templates

2001-01-13 Thread andrew
Sure, My understanding of templating engines 1.array or item is assigned to a variable 2.php placeholders in a html page match in name to above variable. 3.a parser separate from php subsitutes the variable values set in (1) into (2) I've seen plenty of examples where there is a file

Re: [PHP] Templates

2001-01-13 Thread Michael Kimsal
I thought I understood your question, but I think I need a clarification. Can you elaborate a bit? I think I have an answer, but I'm not 100% what you're meaning here. Thanks. andrew wrote: > Michael, > > Wouldn't a benefit be that you could pass a database query in via that > variable, eithe

Re: [PHP] Templates

2001-01-13 Thread andrew
Michael, Wouldn't a benefit be that you could pass a database query in via that variable, either via form submit or value of a clicked link? I know PHP can do this without a separate templating engine, but if you do use one then you can submit an array to a specific template. Is there a way

Re: [PHP] Templates

2001-01-13 Thread Michael Kimsal
[EMAIL PROTECTED] wrote: > I looked around the web for templates and founf FastTemplates. Not exactly > what i was looking for thoug > lets say I have > $file = "111" > and there is a template "template.txt" > and it contains > "file #$file is blahlah" > > how can I make that a template? > > Th

[PHP] Templates

2001-01-12 Thread PeterOblivion
I looked around the web for templates and founf FastTemplates. Not exactly what i was looking for thoug lets say I have $file = "111" and there is a template "template.txt" and it contains "file #$file is blahlah" how can I make that a template? Thanks - Peter -- PHP General Mailing List (h