Re: [PHP] Re: Smarty Website down?

2007-03-27 Thread Mario Guenterberg
On Tue, Mar 27, 2007 at 07:27:18AM -0500, itoctopus wrote: > looks ok now > The site is ok now. Thanks Mario -- -- | havelsoft.com - Ihr Service Partner fuer Open Source | | Tel: 033876-21 966 | | Notruf: 0173

Re: [PHP] Re: Smarty and PEAR DB

2005-04-11 Thread Matthew Weier O'Phinney
* D. Wokan <[EMAIL PROTECTED]>: > Matthew Weier O'Phinney wrote: > > * Reynier Perez Mira <[EMAIL PROTECTED]>: > > > > > I'm using PEAR DB and Smarty. The case is that I have to pass a value = > > > from a query result to a Smarty var. I try to paginate results. See the = > > > code below: > > >

Re: [PHP] Re: Smarty and PEAR DB

2005-04-11 Thread D. Wokan
Matthew Weier O'Phinney wrote: * Reynier Perez Mira <[EMAIL PROTECTED]>: I'm using PEAR DB and Smarty. The case is that I have to pass a value = from a query result to a Smarty var. I try to paginate results. See the = code below:

Re: [PHP] Re: smarty

2004-04-14 Thread Chris de Vidal
Enrico Weigelt said: > Well, I'm a little bit "unpolite" against smarty, since it seems > that people tend to see it as "the best" (tm) and ignore other, > probably better solutions. (its the same thing w/ mysql or mailman) I'm "unpolite" against Smarty because I used to think PHP couldn't *easily

Re: [PHP] Re: smarty

2004-04-14 Thread pete M
>> + bound to the php-interpreter and cannot be used w/ other languages. this point is completely invalid... Haame me any other templating system that can be used across diffeerent languages ?? + content rendering process cannot be separated from the application > server. ITS NOT AN APPLICATION

Re: [PHP] Re: smarty

2004-04-14 Thread Enrico Weigelt
* Chris de Vidal <[EMAIL PROTECTED]> [2004-04-14 12:11:31 -0400]: > Hey PHP/Smarty templates aren't for everyone. No one said they were. But > for my next project I believe I'll be using native PHP as a template > engine. Well, I'm a little bit "unpolite" against smarty, since it seems that p

Re: [PHP] Re: smarty

2004-04-14 Thread Enrico Weigelt
* Tim Traver <[EMAIL PROTECTED]> [2004-04-14 09:00:24 -0700]: >Actually, you can use smarty in a way that solves those issues. Not without putting much code around smarty. > Simply not include the logic features of smarty in your templates. But how can I really prevent the one who writes t

Re: [PHP] Re: smarty

2004-04-14 Thread Chris de Vidal
Peter Morgan said: >>>We sit in front of a PC and mock up the forms/ pages/ nav bar etc.. That >>>stuff then gets coded. >> >>I agree, and I'm saying you can also do that with native PHP. >>I plan on doing that with the next site I build. Then if I see that it >>makes sense to use Smarty I will, b

Re: [PHP] Re: smarty

2004-04-14 Thread Chris de Vidal
Enrico Weigelt said: > I really don't like smarty. The idea is simply not right. It's a good idea; in fact, PHP was originally supposed to be a templating engine. You can easily separate business and presentation logic in either PHP or Smarty. > + does not separate (imperative) code from layout.

Re: [PHP] Re: smarty

2004-04-14 Thread Tim Traver
Enrico, Actually, you can use smarty in a way that solves those issues. Simply do not include the logic features of smarty in your templates. That way, the only thing included in the templates is html, and {$variables}. Then your web designers don't need to learn anything. The problem that you

Re: [PHP] Re: smarty

2004-04-14 Thread Enrico Weigelt
* Justin French <[EMAIL PROTECTED]> [2004-04-15 00:37:41 +1000]: > You must remember, Smarty is just a layer over PHP. All the functions > that you've listed exist in pure PHP code somewhere. It would > relatively easy to code equivalent templates in PHP. Yes, you're right. But then it shoul

Re: [PHP] Re: smarty

2004-04-14 Thread Chris de Vidal
pete M said: > We sit in front of a PC and mock up the forms/ pages/ nav bar etc.. That > stuff then gets coded. I agree, and I'm saying you can also do that with native PHP. I plan on doing that with the next site I build. Then if I see that it makes sense to use Smarty I will, but you can mock

Re: [PHP] Re: smarty

2004-04-14 Thread Enrico Weigelt
* pete M <[EMAIL PROTECTED]> [2004-04-14 13:50:19 +0100]: > Moving our sites to smarty is the best thing we've done at our company... > > > I do the php/database coding (logic) > the html designer does the templates/css > and the graphic designer does his bit. I really don't like smarty. The id

Re: [PHP] Re: smarty

2004-04-14 Thread John W. Holmes
From: "pete M" <[EMAIL PROTECTED]> > Think everyone is missing the point.. > the whole point of smarty is to take the presentation code away from the > logic Correct. The point your missing is that PHP can be on both sides of the equation. You can have PHP in your templates that only controls you

Re: [PHP] Re: smarty

2004-04-14 Thread pete M
Actually where it =really speeds thing up is the prototype/research/planning etc We sit in front of a PC and mock up the forms/ pages/ nav bar etc.. That stuff then gets coded. Doddle Pete Vicente Werner wrote: El Wednesday 14 April 2004 13:33, Chris de Vidal escribió: pete M said: Moving

