Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:49755 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 95792 invoked from network); 17 Sep 2010 14:16:46 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Sep 2010 14:16:46 -0000 Authentication-Results: pb1.pair.com header.from=rquadling@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=rquadling@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: rquadling@gmail.com X-Host-Fingerprint: 74.125.82.170 mail-wy0-f170.google.com Received: from [74.125.82.170] ([74.125.82.170:54705] helo=mail-wy0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 0B/81-22968-D48739C4 for ; Fri, 17 Sep 2010 10:16:46 -0400 Received: by wyf19 with SMTP id 19so2498175wyf.29 for ; Fri, 17 Sep 2010 07:16:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:reply-to :in-reply-to:references:from:date:message-id:subject:to:cc :content-type; bh=AVgE5J6cN68Q2HVCmBu9qjm+MIGMQFxuXPhunmyHEHo=; b=FSKji4IuW+g2H4+3n15JT7XnQFt4wo93aGIUae6IHfedFN9gvKoP69gbo9lsw2qgZ8 P1T28xnijTcHGk7JSHPFAN6rhjO9ByitTXrARiSl9LS5GdQQADWqQEtNeBbMjLurp0Rf p3aiT4LOBRMpO4f0LPxmWVenQp8El9QY7RYE8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; b=FD1UYJ9KGeR+3FvnGVPlNGhHspm3DpvCCb6XISwVGTF4nXHGiBlDx8X0kEBJIBcTGp CABdYIJpgv6IUx9nIl3JwH34T9hmT9G3ajEi80zPLRDsThW28PLT+66tKKBXynLg3tHr iSSUBIYR1ceZAbhDIQ8hKpuYJtRi2f2srAtkE= Received: by 10.216.232.144 with SMTP id n16mr4313991weq.1.1284732999378; Fri, 17 Sep 2010 07:16:39 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.0.208 with HTTP; Fri, 17 Sep 2010 07:16:19 -0700 (PDT) Reply-To: RQuadling@googlemail.com In-Reply-To: References: <12df042bd98b449afa15c788b9083e51@localhost> Date: Fri, 17 Sep 2010 15:16:19 +0100 Message-ID: To: Rafael Dohms Cc: Christian Kaps , PHP internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] On how a little knowledge is completely useless. From: rquadling@gmail.com (Richard Quadling) On 17 September 2010 14:17, Rafael Dohms wrote: > On Fri, Sep 17, 2010 at 6:28 AM, Christian Kaps > wrote: >> On Fri, 17 Sep 2010 10:02:10 +0100, Richard Quadling >> wrote: >>> One thing that did come to mind is if we ignore all the issues and >>> complexities of actually implementing annotations, are annotations >>> useful to a significant number of userland developers. On the surface, >>> (and this is probably where I'm going wrong), it would seem to only >>> really be of use to framework developers, and whilst there are at >>> least 2.5 frameworks per developer, the vast majority of userland >>> developers are not framework developers. >> >> This isn't right. At a first glance, yes it looks that only framework >> developers can have a benefit from annotations in the core. But the >> annotations extending the API of a framework so that all developers >> which using this frameworks have a great benefit of them. >> >> Lets take as dependency injection as example. If the framework >> implements this concept than the user of the framework make the usage of >> this. Or the bean validation framework. This is only for the framework >> users. >> > > I agree with Christian here, something that is "for framework > developers" benefits all of the userland users that use that > framework. > So we are not looking at the minority of framework developers but at > the majority of framework users. > > So i think the point of "is there use for annotations" is mute, yes > there is and we don;t see more examples cause we never had it. > How often did anyone suggest creating a state machine in the ZF > Controller before we had goto available? once it became available we > started finding uses for it. > > So i'm pretty sure one Annotations exist, more and more people will > get familiar with it and find new ways to use it in their mindset. Thanks for that. So, where can I read something about annotations aimed at what must be painfully obvious someone without all the skills. How would I use annotations? What problems that I don't know I have do they solve for me? Richard. -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY