Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:59375 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 21948 invoked from network); 6 Apr 2012 21:30:48 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Apr 2012 21:30:48 -0000 Authentication-Results: pb1.pair.com smtp.mail=tom@punkave.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=tom@punkave.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain punkave.com designates 209.85.161.170 as permitted sender) X-PHP-List-Original-Sender: tom@punkave.com X-Host-Fingerprint: 209.85.161.170 mail-gx0-f170.google.com Received: from [209.85.161.170] ([209.85.161.170:65534] helo=mail-gx0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AC/FA-57786-7806F7F4 for ; Fri, 06 Apr 2012 17:30:48 -0400 Received: by ggmb2 with SMTP id b2so1579822ggm.29 for ; Fri, 06 Apr 2012 14:30:45 -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 :cc:content-type:content-transfer-encoding:x-gm-message-state; bh=NdzbCjWqsHrgN+peWCohkh/ZFY628orqaNAwAre01ZY=; b=YryDuHTTZ1tviS0ZEyq6tCuW6g05KfZSuykxfWLB5hy12zJbMqM5N4/G4b1mZLU3M4 h2oB01mNr9SfpVaJjvEWu2ao3+aiNnanc2L/dQPvz7J/yz/Z6OcvaIuOz00ismuqqnKn Ki3ioVPAN5OWTIKSW1bJV0xH4lExwAlzPeg8ZPiH1VEiGwymgBTkLo9GdOb3mEvUVKIz C4+e9PozxNUsbvZLhB+oActwY0hcTC710g5/mKWCs15h6QTuibW8nJX5N2wVeO+Cievu ak7hQkPoPOZo7ngwY6e1Jl5vnNNX86lFF92rziQMiTANtz63CNEBvkKvj+FO/7nUlLNz NGAg== MIME-Version: 1.0 Received: by 10.236.184.202 with SMTP id s50mr8078265yhm.84.1333747845293; Fri, 06 Apr 2012 14:30:45 -0700 (PDT) Received: by 10.100.35.16 with HTTP; Fri, 6 Apr 2012 14:30:45 -0700 (PDT) In-Reply-To: References: <3C.7D.30259.C0B5E7F4@pb1.pair.com> <4F7F5F5B.8000903@thelounge.net> Date: Fri, 6 Apr 2012 17:30:45 -0400 Message-ID: To: Reindl Harald Cc: internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQlQgfNgKEyAuSnVjIk/SatlONhuVMcAIfccwF2yc0ny5+8pSkHoCyW3C1WRu/ZgLL/it0YT Subject: Re: [PHP-DEV] PHP as a template language From: tom@punkave.com (Tom Boutell) I should have said "breaking mysteriously in weird subtle ways if there are blank lines before wrote: > Knock it off with the ad-hominem attacks please. It's not "change for > the sake of change" to propose that PHP move on from needing the stop of every class file (and breaking mysteriously in weird > subtle ways if it's missing, due to unneeded whitespace being output) > and recognize that it's a modern language in which you don't mix > unparsed HTML with source code. Especially since I suggested offering > this feature when an alternate file extension is used, to make bc > possible. Your attitude discourages participation. > > On Fri, Apr 6, 2012 at 5:25 PM, Reindl Harald wr= ote: >> 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 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 sim= ple and powerful, compared to other web languages. >>>>>> >>>>>> So far, we have ">>>>> >>>>>> A suggestion : deprecate these old tags and replace them with a more= 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 m= uch larger problems than this. The difference between however is 56 char= acters, security, and encoding bugs. >>>>> >>>>> Proper handling of output escaping is standard in modern template lan= guages. 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 leader 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 >> > > > > -- > 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