Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:59376 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 24092 invoked from network); 6 Apr 2012 21:39:15 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Apr 2012 21:39:15 -0000 Authentication-Results: pb1.pair.com header.from=h.reindl@thelounge.net; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=h.reindl@thelounge.net; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain thelounge.net designates 91.118.73.15 as permitted sender) X-PHP-List-Original-Sender: h.reindl@thelounge.net X-Host-Fingerprint: 91.118.73.15 mail.thelounge.net Received: from [91.118.73.15] ([91.118.73.15:54024] helo=mail.thelounge.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 14/7B-57786-1826F7F4 for ; Fri, 06 Apr 2012 17:39:14 -0400 Received: from srv-rhsoft.rhsoft.net (openvpn-rh.thelounge.net [10.0.0.241]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.thelounge.net (Postfix) with ESMTPSA id 314B391 for ; Fri, 6 Apr 2012 23:39:11 +0200 (CEST) Message-ID: <4F7F627E.8040809@thelounge.net> Date: Fri, 06 Apr 2012 23:39:10 +0200 Organization: the lounge interactive design User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120329 Thunderbird/11.0.1 MIME-Version: 1.0 To: internals@lists.php.net References: <3C.7D.30259.C0B5E7F4@pb1.pair.com> <4F7F5F5B.8000903@thelounge.net> In-Reply-To: X-Enigmail-Version: 1.4 OpenPGP: id=7F780279; url=http://arrakis.thelounge.net/gpg/h.reindl_thelounge.net.pub.txt Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigDD9F00A6C9282CA2170151D2" Subject: Re: [PHP-DEV] PHP as a template language From: h.reindl@thelounge.net (Reindl Harald) --------------enigDD9F00A6C9282CA2170151D2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Am 06.04.2012 23:30, schrieb Tom Boutell: > Knock it off with the ad-hominem attacks please.=20 what do you expect by propose work for many people > It's not "change for the sake of change" to propose that PHP move on f= rom=20 > needing (and breaking mysteriously in weird > subtle ways if it's missing, due to unneeded whitespace being output) why are you making this whitespaces? fix your editor or get an IDE removing them at save > and recognize that it's a modern language in which you don't mix > unparsed HTML with source code. you are not in the position to dictate how people are working there are differences between projects, classes and rapid-development and thousands of good reasons using forever while you will not do this in many other projects and lcass files > Especially since I suggested offering > this feature when an alternate file extension is used, to make bc > possible. Your attitude discourages participation. but you are not realizing that extensuions are meaningless in the real world - you can configure httpd to parse .wtf with PHP BTW: you do not need to use reply-all, one msg to the list is enough > On Fri, Apr 6, 2012 at 5:25 PM, Reindl Harald = wrote: >> what exactly is your problem? >> having solution searching problem? >> >> what are people like you try to achieve? >> what would make you happy in breaking BC? >> what would you make happy generate lot of work for others? >> what would be better for anybody? >> >> change for the sake of the change is blindly stupid >> >> Am 06.04.2012 23:20, schrieb Tom Boutell: >>> To tell the truth I'd be more excited by a proposal to kill >> entirely, or more realistically, to support an alternate file >>> extension that doesn't need it. That would be an interesting option >>> for those who want to put "dribs and drabs of PHP sprinkled in HTML" >>> completely behind them. >>> >>> On Fri, Apr 6, 2012 at 5:19 PM, Tom Boutell wrote: >>>> I have to agree with that. Also: does PHP need to be a templating >>>> language anymore, given excellent templating language implementation= s >>>> in PHP, like Twig? >>>> >>>> On Fri, Apr 6, 2012 at 3:05 PM, John Crenshaw wrote: >>>>>> -----Original Message----- >>>>>> From: S=E9batien Durand [mailto:sunseb@live.com] >>>>>> Sent: Thursday, April 05, 2012 10:55 PM >>>>>> To: internals@lists.php.net >>>>>> Subject: [PHP-DEV] PHP as a template language >>>>>> >>>>>> IMHO, PHP is a great template language. This is what makes it so s= imple and powerful, compared to other web languages. >>>>>> >>>>>> So far, we have ">>>>> >>>>>> A suggestion : deprecate these old tags and replace them with a mo= re elegant and a shorter implementation. >>>>>> >>>>>> For example : "<%" and "<%=3D" or "{%" and "{{" ? >>>>>> >>>>>> What do you think, guys ? >>>>> >>>>> Honestly this is the wrong question. PHP as a template language has= much larger problems than this. The difference between however is= 56 characters, security, and encoding bugs. >>>>> >>>>> Proper handling of output escaping is standard in modern template l= anguages. The question shouldn't be "should we add a cooler short tag?". = The question should be "What needs to be done to make PHP an industry lea= der in template languages again?". >>>>> >>>>> My two cents, >>>>> >>>>> John Crenshaw >>>>> Priacta, Inc. >>>>> >>>>> -- >>>>> PHP Internals - PHP Runtime Development Mailing List >>>>> To unsubscribe, visit: http://www.php.net/unsub.php >>>>> >>>> >>>> >>>> >>>> -- >>>> Tom Boutell >>>> P'unk Avenue >>>> 215 755 1330 >>>> punkave.com >>>> window.punkave.com >>> >>> >>> >> >> -- >> >> Mit besten Gr=FC=DFen, Reindl Harald >> the lounge interactive design GmbH >> A-1060 Vienna, Hofm=FChlgasse 17 >> CTO / software-development / cms-solutions >> p: +43 (1) 595 3999 33, m: +43 (676) 40 221 40 >> icq: 154546673, http://www.thelounge.net/ >> >> http://www.thelounge.net/signature.asc.what.htm >> >=20 >=20 >=20 --=20 Mit besten Gr=FC=DFen, Reindl Harald the lounge interactive design GmbH A-1060 Vienna, Hofm=FChlgasse 17 CTO / software-development / cms-solutions p: +43 (1) 595 3999 33, m: +43 (676) 40 221 40 icq: 154546673, http://www.thelounge.net/ http://www.thelounge.net/signature.asc.what.htm --------------enigDD9F00A6C9282CA2170151D2 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk9/Yn4ACgkQhmBjz394Anl3UQCfQ/5MALx08xpLhY43uxnndg+v 1WwAnA5dlW6SCSmhDJfgBm1OccfblSmv =ugam -----END PGP SIGNATURE----- --------------enigDD9F00A6C9282CA2170151D2--