Re: [PHP] working on a template system...

2006-07-01 Thread Martin Marques
On Thu, 29 Jun 2006, Charlene Wroblewski wrote: *joining the fray a little late* What is the difference between this, Smarty and template.inc? I have found Smarty to be unusable in my situation where a graphic designer needs to be able to edit the html and is easily confused by non-html.

Re: [PHP] working on a template system...

2006-06-29 Thread Charlene Wroblewski
*joining the fray a little late* What is the difference between this, Smarty and template.inc? I have found Smarty to be unusable in my situation where a graphic designer needs to be able to edit the html and is easily confused by non-html. So, I am using template.inc which is apparently

Re: [PHP] working on a template system...

2006-06-28 Thread Martin Marques
On Wed, 28 Jun 2006, Ligaya Turmelle wrote: Martin Marques wrote: Why not try to use one of the template systems that already exist? HTML_Template_IT, Smarty, etc. Or just use PHP... Because it's a mess. -- 21:50:04 up 2 days, 9:07, 0 users, load average: 0.92, 0.37, 0.18

Re: [PHP] working on a template system...

2006-06-28 Thread Robert Cummings
On Wed, 2006-06-28 at 07:32, Martin Marques wrote: On Wed, 28 Jun 2006, Ligaya Turmelle wrote: Martin Marques wrote: Why not try to use one of the template systems that already exist? HTML_Template_IT, Smarty, etc. Or just use PHP... Because it's a mess. Agreed. Mr. nail,

Re: [PHP] working on a template system...

2006-06-28 Thread tedd
At 8:32 AM -0300 6/28/06, Martin Marques wrote: On Wed, 28 Jun 2006, Ligaya Turmelle wrote: Martin Marques wrote: Why not try to use one of the template systems that already exist? HTML_Template_IT, Smarty, etc. Or just use PHP... Because it's a mess. That's because it got out of hand.

Re: [PHP] working on a template system...

2006-06-28 Thread Robert Cummings
On Wed, 2006-06-28 at 12:28, tedd wrote: At 8:32 AM -0300 6/28/06, Martin Marques wrote: On Wed, 28 Jun 2006, Ligaya Turmelle wrote: Martin Marques wrote: Why not try to use one of the template systems that already exist? HTML_Template_IT, Smarty, etc. Or just use PHP... Because

Re: [PHP] working on a template system...

2006-06-28 Thread Martin Alterisio
2006/6/28, Robert Cummings [EMAIL PROTECTED]: On Wed, 2006-06-28 at 07:32, Martin Marques wrote: On Wed, 28 Jun 2006, Ligaya Turmelle wrote: Martin Marques wrote: Why not try to use one of the template systems that already exist? HTML_Template_IT, Smarty, etc. Or just use PHP...

Re: [PHP] working on a template system...

