REST is the new SOAP. Yaml is the new XML. I'm guessing this news
just hasn't made it into any PHP frameworks yet.
that's a very oversimplifying statement.
REST is good for small requests and stuff but there are cases when SOAP
is needed (at least in cases when you have to connect to some
On Thu, 2008-02-14 at 09:29 +0100, Zoltán Németh wrote:
and by the way, symfony has YAML configuration files and a plugin for
REST services.
and Chisimba does YAML configs in the blog module, REST, SOAP and
XML-RPC services as well as a whole whack of XML-ish things.
--Paul
--
Hello,
I vote for Typo3 template system. If you work bunch of HTML only designers
this one best.
If you have some php avare designers, you should go with php based + memcached
template systems.
Second option was much faster anything else.
Just store the template into memcached and do some
About designers who don't know PHP.
There are two kinds
1). They draw only. They usualy don't know even HTML - they just draw.
2). They know HTML and make templates. usualy these people have to know HTML
and CSS very well. And I can't imagine how they can do that without knowing
at least Smarty
...
You won't find many solutions (if any) faster than require(). If all you
have currently is developers you don't really have reason to use a
custom templating language to slow things down. Even when you do get
designers, they should:
1. Not have the final say before systems go live
2.
As an aside, you can save lines when debugging by doing:
echo 'pre' . print_r( $var, TRUE ) . '/pre';
OMG, thanks for that. Lines are so expensive nowadays and all.
Sarcasm aside, when I'm debugging I like to be as concise as possible.
thnx,
Chris
--
PHP General Mailing List
when I'm debugging I like to be as concise as possible.
Concise? Really?
--
Richard Heyes
http://www.websupportsolutions.co.uk
Knowledge Base and Helpdesk software for £299 hosted for you -
no installation, no maintenance, new features automatic and free
** New Helpdesk demo now
On Wed, 2008-02-13 at 11:26 +, Richard Heyes wrote:
...
You won't find many solutions (if any) faster than require().
Mine is faster. Compiling to the requested page removes cache overhead
and file access overhead since the content is already
when I'm debugging I like to be as concise as possible.
Concise? Really?
Fair enough. Perhaps I should have said concise with my code, verbose
with my actual messages. :p
thnx,
Chris
Looking for
Lol...
If IE7 goes hun what?
I wonder what would happen in lt IE7 :)
GO FIREFOX!!!
Xavier
-Original Message-
From: Nathan Rixham [mailto:[EMAIL PROTECTED]
Sent: mercredi 13 février 2008 01:27
To: php-general@lists.php.net
Subject: Re: [PHP] Template system in PHP
*sigh* as always
] Template system in PHP
*sigh* as always, firefox obeys, ie7 goes huh what?
Nathan Rixham wrote:
Are you creating custom DTD's or 1.1 XHTML Mods then? I'd like to see
that, it's something I'd toyed with a few times in the past but found it
far too time consuming (even for me), and opted
@lists.php.net
Subject: Re: [PHP] Template system in PHP
Are you creating custom DTD's or 1.1 XHTML Mods then? I'd like to see
that, it's something I'd toyed with a few times in the past but found it
far too time consuming (even for me), and opted for the ol' redefine
everything in CSS
*lightbulb
On Thu, 2008-02-14 at 08:58 +0400, Xavier de Lapeyre wrote:
Sounds interesting...
Are your XML predefined or generated on the run? From say a DB?
From a compiler script that extends a base tag class... all it needs to
do is register the tag namespace, tag name, and the function that will
00:57
To: Shawn McKenzie
Cc: php-general@lists.php.net
Subject: Re: [PHP] Template system in PHP
On Tue, 2008-02-12 at 14:22 -0600, Shawn McKenzie wrote:
Ryan A wrote:
Add my vote too for Smarty
HTH,
-R
Hi,
I need to develop a website, but my management is rather unstable in his
vision for the layout.
I'm thinking of developing the components as classes and functions, and
then use a template system to render the layout.
If the management wishes to change the layout, I'll just have to modify
my
Hi,
I suggest you to use a framework. Lots of them implements template system
and more. You'll don't have to reinvent the wheel.
My favorit is Copix http://www.copix.org/
Email me if you need help.
Brice
On Feb 12, 2008 11:01 AM, Xavier de Lapeyre [EMAIL PROTECTED] wrote:
Hi,
I need to
Xavier de Lapeyre wrote:
Do any of you guys gurls know of a way to implement that template
system.
Smarty ?
(The best one I know of is that of Wordpress)
Regards,
Xavier de Lapeyre
Web Developer
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
eval() is my favorite templating engine.
http://php.net/eval
Ditto on Eval()
PHP is already a templating system. Why go the long way around?
eval()? Man, you guys have some seriously large cajones. :p
thnx,
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Because its painful and fun at the same time :)
Aleksandar
Quoting Nate Tallman [EMAIL PROTECTED]:
Ditto on Eval()
PHP is already a templating system. Why go the long way around?
On Feb 12, 2008 10:13 AM, Greg Donald [EMAIL PROTECTED] wrote:
On 2/12/08, Xavier de Lapeyre [EMAIL
On Tue, 2008-02-12 at 14:22 -0600, Shawn McKenzie wrote:
Ryan A wrote:
Add my vote too for Smarty
HTH,
-R
Looking for last minute shopping deals?
Find them fast with
*sigh* as always, firefox obeys, ie7 goes huh what?
Nathan Rixham wrote:
Are you creating custom DTD's or 1.1 XHTML Mods then? I'd like to see
that, it's something I'd toyed with a few times in the past but found it
far too time consuming (even for me), and opted for the ol' redefine
Are you creating custom DTD's or 1.1 XHTML Mods then? I'd like to see
that, it's something I'd toyed with a few times in the past but found it
far too time consuming (even for me), and opted for the ol' redefine
everything in CSS
*lightbulb* :: runs off to try css on custom tags why have i
On Feb 12, 2008 3:15 PM, Robert Cummings [EMAIL PROTECTED] wrote:
Custom tags (XML style ones anyways) provide support for arbitrary
ordering and omission of optional attributes. They nest nicer than
function calls, and they have the same general formatting as the HTML
with which you are
On Tue, 2008-02-12 at 15:02 -0600, Greg Donald wrote:
On Feb 12, 2008 2:57 PM, Robert Cummings [EMAIL PROTECTED] wrote:
I prefer content formatting encapsulation as provided by custom tags.
Decorators?
Custom tags (XML style ones anyways) provide support for arbitrary
ordering and omission
REST is the new SOAP. Yaml is the new XML. I'm guessing this news
just hasn't made it into any PHP frameworks yet.
REST is fine for small communications but really isn't a very good
solution for large and complex communication. SOAP is the 600 pound
gorilla. Usually I use XML-RPC because
On Feb 12, 2008 6:27 PM, Greg Donald [EMAIL PROTECTED] wrote:
On Feb 12, 2008 4:23 PM, Nathan Nobbe [EMAIL PROTECTED] wrote:
well thats what xslt is, which is pretty nice.
/\ is a statement, not a question ;)
Wow dude, you're a rock. I meant my question was rhetorical, not your
Michael McGlothlin wrote:
REST is the new SOAP. Yaml is the new XML. I'm guessing this news
just hasn't made it into any PHP frameworks yet.
REST is fine for small communications but really isn't a very good
solution for large and complex communication. SOAP is the 600 pound
gorilla.
Nathan Nobbe wrote:
On Feb 12, 2008 7:42 PM, Michael McGlothlin [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
REST is the new SOAP. Yaml is the new XML. I'm guessing this news
just hasn't made it into any PHP frameworks yet.
YAML doesn't seem significantly easier
On Feb 12, 2008 7:42 PM, Michael McGlothlin [EMAIL PROTECTED] wrote:
REST is the new SOAP. Yaml is the new XML. I'm guessing this news
just hasn't made it into any PHP frameworks yet.
YAML doesn't seem significantly easier (faster less intensive) to
parse than XML, it doesn't seem as
On Feb 12, 2008 4:23 PM, Nathan Nobbe [EMAIL PROTECTED] wrote:
well thats what xslt is, which is pretty nice.
/\ is a statement, not a question ;)
Wow dude, you're a rock. I meant my question was rhetorical, not your
statement about my question.
/me point Nathan to
On Feb 12, 2008 5:10 PM, Greg Donald [EMAIL PROTECTED] wrote:
On Feb 12, 2008 3:37 PM, Nathan Nobbe [EMAIL PROTECTED] wrote:
well thats what xslt is, which is pretty nice.
/\ is a statement, not a question ;)
/me point Nathan to http://en.wikipedia.org/wiki/Rhetorical_question
XSLT
Nathan Rixham wrote:
Shawn McKenzie wrote:
Ryan A wrote:
Add my vote too for Smarty
HTH,
-R
Looking for last minute shopping deals? Find them fast with Yahoo!
Search.
On Feb 12, 2008 3:37 PM, Nathan Nobbe [EMAIL PROTECTED] wrote:
well thats what xslt is, which is pretty nice.
/me point Nathan to http://en.wikipedia.org/wiki/Rhetorical_question
XSLT sucks, complete overkill.
--
Greg Donald
http://destiney.com/
--
PHP General Mailing List
On Feb 12, 2008 4:45 PM, Robert Cummings [EMAIL PROTECTED] wrote:
well thats what xslt is, which is pretty nice.
Nah, I don't bother with XSLT.
i know, i just thought id mention it, since xml was brought up and nobodys
even mentioned xslt yet.
i will likely move away from xslt, but i will
guys, you all know you can F5 in the view source bit of firefox yeah..
save's all the pre's and loads of time!
right click : view source : F5 till your done debugging.
:)
Christoph Boget wrote:
I agree. I usually add a little function like this to my PHP projects:
function debug( $var )
{
On Tue, 2008-02-12 at 16:37 -0500, Nathan Nobbe wrote:
On Feb 12, 2008 4:18 PM, Greg Donald [EMAIL PROTECTED] wrote:
On Feb 12, 2008 3:15 PM, Robert Cummings [EMAIL PROTECTED] wrote:
Custom tags (XML style ones anyways) provide support for arbitrary
ordering and omission of optional
On Tue, 2008-02-12 at 21:19 +, Nathan Rixham wrote:
Are you creating custom DTD's or 1.1 XHTML Mods then? I'd like to see
that, it's something I'd toyed with a few times in the past but found it
far too time consuming (even for me), and opted for the ol' redefine
everything in CSS
On Tue, 2008-02-12 at 15:18 -0600, Greg Donald wrote:
On Feb 12, 2008 3:15 PM, Robert Cummings [EMAIL PROTECTED] wrote:
Custom tags (XML style ones anyways) provide support for arbitrary
ordering and omission of optional attributes. They nest nicer than
function calls, and they have the
On Feb 12, 2008 4:18 PM, Greg Donald [EMAIL PROTECTED] wrote:
On Feb 12, 2008 3:15 PM, Robert Cummings [EMAIL PROTECTED] wrote:
Custom tags (XML style ones anyways) provide support for arbitrary
ordering and omission of optional attributes. They nest nicer than
function calls, and they
I agree. I usually add a little function like this to my PHP projects:
function debug( $var )
{
echo 'pre';
print_r( $var );
echo '/pre';
}
As an aside, you can save lines when debugging by doing:
echo 'pre' . print_r( $var, TRUE ) . '/pre';
thnx,
Chris
--
PHP General Mailing
2008/2/12, Xavier de Lapeyre [EMAIL PROTECTED]:
Hi,
I need to develop a website, but my management is rather unstable in his
vision for the layout.
I'm thinking of developing the components as classes and functions, and
then use a template system to render the layout.
If the management
I used Smarty for long time but now switched to two-step-rendering.
It's way more comfortable (for me). I suggest Zend_Layout + Zend_View
at the moment (framework.zend.com)
--
Łukasz Wojciechowski
On Feb 12, 2008 3:32 PM, Christoph Boget [EMAIL PROTECTED] wrote:
As an aside, you can save lines when debugging by doing:
echo 'pre' . print_r( $var, TRUE ) . '/pre';
OMG, thanks for that. Lines are so expensive nowadays and all.
--
Greg Donald
http://destiney.com/
--
PHP General
On Feb 12, 2008 1:58 PM, Nathan Rixham [EMAIL PROTECTED] wrote:
I still don't understand why general net users don't just like to see
print_r output; it's got all the info they could want, ordered and
structured *shrugs*
vote: text/plain
I agree. I usually add a little function like this to
Shawn McKenzie wrote:
Ryan A wrote:
Add my vote too for Smarty
HTH,
-R
Looking for last minute shopping deals?
Find them fast with Yahoo! Search.
On Feb 12, 2008 2:57 PM, Robert Cummings [EMAIL PROTECTED] wrote:
I prefer content formatting encapsulation as provided by custom tags.
Decorators?
--
Greg Donald
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Ryan A wrote:
Add my vote too for Smarty
HTH,
-R
Looking for last minute shopping deals?
Find them fast with Yahoo! Search.
Add my vote too for Smarty
HTH,
-R
Looking for last minute shopping deals?
Find them fast with Yahoo! Search.
http://tools.search.yahoo.com/newsearch/category.php?category=shopping
--
PHP
I still don't understand why general net users don't just like to see
print_r output; it's got all the info they could want, ordered and
structured *shrugs*
vote: text/plain
Aleksandar Vojnovic wrote:
Because its painful and fun at the same time :)
Aleksandar
Quoting Nate Tallman [EMAIL
I don't suggest the use of a template system unless you do need something as
complex as XSLT. PHP itself works very well for templating. Just write your
code so that the UI code is sepperate from the logic and everything is neat and
tidy without adding a layer of complexity. If you want a
Ditto on Eval()
PHP is already a templating system. Why go the long way around?
On Feb 12, 2008 10:13 AM, Greg Donald [EMAIL PROTECTED] wrote:
On 2/12/08, Xavier de Lapeyre [EMAIL PROTECTED] wrote:
Do any of you guys gurls know of a way to implement that template
system.
eval() is my
On 2/12/08, Xavier de Lapeyre [EMAIL PROTECTED] wrote:
Do any of you guys gurls know of a way to implement that template
system.
eval() is my favorite templating engine.
http://php.net/eval
--
Greg Donald
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To
Xavier de Lapeyre schreef:
Hi,
I need to develop a website, but my management is rather unstable in his
vision for the layout.
I'm thinking of developing the components as classes and functions, and
then use a template system to render the layout.
If the management wishes to change the layout,
another vote here for smarty - it's pretty much standard issue nowadays
and means should the need ever arise you can easily bring in a web
designer to do the html without having to worry about them learning some
new system.
Nathan
clive wrote:
Xavier de Lapeyre wrote:
Do any of you guys
smarty?
bastien
Date: Tue, 12 Feb 2008 14:01:11 +0400 From: [EMAIL PROTECTED] To:
php-general@lists.php.net Subject: [PHP] Template system in PHP Hi, I
need to develop a website, but my management is rather unstable in his
vision for the layout. I'm thinking of developing
On 2/12/08, Greg Donald [EMAIL PROTECTED] wrote:
REST is the new SOAP. Yaml is the new XML. I'm guessing this news
just hasn't made it into any PHP frameworks yet.
REST for the win.
SOAP is best left for the bathtub.
as far as templating engines go, a while back i wanted to see if i
could
56 matches
Mail list logo