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
* 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:
> > >
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:
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
>> + 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
* 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
* 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
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
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.
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
* 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
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
* 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
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
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
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
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
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
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
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
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
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
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
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
"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
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
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"
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
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...
29 matches
Mail list logo