Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:59857 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 27952 invoked from network); 13 Apr 2012 08:00:25 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Apr 2012 08:00:25 -0000 Authentication-Results: pb1.pair.com smtp.mail=arvids.godjuks@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=arvids.godjuks@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.210.170 as permitted sender) X-PHP-List-Original-Sender: arvids.godjuks@gmail.com X-Host-Fingerprint: 209.85.210.170 mail-iy0-f170.google.com Received: from [209.85.210.170] ([209.85.210.170:63736] helo=mail-iy0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id EE/F4-01254-81DD78F4 for ; Fri, 13 Apr 2012 04:00:24 -0400 Received: by iaeh11 with SMTP id h11so4659006iae.29 for ; Fri, 13 Apr 2012 01:00:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=0n1zcB7uw3s23Jxr9z29pLP/E0cGkDuIO5Bn0ylBhOQ=; b=VA2nUC80uWDZw7w6CGMQXpKeqPn3TXFj9EbV4yhNrx5AVmeggLa77O40UDXR0z/BfC VrEZKaz3TQ8o4SMCg77Liloq9zcojxJApf/D1o2fUmg2XyQtqHcQf1b653UjDIVUTKxV D53/nRQBhfDEF8TGVz4Ge+EKNfoiErG5MMDEAwddT/bhQ+iOC1OYbXzMPJxDO2M+1Dnh GUrYFSdcQYD3p2RnPwI0KXBMANSOA+Wq8/6uCgVJEfZi9/97JBXtYgu14Y+n4vX36/Xx o9R9mYjSqKrKbr4z1iHw1eHaP+OL3PeSPQGByZF7yRlNNoNwtq4nxpzDWYpg/hm7Oo8v d4Lw== MIME-Version: 1.0 Received: by 10.43.49.201 with SMTP id vb9mr367987icb.35.1334304022051; Fri, 13 Apr 2012 01:00:22 -0700 (PDT) Received: by 10.64.134.233 with HTTP; Fri, 13 Apr 2012 01:00:21 -0700 (PDT) Received: by 10.64.134.233 with HTTP; Fri, 13 Apr 2012 01:00:21 -0700 (PDT) In-Reply-To: References: <4F876943.8030105@gmail.com> <4F877777.8050806@gmail.com> <4F8782CC.8030205@gmail.com> Date: Fri, 13 Apr 2012 11:00:21 +0300 Message-ID: To: Kris Craig Cc: internals@lists.php.net, John LeSueur Content-Type: multipart/alternative; boundary=bcaec5299ad941bccf04bd8add91 Subject: Re: [PHP-DEV] [RFC] New .phpp File Type for Pure-Code PHP Scripts From: arvids.godjuks@gmail.com (Arvids Godjuks) --bcaec5299ad941bccf04bd8add91 Content-Type: text/plain; charset=UTF-8 Kris. I can give you a real world example where that straight MVC with the. pphp if not breaks, then definetly becomes an ugly mess. I use Yii framework as my tool, it has some very nice tools for templating like widgets. Widgets provide a container to put functionalit required by multiple pages and it contains a controller like code and a template. It can and most times will use models and other library stuff to do its work. And all that code is loaded via an autoloader (only templates are loaded localy in a controller method). As i see it, i will spend a lot of time figuring out if i need to make a .php or a .pphp file. After a few days i will just say to my self "f*** this sh**" and just stick with the .php. My coleague will just stick with .php - he values his time and to him this will be just noise that he ignores because it gives no real benifit, IDE's and editors will ajust in time and reformatting a whole project is just a waste of time. Not to mention frameworks will not follow for a long time because of the BC and big WTF factor. --bcaec5299ad941bccf04bd8add91--