[thelist] PHP | Learning resources

Christopher Marsh Christopher.Marsh at akqa.com
Tue Nov 8 10:55:45 CST 2011


That's very useful, thanks for taking the time to respond. I'm familiar with the RSpec book (I love it) and BDD is a general direction that we're assessing at the moment, so it's good to hear that Symfony supports this approach. I'm also familiar with CQRS in principle, although I haven't applied it in practice.

Another quick question: can you (or anyone else) make any comparisons between Symphony and Zend? 

Thanks again!

Christopher Marsh

-----Original Message-----
From: thelist-bounces at lists.evolt.org [mailto:thelist-bounces at lists.evolt.org] On Behalf Of Renoir Boulanger
Sent: 08 November 2011 12:16
To: thelist at lists.evolt.org
Subject: Re: [thelist] PHP | Learning resources

Hello Christopher.

My business partner asked me the same question when we started our web application business and decided to use PHP. He liked C# with .Net code organization and architectural principles (ORM, DAL, Services, TDD, BDD, etc).

Many frameworks do that (in other languages than .Net). Python Pylons, Ruby on Rails, Many Java frameworks. Etc. But in PHP. Not that much.

But we found our one.

It's called Symfony Framework. But it was still the MVC that everybody puts all logic in the controller. Until We started building our own Services, Managers and other business logic classes that.

We loved symfony. Until we loved even more symfony 2 that actually do all the above.

Some pointers:
- Behavior Driven layer - BeHat a symfony bundle
- Everything os a bundle and you can do dependency injection
- Convention over configuration
- Entities with an ORM
- Forms are separate entities (compared to symfony1.x)
- integrated test framework

- symfony provides lots of free documentation and books online
- The RSpec Book (its from ruby world but speaks about Cucumber and BDD that Behat Bundle does)

Also, search for "CQRS". Many of our friends that call themselves invested developpers (at our devLAB meetups) are talking in the web about it. Symfony 2 could be used to implement thise principles. Thats's our principal objective in software architecture.

Hope this helps



(envoyé de mon téléphone)

On 2011-11-08, at 4:59, Christopher Marsh <Christopher.Marsh at akqa.com> wrote:

> All
> Does anyone have a recommendation for a book on producing well architected web applications in PHP? I've been producing .NET web applications for the past 10 years, but idiomatic PHP architecture may well be different to idiomatic .NET architecture. I'm thinking about things like data binding, data access, layering, service access, unit testing, integration testing, frameworks, &c. Any assistance gratefully received.

* * Please support the community that supports you.  * *

For unsubscribe and other options, including the Tip Harvester
and archives of thelist go to: http://lists.evolt.org
Workers of the Web, evolt ! 

More information about the thelist mailing list