Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:31552 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 40573 invoked by uid 1010); 13 Aug 2007 18:28:45 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 40558 invoked from network); 13 Aug 2007 18:28:45 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Aug 2007 18:28:45 -0000 Authentication-Results: pb1.pair.com header.from=webmaster@keryx.se; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=webmaster@keryx.se; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain keryx.se designates 208.69.121.33 as permitted sender) X-PHP-List-Original-Sender: webmaster@keryx.se X-Host-Fingerprint: 208.69.121.33 supavet.nexcess.net Received: from [208.69.121.33] ([208.69.121.33:46023] helo=supavet.nexcess.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E4/60-34948-AD2A0C64 for ; Mon, 13 Aug 2007 14:28:44 -0400 Received: (qmail 17126 invoked by uid 108); 13 Aug 2007 18:28:39 -0000 Received: from unknown (HELO ?127.0.0.1?) (gunther@keryx.se@87.227.57.139) by supavet.nexcess.net with ESMTPA; 13 Aug 2007 18:28:39 -0000 Message-ID: <46C0A2D4.5070805@keryx.se> Date: Mon, 13 Aug 2007 20:28:36 +0200 User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: internals@lists.php.net References: <46BE14B1.5050209@zend.com> <46C04DD4.8060205@keryx.se> <200708130835.04488.larry@garfieldtech.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 000765-0, 2007-08-13), Outbound message X-Antivirus-Status: Clean Subject: Re: [Fwd: Re: [PHP-DEV] Renaming namespaces to packages] From: webmaster@keryx.se (Keryx Web) Tijnema skrev: > Since JavaScript (or ECMAScript) doesn't have namespaces, people that > hear the name namespace for php will either don't know what it is, or > think that it's the same as the C implementation. ECMAScript 3 aka JavaScript 1.x does not have NS. ECMAScript 4 aka JavaScript 2 will have NS. Why do I think that most newbies - for whom the naem we use care the most! - will not come from C++, C#, Java or anything else. Because having taught PHP to newbies for quite some time now I clearly see that PHP is their first or second language, and the other one is JS. "I wan to make a web page" Off to learn HTML and (in a good world standards and CSS) "I want to have a contact form/discussion board/news/blog" Tada! Enter PHP! "I want some cool animation". Enter JavaScript. In a good world they will be taught secure PHP programming, unobtrusive DOM-scripting, etc. Mostly they won't, but the name "namespace" makes a lot more sense in trying to explain the purpose, and would make my job easier. Lars Gunther