Re: [fw-general] Re: [zf-contributors] Survey: to composer or not to composer

2013-05-30 Thread Björn Rylander
Loader I'm used to ZF1 and I haven't had the time to dive into the composer yet. I'll be sure to check it out once I get a grip of the rest of the ZF2 practices. For someone like me, that have limited time to learn ZF2 before putting it into production, the loader provides a little more familiarit

[fw-general] Re: [zf-contributors] Survey: to composer or not to composer

2013-05-30 Thread Michael Gooden
On 30 May 2013 22:45, Matthew Weier O'Phinney wrote: > > Composer simply... simplifies... usage. > I think this is the most important thing for me. While the concept of libraries existed for Composer and ZF2, I usually ended up either writing my own code to do the same thing or using chopp

[fw-general] [ZF2] Select question

2013-05-30 Thread Xander Guzman
$select = $this->getSql()->select(); $where = $this->getWhere() ->equalTo('campaign_id', $campaign->getId()) ->between(new DbExpression('NOW()'), 'start_date', 'end_date'); $select->from('funding_round') ->columns( array(

[fw-general] Re: [zf-contributors] Survey: to composer or not to composer

2013-05-30 Thread Matthew Weier O'Phinney
On Thu, May 30, 2013 at 12:13 PM, Marco Pivetta wrote: > Hi everybody! > > tl;dr: ZF2: do you use composer or Zend\Loader? Simply reply with "loader" > or "composer" :) Both. Modules inside my application that do not need to be re-used will use Zend\Loader, while those that are installable via C

Re: [fw-general] Survey: to composer or not to composer

2013-05-30 Thread Dan.latter
@marco Yeah true and I guess I was also talking about my experiance. I didn't touch composer when I first dived into ZF2. It slipped my mind also the composer direction in the tutorial, but like you said, you don't need composer till needs must. So I would stick by what I said Thanks Daniel Ma

Re: [fw-general] Survey: to composer or not to composer

2013-05-30 Thread Marco Pivetta
@Dan each new user coming in has been using composer or directed to composer so far (talking of the support I give via IRC)... It's just my experience though. People should learn PSR-0 these days, and once you got PSR-0, composer is kinda "must" :\ Marco Pivetta http://twitter.com/Ocramius http:

[fw-general] Re: Survey: to composer or not to composer

2013-05-30 Thread manuakasam
"loader" I'd second the opinion by @latterd. While i personally love composer and will soon be switching to composer autoloading, too, for new users doing so much at the console-level may appear frightening. Yes, advanced users won't mind, but there will always be a not too small sized audience t

Re: [fw-general] Survey: to composer or not to composer

2013-05-30 Thread Dan.latter
loader In my opinion all you are doing is adding another step a new user will have to perform when getting up and running with ZF2, and thus adding another layer of complexity, to what is already somthing that is hard to get a grip of. Maybe add 2 implementations or show how both are used but w

[fw-general] Re: [zf-contributors] Survey: to composer or not to composer

2013-05-30 Thread Marco Pivetta
@Padraic that doesn't mean you cannot manually instantiate Zend\Loader in your index.php (example). Also, we're not discussing composer's package management side - see the configuration in the first post Otherwise, I agree - composer is still affected by MITM. Marco Pivetta http://twitter.com/Oc

[fw-general] Re: [ZF2] 2.2.0 Traits not recognized in PHP 5.3

2013-05-30 Thread Marco Pivetta
Traits in the framework are completely optional, so you can safely remove them. Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ On 30 May 2013 19:25, avirdz [via Zend Framework Community] < ml-node+s634137n4660143...@n4.nabble.com> wrote: > I know that Traits was introdu

[fw-general] Survey: to composer or not to composer

2013-05-30 Thread Marco Pivetta
Hi everybody! tl;dr: ZF2: do you use composer or Zend\Loader? Simply reply with "loader" or "composer" :) I've been discussing on IRC about dropping the pre-configured Zend\Loader instance in standard MVC applications (we're discussing that for ZF3). Since I was asserting that most users do use c