Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:94154 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 46285 invoked from network); 20 Jun 2016 16:22:32 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Jun 2016 16:22:32 -0000 Authentication-Results: pb1.pair.com header.from=me@kelunik.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=me@kelunik.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain kelunik.com from 81.169.146.216 cause and error) X-PHP-List-Original-Sender: me@kelunik.com X-Host-Fingerprint: 81.169.146.216 mo4-p00-ob.smtp.rzone.de Received: from [81.169.146.216] ([81.169.146.216:45805] helo=mo4-p00-ob.smtp.rzone.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 35/54-16093-74818675 for ; Mon, 20 Jun 2016 12:22:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1466439749; l=2442; s=domk; d=kelunik.com; h=Content-Type:Cc:To:Subject:Date:From:References:In-Reply-To: MIME-Version; bh=sR3eS+sWTaxMyqht9J8b1mzwJ4SLKn73C3EM29gftjg=; b=Yz9axnIQA5RbRTBjbkZSJqh7El1vXy8GdGdo6++Dvl8U2l7gbS/nEtY0Hp+6Om8yeIB nqgV8Xt+TdgvCtxOqjLblULU64p25F8dEKIdPxFPaZdixmhsYgur/AX+8IKMDik1pKghh oanM9i4s2nOS4COGfwy0P4I+EZrBw1qQclU= X-RZG-AUTH: :IWkkfkWkbvHsXQGmRYmUo9mls2vWuiu+7SLGvomb4bl9EfHtOnA6 X-RZG-CLASS-ID: mo00 Received: from mail-wm0-f53.google.com ([74.125.82.53]) by smtp.strato.de (RZmta 38.6 AUTH) with ESMTPSA id t05a19s5KGMSjAl (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve secp384r1 with 384 ECDH bits, eq. 7680 bits RSA)) (Client did not present a certificate) for ; Mon, 20 Jun 2016 18:22:28 +0200 (CEST) Received: by mail-wm0-f53.google.com with SMTP id f126so76194630wma.1 for ; Mon, 20 Jun 2016 09:22:28 -0700 (PDT) X-Gm-Message-State: ALyK8tInWDYig2OlpPw7ChHx5M+qlEat1bmiG9EBjffYBrm5OP4xbvFytj+LLPjqt/aMwBRxIadkm9qVBP+LDw== X-Received: by 10.28.9.139 with SMTP id 133mr73785wmj.93.1466439748190; Mon, 20 Jun 2016 09:22:28 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.199.67 with HTTP; Mon, 20 Jun 2016 09:22:26 -0700 (PDT) In-Reply-To: References: <57665E36.60302@lsces.co.uk> <5766D311.6030503@lsces.co.uk> <57680CF5.2070003@lsces.co.uk> Date: Mon, 20 Jun 2016 18:22:26 +0200 X-Gmail-Original-Message-ID: Message-ID: To: Rasmus Schultz Cc: Lester Caine , PHP internals Content-Type: multipart/alternative; boundary=001a11444ba24688850535b81cba Subject: Re: [PHP-DEV] New escaped output operator From: me@kelunik.com (Niklas Keller) --001a11444ba24688850535b81cba Content-Type: text/plain; charset=UTF-8 2016-06-20 17:51 GMT+02:00 Rasmus Schultz : > > My PHP is augmented with Smarty so I know which are template files and > > which are program code :) > > I name my template files "*.view.php", so I know which is which. > > I also head off every file with /** @var MyViewModel $view */ for IDE > support and inspections with CS/MD/phan, etc. > > If you're curious: https://github.com/mindplay-dk/kisstpl > > I quit smarty many years ago, and I will not use a template engine, > ever again - I don't want to write my views in an entirely different > language in favor of some convenience; especially when that > convenience comes with another whole slew of inconveniences... Well, until you want to share your templates in multiple languages like a version in JS to use it directly in the frontend. --001a11444ba24688850535b81cba--