Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:59370 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 5215 invoked from network); 6 Apr 2012 19:05:15 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Apr 2012 19:05:15 -0000 Authentication-Results: pb1.pair.com header.from=johncrenshaw@priacta.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=johncrenshaw@priacta.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain priacta.com designates 64.95.72.241 as permitted sender) X-PHP-List-Original-Sender: johncrenshaw@priacta.com X-Host-Fingerprint: 64.95.72.241 mxout.myoutlookonline.com Received: from [64.95.72.241] ([64.95.72.241:49623] helo=mxout.myoutlookonline.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 33/18-57786-96E3F7F4 for ; Fri, 06 Apr 2012 15:05:15 -0400 Received: from mxout.myoutlookonline.com (localhost [127.0.0.1]) by mxout.myoutlookonline.com (Postfix) with ESMTP id A8F26417019; Fri, 6 Apr 2012 15:05:10 -0400 (EDT) X-Virus-Scanned: by SpamTitan at mail.lan Received: from HUB025.mail.lan (unknown [10.110.2.1]) by mxout.myoutlookonline.com (Postfix) with ESMTP id 2EF83417014; Fri, 6 Apr 2012 15:05:10 -0400 (EDT) Received: from MAILR001.mail.lan ([10.110.18.28]) by HUB025.mail.lan ([10.110.17.25]) with mapi; Fri, 6 Apr 2012 15:04:55 -0400 To: "sunseb@live.com" , "internals@lists.php.net" Date: Fri, 6 Apr 2012 15:05:04 -0400 Thread-Topic: [PHP-DEV] PHP as a template language Thread-Index: Ac0To4Wdm4Y9atP/SbCGMzSB4NUjjQAgtWXg Message-ID: References: <3C.7D.30259.C0B5E7F4@pb1.pair.com> In-Reply-To: <3C.7D.30259.C0B5E7F4@pb1.pair.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: RE: [PHP-DEV] PHP as a template language From: johncrenshaw@priacta.com (John Crenshaw) > -----Original Message----- > From: S=E9batien Durand [mailto:sunseb@live.com]=20 > 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 simple a= nd powerful, compared to other web languages. > > So far, we have " > A suggestion : deprecate these old tags and replace them with a more eleg= ant 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 la= rger problems than this. The difference between however is 56 characters= , security, and encoding bugs. Proper handling of output escaping is standard in modern template languages= . The question shouldn't be "should we add a cooler short tag?". The questi= on should be "What needs to be done to make PHP an industry leader in templ= ate languages again?". My two cents, John Crenshaw Priacta, Inc.