Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:59901 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 68013 invoked from network); 13 Apr 2012 19:13:12 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Apr 2012 19:13:12 -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:62859] helo=mxout.myoutlookonline.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 25/79-35770-5CA788F4 for ; Fri, 13 Apr 2012 15:13:10 -0400 Received: from mxout.myoutlookonline.com (localhost [127.0.0.1]) by mxout.myoutlookonline.com (Postfix) with ESMTP id E498583FFDC; Fri, 13 Apr 2012 15:13:06 -0400 (EDT) X-Virus-Scanned: by SpamTitan at mail.lan Received: from HUB023.mail.lan (unknown [10.110.2.1]) by mxout.myoutlookonline.com (Postfix) with ESMTP id 3DA5A8408F9; Fri, 13 Apr 2012 15:12:39 -0400 (EDT) Received: from MAILR001.mail.lan ([10.110.18.28]) by HUB023.mail.lan ([10.110.17.23]) with mapi; Fri, 13 Apr 2012 15:12:38 -0400 To: Kris Craig , Matthew Weier O'Phinney CC: "internals@lists.php.net" Date: Fri, 13 Apr 2012 15:12:10 -0400 Thread-Topic: [PHP-DEV] [RFC] New .phpp File Type for Pure-Code PHP Scripts Thread-Index: Ac0ZpcAbUlNRfIhpQGCqAARGKRhQbgAATGUA Message-ID: References: <4F876943.8030105@gmail.com> <4F877777.8050806@gmail.com> <4F8782CC.8030205@gmail.com> <13.6A.35770.615388F4@pb1.pair.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: RE: [PHP-DEV] [RFC] New .phpp File Type for Pure-Code PHP Scripts From: johncrenshaw@priacta.com (John Crenshaw) > > > > On top of this, there's an argument that you're not addressing: most=20 > > template engines in PHP either directly consume PHP template files... > > or "compile" templates into... PHP template files. As such, sooner or=20 > > later, you'll have a class that includes a PHP template file, and=20 > > that's where things break for me in this proposal. > > > > They don't break because nobody in their right mind would ever try to > include a .phpp file in a framework like that. If its stack is so entang= led, > the very notion of a pure PHP stack is just incompatible. So your best b= et > on a framework like that would be to stick with .php. Um, so if you aren't using any form of template engine whatsoever, what are= you proposing? You're saying we should all go back to the good ol' C days = of trying to put together valid markup using string concatenation? (Or wors= e, manipulation of DOM classes?) No thanks. IMO this is a bit like blowing = up London to stop a jaywalker. After a lot of thought I've decided that I'm strongly opposed to the nature= of this proposal at a fundamental level. It isn't that I just wouldn't use= it. This proposal is inherently destructive to the PHP development communi= ty. This effectively attempts to split PHP into two languages. Current PHP = isn't really compatible with the proposed ".phpp" version of PHP, in the se= nse that you can't safely use both in the same code base. Unfortunately thi= s will not be clear to anybody at first, which will lead to mass proliferat= ion of .phpp libraries which are like poison to any unsuspecting PHP user f= oolish enough to try to use one. This isn't just a BC thing, it is really a= permanent language fork. John Crenshaw Priacta, Inc. -- I am using the free version of SPAMfighter. We are a community of 7 million users fighting spam. SPAMfighter has removed 839 of my spam emails to date. Get the free SPAMfighter here: http://www.spamfighter.com/len The Professional version does not have this message