Re: [PHP] Re: smarty

2004-04-14 Thread pete M
well said kelly !!! > So if we're trying to say that you don't need Smarty to make a simplistic > template, I think even the most diehard Smarty fanatic will agree. It just > sounds a lot like people who don't really see the power of Smarty, saying > that it's got no power and no benefit. That is

Re: [PHP] Re: smarty

2004-04-14 Thread Chris de Vidal
Justin French said: > You must remember, Smarty is just a layer over PHP. All the functions > that you've listed exist in pure PHP code somewhere. It would > relatively easy to code equivalent templates in PHP. > > Taking some random examples from your list: I believe Smarty users would say "Ye

Re: [PHP] Re: smarty

2004-04-14 Thread Kelly Hallman
Apr 14 at 9:33am, Chris de Vidal wrote: > pete M said: > > Moving our sites to smarty is the best thing we've done at our company. > > Just a few weeks ago, I'd have agreed wit' yah, but now I see Smarty as > mostly (not always) redundant. see my post where I learned that PHP > makes a great temp

Re: [PHP] Re: smarty

2004-04-14 Thread pete M
Think everyone is missing the point.. the whole point of smarty is to take the presentation code away from the logic Smarty is a template engine for PHP. More specifically, it facilitates a manageable way to separate application logic and content from its presentation. This is best described in

Re: [PHP] Re: smarty

2004-04-14 Thread Justin French
On 14/04/2004, at 11:38 PM, pete M wrote: How would you code that lot and remember its ALL to do with presentation ? You must remember, Smarty is just a layer over PHP. All the functions that you've listed exist in pure PHP code somewhere. It would relatively easy to code equivalent templates

Re: [PHP] Re: smarty

2004-04-14 Thread Vicente Werner
El Wednesday 14 April 2004 13:33, Chris de Vidal escribió: > pete M said: > > Moving our sites to smarty is the best thing we've done at our company... > > Just a few weeks ago, I'd have agreed wit' yah, but now I see Smarty as > mostly (not always) redundant. See my post where I learned that PHP

Re: [PHP] Re: smarty

2004-04-14 Thread pete M
what about the modifiers capitalize count_characters cat count_paragraphs count_sentences count_words date_format default escape indent lower nl2br regex_replace replace spacify string_format strip strip_tags truncate upper wordwrap and the functions capture config_load foreach,foreachelse includ

Re: [PHP] Re: smarty

2004-04-14 Thread Chris de Vidal
pete M said: > Moving our sites to smarty is the best thing we've done at our company... Just a few weeks ago, I'd have agreed wit' yah, but now I see Smarty as mostly (not always) redundant. See my post where I learned that PHP makes a great templating engine: http://marc.theaimsgroup.com/?l=php

Re: [PHP] Re: smarty vs. patTemplate vs. inclu

2003-02-21 Thread Awlad Hussain
Thanks guys I'll have ago with smarty, and let you guys know what I think :) Have a nice day -awlad - Original Message - From: "rush" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, February 21, 2003 2:18 PM Subject: Re: [PHP] Re: smarty vs. patTe

Re: [PHP] Re: smarty vs. patTemplate vs. inclu

2003-02-21 Thread rush
"Awlad Hussain" <[EMAIL PROTECTED]> wrote in message 00d801c2d9a7$05c5f360$0200a8c0@GATEWAY">news:00d801c2d9a7$05c5f360$0200a8c0@GATEWAY... > David, > Is there any point using smarty on s small site? eg: website consists of 6/8 > pages? If you are allready fluent with your template engine, yeah, w

Re: [PHP] Re: smarty vs. patTemplate vs. inclu

2003-02-21 Thread Awlad Hussain
David, Is there any point using smarty on s small site? eg: website consists of 6/8 pages? does it matter on the size of the site? -awlad - Original Message - From: "David Eisenhart" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, February 21, 2003 11:31 AM Subject: [PHP] Re: s

Re: [PHP] Re: [SMARTY] [Template - announce] Templeet 0.9.2 available

2002-11-07 Thread Maxim Maletsky
Because then you get to separate the content from layout. It is the main reason. -- Maxim Maletsky [EMAIL PROTECTED] "1LT John W. Holmes" <[EMAIL PROTECTED]> wrote... : > No offense, but it looks pretty useless to me. It looks like a wrapper for > PHP. You have to learn all of the "template"

Re: [PHP] Re: [SMARTY] [Template - announce] Templeet 0.9.2available

2002-11-07 Thread Fabien Penso
Hi 1lt ! Thu, 7 Nov 2002 09:18:00 -0500, tu as dit : > No offense, but it looks pretty useless to me. It looks like a wrapper for > PHP. You have to learn all of the "template" commands. Why not just learn or > teach your designer PHP, you'd save time. The idea of a templating system is > to

Re: [PHP] Re: [SMARTY] [Template - announce] Templeet 0.9.2 available

2002-11-07 Thread 1LT John W. Holmes
No offense, but it looks pretty useless to me. It looks like a wrapper for PHP. You have to learn all of the "template" commands. Why not just learn or teach your designer PHP, you'd save time. The idea of a templating system is to have very little logic in the HTML. My $0.02. ---John Holmes...