Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:49729 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 50384 invoked from network); 16 Sep 2010 19:28:51 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Sep 2010 19:28:51 -0000 Authentication-Results: pb1.pair.com header.from=guilhermeblanco@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=guilhermeblanco@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.170 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: guilhermeblanco@gmail.com X-Host-Fingerprint: 74.125.82.170 mail-wy0-f170.google.com Received: from [74.125.82.170] ([74.125.82.170:32962] helo=mail-wy0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 2D/2E-15036-2FF629C4 for ; Thu, 16 Sep 2010 15:28:51 -0400 Received: by wyf19 with SMTP id 19so1735395wyf.29 for ; Thu, 16 Sep 2010 12:28:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=na47ppkhffhQno4ieS+3GgvJMj5lGEUruedwZnVrYig=; b=dVw0dV39RZr7uWpnpvWWexN0cbeFYQqGoaAetzpuMkyYAHDMEhfSQ2H8PWZYRecMG0 q2nvedu/zz5GLdNs1HiuK5CVYoqsN1rxZj+L8+ByBSjCYwWPkCbncJzYXb9UN1r5zwTK j3o5KZuBMDuNlD/eqqpzsK8s2i9Y7JfLjfC3M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=wik+gs68HRRC/3nU8V606+s7mL72kAEnBl2PDYShfFHAboMbXWDrrAdMwq3hGw6DdE +W3y47/ZR2GTj64kEXuaASdttdwdYXFubyJrEaqL2Pwc/uDzlJaJLoyzSKueFX/2A6Dy qlGo3mI9qz/B0YfOhrAeLTn+3MWg9s8BoQ5G0= MIME-Version: 1.0 Received: by 10.227.156.14 with SMTP id u14mr3307733wbw.55.1284665327677; Thu, 16 Sep 2010 12:28:47 -0700 (PDT) Received: by 10.216.55.130 with HTTP; Thu, 16 Sep 2010 12:28:47 -0700 (PDT) In-Reply-To: <4C926E03.1030109@sugarcrm.com> References: <4C873C0F.1010200@zend.com> <4C879613.7090709@zend.com> <4C887D2B.2000605@zend.com> <4C8AC526.7000505@sugarcrm.com> <4C8B6168.30504@mohiva.com> <4C8BC81E.8000605@sugarcrm.com> <7.0.1.0.2.20100913145703.0d226d90@zend.com> <4C926574.8030805@sugarcrm.com> <4C926E03.1030109@sugarcrm.com> Date: Thu, 16 Sep 2010 16:28:47 -0300 Message-ID: To: Stas Malyshev Cc: Gustavo Lopes , Derick Rethans , "internals@lists.php.net" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] Re: PHP Annotations RFC + Patch From: guilhermeblanco@gmail.com (Guilherme Blanco) Hi Stas, On Thu, Sep 16, 2010 at 4:20 PM, Stas Malyshev wro= te: > Hi! > >> I mean that any code packer can degrade the the functionality of your >> app. Example: > > Fix your "code packer" not to do that. > >> I didn't mean we should stop the discussion. I meant that like many >> others over the years lead to nowhere if we don't take the correct >> action: vote. > > How it's the correct action on this stage? We obviously don't have consen= sus > on what this feature should be - we are just looking for a possible solut= ion > now. How voting can help? People would just say "yes, I want Annotations" > while meaning totally different things by it (or without really > understanding what they vote for/against). How that's useful? Maybe... for those that have an idea about what it is, which would filter by hundreds the voters, it would work. > >> So I'd recommend (although I didn't like how it was written) the Java >> Annotation wikipedia page: >> http://en.wikipedia.org/wiki/Java_annotation > > So, we are voting to have Java annotations in PHP? And people seriously > voting FOR it? I mean, after reading all 40+ disjoint pages of the standa= rd > describing it in Java, and considering how that would fit PHP, they make = an > informed decision that that's exactly what PHP needs right now, correct? Again, you change the meanings of something I write. I do not want Java Annotations on PHP. But I want a clean way to include metadata mapping on my class/property/method/function. That said, I asked if PHP should support it as a poll... I'm not requesting people to vote for Java Annotation, but I'm asking to vote for metadata mapping that could be easily retrieved at runtime. Is it understandable now? It seems we both have strong arguments pro/cons it being included. I doubt you will convince me at the same time I feel I'll never convince you. That's another valid argument for a poll. > -- > Stanislav Malyshev, Software Architect > SugarCRM: http://www.sugarcrm.com/ > (408)454-6900 ext. 227 > --=20 Guilherme Blanco Mobile: +55 (16) 9215-8480 MSN: guilhermeblanco@hotmail.com S=C3=A3o Paulo - SP/Brazil