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] 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] 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
I looked at these briefly a couple of years ago but never really made great use of them. I also remember seeing an article in LinuxFormat about them which can be found at: http://www.linuxformat.co.uk/archives/LXF35.tut_php.pdf My understanding is that they are mainly intended for use in develo

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

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

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

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 code it? > > > If your lis

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 of the

Re: [PHP] Templates

2002-02-14 Thread Liam MacKenzie
Hey mate, There's several template engines out there, Take a look around here: http://www.hotscripts.com/PHP/Scripts_and_Programs/Content_Management/ Hope that helps ya! - Lum - Original Message - From: "Truniger, Stefan Martin" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thur

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

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

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/

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
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 third "footer" file which includes anyt

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

RE: [PHP] Templates & PHP

2001-02-23 Thread PHPBeginner.com
try these: search google for fast templates templates, check out sourceforge.net there's a whole bunch of this applications. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From:

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