Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:59372 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 18205 invoked from network); 6 Apr 2012 21:20:40 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Apr 2012 21:20:40 -0000 Authentication-Results: pb1.pair.com header.from=tom@punkave.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=tom@punkave.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain punkave.com designates 209.85.213.42 as permitted sender) X-PHP-List-Original-Sender: tom@punkave.com X-Host-Fingerprint: 209.85.213.42 mail-yw0-f42.google.com Received: from [209.85.213.42] ([209.85.213.42:64635] helo=mail-yw0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id FD/2A-57786-72E5F7F4 for ; Fri, 06 Apr 2012 17:20:39 -0400 Received: by yhfq11 with SMTP id q11so1576233yhf.29 for ; Fri, 06 Apr 2012 14:20:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding:x-gm-message-state; bh=xBhiAgizegg7LdjVeUNKOWRFmgn0eA8lfDgtpTE7iZM=; b=ApP4WWqnsMv/wfGEM88lRs0EaxR5Fr9qXwTuTVxlvr9G6b6OnAeSwZAW2w0zufOe45 I92pQs5FMVPSH0eCjd+3wMJ9bOjRYotwnLJB2KQAMHZ0Fp4tJaq2LiY7ZBM2ZJTimbbJ euRVLbwDOTpBHz4oRsoqmJ/p/UIQ9u9WQ2U1IIqSwm/jBkM7WmIjEKIMZ8If0ExHT+A4 v+ZnJkXk6nd7ZXAE3LGDjzLXAxUNZiX26dm0EYi3v8LBceBRyoCr+XFKrrvpJIVcNkYH wI/w1oKCPO2ujBQxR6w6U/x9ppO8uZy3FDHkCVaXJJlSynUH7SGwDshAdEr/5OgmZrZT N6Cg== MIME-Version: 1.0 Received: by 10.236.156.130 with SMTP id m2mr8119483yhk.102.1333747237028; Fri, 06 Apr 2012 14:20:37 -0700 (PDT) Received: by 10.100.35.16 with HTTP; Fri, 6 Apr 2012 14:20:36 -0700 (PDT) In-Reply-To: References: <3C.7D.30259.C0B5E7F4@pb1.pair.com> Date: Fri, 6 Apr 2012 17:20:36 -0400 Message-ID: To: PHP Internals Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQnmX8JjOZX3zfnpxxMbnAzB4+PWAloKCDO/TXAAOJya3r0rTdFkGAImvPf/bGEbhWJ7J5pe Subject: Re: [PHP-DEV] PHP as a template language From: tom@punkave.com (Tom Boutell) To tell the truth I'd be more excited by a proposal to kill wrote: > I have to agree with that. Also: does PHP need to be a templating > language anymore, given excellent templating language implementations > 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 simple= and powerful, compared to other web languages. >>> >>> So far, we have ">> >>> A suggestion : deprecate these old tags and replace them with a more el= egant 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 charact= ers, security, and encoding bugs. >> >> Proper handling of output escaping is standard in modern template langua= ges. The question shouldn't be "should we add a cooler short tag?". The que= stion should be "What needs to be done to make PHP an industry leader in te= mplate 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 --=20 Tom Boutell P'unk Avenue 215 755 1330 punkave.com window.punkave.com