Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:59703 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 53087 invoked from network); 11 Apr 2012 03:35:21 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Apr 2012 03:35:21 -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.160.170 as permitted sender) X-PHP-List-Original-Sender: tom@punkave.com X-Host-Fingerprint: 209.85.160.170 mail-gy0-f170.google.com Received: from [209.85.160.170] ([209.85.160.170:54757] helo=mail-gy0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 09/AD-18401-8FBF48F4 for ; Tue, 10 Apr 2012 23:35:21 -0400 Received: by ghbg2 with SMTP id g2so302747ghb.29 for ; Tue, 10 Apr 2012 20:35:18 -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=WBp3+0ULOXGygWUK4cKEtPyMAKG2rmyOjftgC6z58RQ=; b=SbHT2PMttwZo2y1KphItCbJ4ynVaCCLkz4jdZBjPzg0e47MRLH2X1RZgKwhiu+fwUh ddkT7z73ncswgdKZYxzw5I8/NB9kgG1dAiNcIL9hz7jkWD2fEyHmvQSlSsCWGBZHBfoo vtwT7J9SbkEY3F9K69ixVtbdkcmufAsIa8e32INu88aTbf6f+CktEpEHdwhY2jfjjY+J kpY9iasESBHg4DK05yyim70VrmdQQpGbyXydHyGCg/dw9LHBtbKmaX2vbY3W/FZa2CBD wBhe+5cfFirqySxvcL5Zu1hID/3cwGUcAbcPraytyr1X1IiAwyKad09KoDjmiphw40S9 pTNQ== MIME-Version: 1.0 Received: by 10.101.176.8 with SMTP id d8mr3648783anp.56.1334115317963; Tue, 10 Apr 2012 20:35:17 -0700 (PDT) Received: by 10.100.35.16 with HTTP; Tue, 10 Apr 2012 20:35:17 -0700 (PDT) In-Reply-To: References: Date: Tue, 10 Apr 2012 23:35:17 -0400 Message-ID: To: PHP Internals Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQnxQL4OqFU0C1rVVy8gZBVCJfeW/NFadkXVqcCvweXv9/Tf92NVNmdtSzxlOBDCymGwkW4L Subject: Re: [PHP-DEV] UPDATED RFC version 1.1: source files without opening wrote: > This shouldn't=A0be used to load libraries that dump raw HTML output! =A0= That > literally defeats the entire purpose. =A0You're also assuming that all PH= P > developers do 100% of their coding through pre-existing frameworks. Consider a .phpp file that includes a .php template file when it sees fit, in a render() method. How is this different from an echo() statement? It's not. It's just a convenient form in some situations. By punting these out to .php files we achieve better separation of concerns while still respecting PHP's history as a template language (and possible future if it improves in that area, which it may). All I want is to stop typing =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 (Main Script) > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0| > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0| > =A0 =A0 =A0 =A0 =A0[Included .php/HTML Script] > =A0 =A0 =A0 =A0 =A0 =A0 =A0| =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | > =A0 =A0 =A0 =A0 =A0 =A0 =A0| =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | > {Included .phpp Script} =A0 =A0 =A0[Included .php/HTML Script from > Framework/Library] This is convoluted and forces me to write a .php frontend. Surely that is not your goal. --=20 Tom Boutell P'unk Avenue 215 755 1330 punkave.com window.punkave.com