Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:60000 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 97552 invoked from network); 16 Apr 2012 13:24:42 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Apr 2012 13:24:42 -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:40806] helo=mail-iy0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5E/75-05733-99D1C8F4 for ; Mon, 16 Apr 2012 09:24:41 -0400 Received: by iaeh11 with SMTP id h11so8764683iae.29 for ; Mon, 16 Apr 2012 06:24:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=7riTvKYD70D8F8UvBu1lPyx6TrvNe798qAEaEHXEN8Q=; b=Pekg9dirNX9mAxE10EsweiC05fqykQP6MNvfOxSwIJLWmyiWk9BB9RyDiKzjiHG8bX deEVgzshhQlH5CVpxRBzdoYCq+Weu5QviYVEikEuPLrrVSP8FrzHEmij1k2MFtQsHUGm Gg1aWpZ8NhbgZLQzXfEAypdDa6TEZNJ1HtmR9H7yYnrtbAo5TyVj81N6xlW7y5kmyGJ6 VzEQPdNmPXrjjWiM/e4Ssopec93g+nT8f4cz1JXen+CgoXyyqvAssPn12kAOYoO0UdKb qcVdL7akV/WlPfJu1sKMOlesXLVPuuJPI/F4TkPOL7xhmrB/WlSCUsdcR+ryYpJpynZd XcRA== Received: by 10.50.189.200 with SMTP id gk8mr5708467igc.8.1334582679184; Mon, 16 Apr 2012 06:24:39 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.134.233 with HTTP; Mon, 16 Apr 2012 06:24:19 -0700 (PDT) In-Reply-To: <4CF91067-DBC4-4CD7-AF91-1814A6999EEF@punkave.com> References: <4F876943.8030105@gmail.com> <4F877777.8050806@gmail.com> <4F8782CC.8030205@gmail.com> <4F87C9B0.4080809@gmail.com> <4F8AA9CF.6000003@gmail.com> <4CF91067-DBC4-4CD7-AF91-1814A6999EEF@punkave.com> Date: Mon, 16 Apr 2012 16:24:19 +0300 Message-ID: To: Tom Boutell Cc: "internals@lists.php.net" Content-Type: multipart/alternative; boundary=14dae934085984236f04bdcbbeed Subject: Re: [PHP-DEV] [RFC] New .phpp File Type for Pure-Code PHP Scripts From: arvids.godjuks@gmail.com (Arvids Godjuks) --14dae934085984236f04bdcbbeed Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 16 =D0=B0=D0=BF=D1=80=D0=B5=D0=BB=D1=8F 2012 =D0=B3. 16:09 =D0=BF=D0=BE=D0= =BB=D1=8C=D0=B7=D0=BE=D0=B2=D0=B0=D1=82=D0=B5=D0=BB=D1=8C Tom Boutell =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BB: > These tools already strip support rolling in a .phpp file unmodified. Unless I am missing something= ? > > Sent from my iPhone > > On Apr 15, 2012, at 5:30 PM, Arvids Godjuks > wrote: > > > I posted the bellow text in other thread, but i should have it post her= e, > > so i'm reposting it to this thread. > > > > Well, it's time for me to remind about the techique many use (and some > > frameworks provide it out of the box) - the application file > concatination > > to speed up file loading. > > Yii framework provides a Yiilite.php file for this, that includes mostl= y > > used core classes in one big file.that loads much faster and is used fo= r > > production. Any other framework has user extentions or other type of > > solutions for this to speed up the application, and it makes really big > > difference. > > So there is a good question - how the hell in a MVC framework would i > > combine my models, controllers, components and other stuff that will > > definetly be as in .php so in .pphp. And not every file will be cached > like > > that - some will remain as distinct files even in production. > > > > The further discussion goes the more questions there is and less answer= s > > there are. > Yes they obviously do, but that's not what I'm concerned about. What I'm concerned is that code from .php and .pphp files get's mixed in together - template engine related stuff is used as much, as do controllers, session handling classes and bunch of other stuff that by definition is .pphp stuff, but the template stuff is .php and it includes templates. So basically everything just has to fall back to the embedded PHP mode to work and we have no gain from the proposal what so ever - it just becomes useless. That's not counting other issues that people and I have been voicing and to be honest, I never saw a reply to any of it. Maybe there is a reply to all those questions, but they are under wall of text that usually goes in reply - that just discourages to read it at all. --14dae934085984236f04bdcbbeed--