2006-06-28 Thread Jon Anderson
I really don't understand why people have such disregard for PHP as a template system... I'm not saying one way is better or worse (it's really a matter of preference), just that the PHP way isn't implicitly bad or messy... /* The Smarty way */

Re: [PHP] working on a template system...

2006-06-28 Thread tedd
At 1:30 PM -0400 6/28/06, Robert Cummings wrote: On Wed, 2006-06-28 at 12:28, tedd wrote: At 8:32 AM -0300 6/28/06, Martin Marques wrote: On Wed, 28 Jun 2006, Ligaya Turmelle wrote: Martin Marques wrote: Why not try to use one of the template systems that already exist? HTML_Template_IT,

Re: [PHP] working on a template system...

2006-06-28 Thread Robert Cummings
On Wed, 2006-06-28 at 13:55, Jon Anderson wrote: I really don't understand why people have such disregard for PHP as a template system... I'm not saying one way is better or worse (it's really a matter of preference), just that the PHP way isn't implicitly bad or messy... /* The Smarty

Re: [PHP] working on a template system...

2006-06-28 Thread Robert Cummings
On Wed, 2006-06-28 at 13:59, tedd wrote: At 1:30 PM -0400 6/28/06, Robert Cummings wrote: On Wed, 2006-06-28 at 12:28, tedd wrote: At 8:32 AM -0300 6/28/06, Martin Marques wrote: On Wed, 28 Jun 2006, Ligaya Turmelle wrote: Martin Marques wrote: Why not try to use one of the template

Re: [PHP] working on a template system...

2006-06-28 Thread tedd
At 1:55 PM -0400 6/28/06, Jon Anderson wrote: I really don't understand why people have such disregard for PHP as a template system... I'm not saying one way is better or worse (it's really a matter of preference), just that the PHP way isn't implicitly bad or messy... /* The Smarty way */

Re: [PHP] working on a template system...

2006-06-28 Thread Martin Marques
On Wed, 28 Jun 2006 12:28:43 -0400, tedd [EMAIL PROTECTED] wrote: At 8:32 AM -0300 6/28/06, Martin Marques wrote: Because it's a mess. That's because it got out of hand. Now, practice the 3R's, regroup, rethink, and redo. Already did. That's when I started to use a template system.

Re: [PHP] working on a template system...

2006-06-28 Thread tedd
At 2:02 PM -0400 6/28/06, Robert Cummings wrote: On Wed, 2006-06-28 at 13:55, Jon Anderson wrote: I really don't understand why people have such disregard for PHP as a template system... I'm not saying one way is better or worse (it's really a matter of preference), just that the PHP way isn't

Re: [PHP] working on a template system...

2006-06-28 Thread Jon Anderson
Robert Cummings wrote: Simplistic examples don't properly illustrate the mess that occurs in complex situations. However, a simplistic example does properly illustrate my point nicely. I could even take one of my complex multi-page smarty templates, run and perl script to convert it, and end

Re: [PHP] working on a template system...

2006-06-28 Thread Robert Cummings
On Wed, 2006-06-28 at 14:19, Jon Anderson wrote: Robert Cummings wrote: Simplistic examples don't properly illustrate the mess that occurs in complex situations. However, a simplistic example does properly illustrate my point nicely. I could even take one of my complex multi-page smarty

Re: [PHP] working on a template system...

2006-06-28 Thread Robert Cummings
On Wed, 2006-06-28 at 14:10, tedd wrote: At 2:02 PM -0400 6/28/06, Robert Cummings wrote: On Wed, 2006-06-28 at 13:55, Jon Anderson wrote: I really don't understand why people have such disregard for PHP as a template system... I'm not saying one way is better or worse (it's really a

Re: [PHP] working on a template system...

2006-06-28 Thread tedd
At 2:35 PM -0400 6/28/06, Robert Cummings wrote: Not meaning to be contrary, but complex situations are supposed to be reduced to simplistic solutions. That's right, and a template engine simplifies the complexity. Cheers, Rob. Okay, whatever tools work for you. Like we used to say in my

Re: [PHP] working on a template system...

2006-06-28 Thread Robert Cummings
On Wed, 2006-06-28 at 15:10, tedd wrote: At 2:35 PM -0400 6/28/06, Robert Cummings wrote: Not meaning to be contrary, but complex situations are supposed to be reduced to simplistic solutions. That's right, and a template engine simplifies the complexity. Cheers, Rob. Okay,

Re: [PHP] working on a template system...

2006-06-28 Thread John Nichel
Robert Cummings wrote: On Wed, 2006-06-28 at 15:10, tedd wrote: At 2:35 PM -0400 6/28/06, Robert Cummings wrote: Not meaning to be contrary, but complex situations are supposed to be reduced to simplistic solutions. That's right, and a template engine simplifies the complexity. Cheers, Rob.

Re: [PHP] working on a template system...

2006-06-28 Thread Robert Cummings
On Wed, 2006-06-28 at 15:28, John Nichel wrote: Robert Cummings wrote: On Wed, 2006-06-28 at 15:10, tedd wrote: At 2:35 PM -0400 6/28/06, Robert Cummings wrote: Not meaning to be contrary, but complex situations are supposed to be reduced to simplistic solutions. That's right, and a

Re: [PHP] working on a template system...

2006-06-28 Thread Robert Cummings
On Wed, 2006-06-28 at 15:39, Robert Cummings wrote: On Wed, 2006-06-28 at 15:28, John Nichel wrote: Robert Cummings wrote: On Wed, 2006-06-28 at 15:10, tedd wrote: At 2:35 PM -0400 6/28/06, Robert Cummings wrote: Not meaning to be contrary, but complex situations are supposed to be

[PHP] cool your jets [WAS: Re: [PHP] working on a template system...]

2006-06-28 Thread Paul Novitski
Hey kids, I thought I was joining a PHP list, not a snarky ego-fest. I assume most of us are trying to get work done around here and are interested in programming QA. Please take your squabbles off-list or re-title them. They're off-topic and a waste of everyone's else's time. Yeah I've

RE: [PHP] cool your jets [WAS: Re: [PHP] working on a template system...]

2006-06-28 Thread Jay Blanchard
[snip] Can anyone recommend another PHP list where there's a much higher signal-to-noise ratio? [/snip] /dev/null comes to mind. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] working on a template system...

2006-06-28 Thread Martin Alterisio
2006/6/28, Jon Anderson [EMAIL PROTECTED]: I really don't understand why people have such disregard for PHP as a template system... I'm not saying one way is better or worse (it's really a matter of preference), just that the PHP way isn't implicitly bad or messy... /* The Smarty way */

Re: [PHP] cool your jets [WAS: Re: [PHP] working on a template system...]

2006-06-28 Thread Stut
Jay Blanchard wrote: /dev/null comes to mind. /dev/null came to my mind once. Not really sure what happened after that. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] cool your jets [WAS: Re: [PHP] working on a template system...]

2006-06-28 Thread phpninja
1:15 PM To: PHP-General Subject: [PHP] cool your jets [WAS: Re: [PHP] working on a template system...] Hey kids, I thought I was joining a PHP list, not a snarky ego-fest. I assume most of us are trying to get work done around here and are interested in programming QA. Please take your

Re: [PHP] cool your jets [WAS: Re: [PHP] working on a template system...]

2006-06-28 Thread Jochem Maas
Paul Novitski wrote: Hey kids, hi mom. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] cool your jets [WAS: Re: [PHP] working on a template system...]

2006-06-28 Thread Robert Cummings
On Wed, 2006-06-28 at 18:11, Jochem Maas wrote: Paul Novitski wrote: Hey kids, hi mom. Dad had an operation? -- .. | InterJinn Application Framework - http://www.interjinn.com |

Re: [PHP] cool your jets [WAS: Re: [PHP] working on a template system...]

2006-06-28 Thread Jochem Maas
Robert Cummings wrote: On Wed, 2006-06-28 at 18:11, Jochem Maas wrote: Paul Novitski wrote: Hey kids, hi mom. Dad had an operation? an invalid type conversion? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] cool your jets [WAS: Re: [PHP] working on a template system...]

2006-06-28 Thread tedd
At 12:11 AM +0200 6/29/06, Jochem Maas wrote: Paul Novitski wrote: Hey kids, hi mom. Oh no, not another one of those talks? What did I do this time? I wasn't anywhere near it, and no one saw me anyway. Besides mom, you should take some time off -- you appear to be wrapped a bit tight.

Re: [PHP] cool your jets [WAS: Re: [PHP] working on a template system...]

2006-06-28 Thread Robert Cummings
On Wed, 2006-06-28 at 18:35, Jochem Maas wrote: Robert Cummings wrote: On Wed, 2006-06-28 at 18:11, Jochem Maas wrote: Paul Novitski wrote: Hey kids, hi mom. Dad had an operation? an invalid type conversion? I dunno, did you try it? Did you catch anything? Maybe it needs to be

Re: [PHP] working on a template system...

2006-06-28 Thread tedd
At 3:21 PM -0400 6/28/06, Robert Cummings wrote: Your kidding right? What you say above and what you say below are different. You must think I'm stupid. Oh well. Robert ! Hey, don't get shorts in a knot -- I didn't mean anything of the sort. I seldom deliberately go out of my way to insult

Re: [PHP] working on a template system...

2006-06-28 Thread tedd
At 3:28 PM -0400 6/28/06, John Nichel wrote: reminds self to update his killfile list -- John C. Nichel IV Programmer/System Admin (ÜberGeek) Dot Com Holdings of Buffalo 716.856.9675 [EMAIL PROTECTED] humor /* please note the humor tags */ Does that mean because I agreed with you, I'm now

Re: [PHP] working on a template system...

2006-06-28 Thread tedd
At 3:39 PM -0400 6/28/06, Robert Cummings wrote: When did I ask you or anyone other than Tedd if they were living in a cave? Yeah, that's right -- he didn't infer that anyone else lived in a cave, just me. If you want anyone else to tell you that you live in a cave, then you'll have to stand

Re: [PHP] working on a template system...

2006-06-28 Thread tedd
At 5:34 PM -0300 6/28/06, Martin Alterisio wrote: Have you (all of you questioning the use of templates) ever worked in a project with more than one developer, where part of the team ARE NOT coders? WE understand code, but that's not the case for everyone else. Graphic designers don't like code,

Re: [PHP] working on a template system...

2006-06-28 Thread David Tulloh
Martin Alterisio wrote: 2006/6/28, Jon Anderson [EMAIL PROTECTED]: I really don't understand why people have such disregard for PHP as a template system... I'm not saying one way is better or worse (it's really a matter of preference), just that the PHP way isn't implicitly bad or messy...

Re: [PHP] working on a template system...

2006-06-28 Thread Robert Cummings
On Wed, 2006-06-28 at 19:29, tedd wrote: At 3:21 PM -0400 6/28/06, Robert Cummings wrote: Your kidding right? What you say above and what you say below are different. You must think I'm stupid. Oh well. Robert ! Hey, don't get shorts in a knot -- I didn't mean anything of the sort. I

Re: [PHP] cool your jets [WAS: Re: [PHP] working on a template system...]

2006-06-28 Thread Micky Hulse
Lol! Omg, you guys make reading my email so much more fun! Cheers! Micky -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] working on a template system...

2006-06-27 Thread sempsteen
hi, i'm working on a template system. Basically i'm building raw contents in arrays and then put them in templates by some special tags. for loop systems my basic array structure is like this: $array['key'][]['keyword'] = ... for example, for a bulletin board system, array structure for

Re: [PHP] working on a template system...

2006-06-27 Thread Martin Marques
Why not try to use one of the template systems that already exist? HTML_Template_IT, Smarty, etc. On Tue, 27 Jun 2006 10:22:42 +0300, sempsteen [EMAIL PROTECTED] wrote: hi, i'm working on a template system. Basically i'm building raw contents in arrays and then put them in templates by some

Re: [PHP] working on a template system...

2006-06-27 Thread Ligaya Turmelle
Martin Marques wrote: Why not try to use one of the template systems that already exist? HTML_Template_IT, Smarty, etc. On Tue, 27 Jun 2006 10:22:42 +0300, sempsteen [EMAIL PROTECTED] wrote: hi, i'm working on a template system. Basically i'm building raw contents in arrays and then put them