Maintainable Applications in PHP Using Components

Stu Herbert (07.Oct.2011 at 09:30)
Workshop at PHP North West 2011 (English - UK)

Rating: 5 of 5

If you’re building software products, or a software-as-a-service platform of some kind, I’m sure you’re familiar with the need to keep moving your software forward, to keep improving it and staying ahead of your competition. The time it takes to for us, as developers, to write software, is one of the key differences between a successful market-leading business and an also-ran. The more time we can spend working on the new features, the better.

And that’s where PHP components come in.

PHP components are an effective strategy for writing new code that can be very reusable and maintainable. They exist in a layer below the major PHP frameworks, giving your apps the solid foundations needed for rapid and sustainable change through an architecture that you completely own and control. And when the time comes to switch or upgrade frameworks, a component architecture means that the majority of your code is independent of the framework, saving time that can go into making great software instead.

In this hands-on tutorial, together we will create a number of components and work through their natural lifecycle. You’ll learn how to structure your components, how to create PHPUnit tests for your components, how to review the quality of components written by others, and how to safely change components so that you can innovate rapidly back at base without breaking any code that relies on your components.

Who are you?

Claim talk

By clicking this button you are declaring that you are the speaker responsible for it and a claim request will be sent to the administrator of the event.

If the claim is approved you will be able to edit the information for this talk.

Are you sure?

 
Comments closed.

Comments

Rating: 4 of 5

11.Oct.2011 at 20:17 by Sebastian Marek

Great tutorial with a lot of opportunities to hack on code. I loved the fact we got to the point where everybody had set up his own pear server and we started building our own components. Shame we didn't get to the point when we could start interacting between each other components and converting old style components to the new "phix" concept. Wifi was the main drawback and left a few people behind, especially these with windows machines. Saying that everybody was asked to prepare upfront and it was said it all is very flaky on windows machines.

Stu delivered great tutorial with plenty of coding. It was good to be able to play with phix.

In summary:

Pros:
- tutorial with plenty opportunities of coding
- great concept
- well delivered
- bril handout

Cons:
- lack of network connectivity made it very difficult to progress

Rating: 5 of 5

11.Oct.2011 at 22:06 by Marco De Bortoli

I have to give a full 5 thumbs up to this tutorial. Despite the connectivity issues we got plus being the first class room about the topic Stuart did an awesome job. The tutorial left me very satisfied and with thousand ideas about how to use the fantastic tool which is "Phix". If I have to give an advice just for the sake of it I would recommend Stuart to specify any particular requirements about the dec environment required only because due to the current status of the art windows users might have some problems as it indeed happened. Other than that I cannot say really anything else... I think that so far I never had such a great tutorial session. Well done.

Rating: 5 of 5

18.Oct.2011 at 15:52 by Nikolay Bachiyski

Stu was great. He went through the whole cycle of writing a releasable PHP component and the tools he exposed us to were great.

Cloud server hosting by Combell Combell      © Joind.in 2012