Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:81511 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 8126 invoked from network); 1 Feb 2015 01:02:46 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Feb 2015 01:02:46 -0000 Authentication-Results: pb1.pair.com header.from=smalyshev@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=smalyshev@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.220.51 as permitted sender) X-PHP-List-Original-Sender: smalyshev@gmail.com X-Host-Fingerprint: 209.85.220.51 mail-pa0-f51.google.com Received: from [209.85.220.51] ([209.85.220.51:41496] helo=mail-pa0-f51.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 14/58-01632-53B7DC45 for ; Sat, 31 Jan 2015 20:02:46 -0500 Received: by mail-pa0-f51.google.com with SMTP id fb1so67447185pad.10 for ; Sat, 31 Jan 2015 17:02:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=Cp7EpFF9f7LuS1TiNJhmxOLWQP8VeuWEw0N13ThJZaU=; b=GsWWkCWO+UBeEKIqP0EKrSumU97aZqOQ9LF9mj7fF2YehWX9AHhHIqA5O1+mlfuKeg Y8W7AD0h5AHWRofbo3uliXcaAUxKkk0I+cNurFFNPWRBQLYhJUj22WnAkwbR+GKYiH9o gDKNPUROQdv4I+J9wN6y5dy7NmncmMQxKmMuNNt2mrVGvyFNeQLtKWgUAc+Ncii+s6vk aOzg9sSe73qlQsF2OQJ2D6pyL+yP0dK4t083pcxfpg+/w5LL/UFtuv7gdWh7sL3wUvQk L8yikxUlQ2Yu+IZcw1yIk1vhhrIeONnbVTP64VM5KbjYOWh7e/y8jggrRVS0od7+o5Ji Bk9Q== X-Received: by 10.66.120.236 with SMTP id lf12mr6918124pab.67.1422752563466; Sat, 31 Jan 2015 17:02:43 -0800 (PST) Received: from Stas-Air.local (108-66-6-48.lightspeed.sntcca.sbcglobal.net. [108.66.6.48]) by mx.google.com with ESMTPSA id ri3sm14732268pdb.58.2015.01.31.17.02.42 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 31 Jan 2015 17:02:42 -0800 (PST) Message-ID: <54CD7B2E.9080701@gmail.com> Date: Sat, 31 Jan 2015 17:02:38 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: "S.A.N" CC: internals References: <54CD6AD6.9080209@gmail.com> <54CD7218.9080909@gmail.com> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Use "caller" keyword, to access object caller. From: smalyshev@gmail.com (Stanislav Malyshev) Hi! > Everything is relative, when there is an experience in a dynamic > context (this) in JS, while unwieldy structure in PHP code look > something old and not comfortable. In this case I'd suggest you to write your PHP code in wieldy structure so it would be comfortable ;) I'm not sure what exactly you mean by "dynamic context in JS" but take into account that JS implementation of OO is quite different from PHP, so you can not directly port concepts between them. > I think, that purchased experience will be the use of safety culture > dynamic runtime context, many developers it would be appreciated, to > implement this PHP frameworks. I'm sorry, I'm having hard time understanding what you mean here. I believe if you want to take it further, you'd need to provide some more detailed explanations, with examples, etc. of what you're trying to improve and why. -- Stas Malyshev smalyshev@gmail.com