Phix 0.14 Released

Posted by Stuart Herbert on October 24th, 2011 in phix.

Phix v0.14 is now available from pear.phix-project.org.

What’s New In This Release

  • Snapshot versions of components – not ready to release a stable version of your component, but still need to publish your component to your PEAR channel for testing? You can now set the project.snapshot property in your build.properties file, and get non-stable packages for distribution.
  • Code coverage improvements – when you run phing test to run your component’s unit tests and generate the code coverage report, the code coverage report now automatically picks up all of your component’s PHP code, regardless of whether there is a test for it or not.
  • phpunit.xml support – phix now puts a phpunit.xml file inside your component, which includes all of the settings required to execute your component’s unit tests. This should help TextMate users a lot. This change was requested by attendees at the PHPNW11 conference.
  • More hooks in build.local.xml – for every target in your component’s build.xml file, you can now add “local.<target>” in build.local.xml, to perform any additional steps that you want to do. This feature was contributed by Martin WernstΓ₯hl.
  • Usability improvements – your component’s build.xml file now traps more errors than before, hopefully making it even easier to learn how to work with components.

How To Upgrade

To upgrade from an earlier release of Phix, please do the following:

sudo pear clear-cache
sudo pear upgrade phix/phix4componentdev

Once you’ve upgraded phix itself, don’t forget to go into each of your components, and run

phix php-library:upgrade .

to upgrade all of the skeleton files (build.xml et al) for your component.

What’s Coming In Phix 0.15

Phix 0.15 is all about making sure that Phix works as well on Windows as it already does on Linux and OSX. The feedback from the ZendCon session (which I was gutted to be unable to attend) was that there isn’t much needed, mostly setup instructions. Once that is done, we’ll continue to support Phix on Windows just as we already do on Linux and OSX.

Our roadmap for Phix 0.15 has all the details.

Be the first to leave a comment »

The PHP North West User Group ran it’s 4th (and largest yet!) PHP conference – PHPNW11 in Manchester last weekend.

My last set of photos from PHP North West 2011 are the odd ones out, the ones that didn’t really fit into any of the other sets.

I hope you’ve enjoyed my photos from the conference, and maybe – just maybe – they’ve made you think about going to a PHP conference somewhere near you in the near future.

Rob Allen

Derick Rethans

Jeremy Coates

So You Want To Be A Rockstar?

On The Way To The PHPNW11 Conference

Picadilly Gardens, Manchester

The Mothership Hovers

Opening The Call For Papers For PHPUK12

Cups of Tea

All Hail Our New Wifi Overlords!

Rick, Kerry, and Jenny Admire The Many Poses Of Jeremy Coates

Jeremy Coates - Magma Digital - PHPNW11 Organiser And Platinum Sponsor

Be the first to leave a comment »

The PHP North West User Group ran it’s 4th (and largest yet!) PHP conference – PHPNW11 in Manchester last weekend.

No conference – especially one as well-run as PHP North West – can happen without the small army of folks who give up their time to organise and staff the conference. I’m afraid that I didn’t manage to photograph everyone involved on the day (sorry!) but here’s to everyone who made PHP North West 2011 possible.

Jenny Wong

PHPNW11 Conference Organisers

PHPNW11 Conference Organisers

PHPNW11 Conference Organisers

PHPNW11 Conference Organisers

Jeremy Coates - Magma Digital - PHPNW11 Organiser And Platinum Sponsor

Lorna Jane and Jeremy Coates - PHPNW11 Conference Organisers

Be the first to leave a comment »

The PHP North West User Group ran it’s 4th (and largest yet!) PHP conference – PHPNW11 in Manchester last weekend.

This year, many of the sponsors were here not to drum up new business, but to hire new talent, continuing a trend from PHPUK11 earlier in the year. Sponsoring a conference is cheaper than paying traditional recruiters, with no shortage of motivated attendees to talk to.

Community tech conferences like PHP North West simply could not happen without the funds raised from the organisations who sponsor each conference. This short set of photos is my way, as a conference speaker, of saying thank you to every organisation who sponsored this year’s PHPNW conference.

PHPNW11 Conference Sponsors: Namesco

PHPNW11 Conference Sponsors: O'Reilly

PHPNW11 Conference Sponsors: ibuildings

PHPNW11 Conference Sponsors List

PHPNW11 Conference Sponsors List

PHPNW11 Conference Sponsors List

Be the first to leave a comment »

The PHP North West User Group ran it’s 4th (and largest yet!) PHP conference – PHPNW11 in Manchester last weekend.

The audience is a key part of any conference, and each year the PHP North West conference manages to attract more and more people back as it establishes its reputation for being one of the very best PHP conferences (and indeed, one of the very best UK tech conferences) around.

If you’ve never been to any PHP conference anywhere before, I hope these photos manage to show you just a little bit of the cracking atmosphere you’re missing out on πŸ™‚

PHPNW11 Audience

PHPNW11 Audience

PHPNW11 Audience

PHPNW11 Audience

PHPNW11 Audience

PHPNW11 Audience

PHPNW11 Audience

PHPNW11 Audience

PHPNW11 Audience

PHPNW11 Audience

PHPNW11 Audience

PHPNW11 Audience

If you like these photos, please do let me know – leave a comment on my blog, or click through each photo to Flickr and leave a comment there. Thanks!

Be the first to leave a comment »

The PHP North West User Group ran it’s 4th (and largest yet!) PHP conference – PHPNW11 in Manchester last weekend.

This year’s conference line-up was particularly strong, both with the quality of speaker and the quality of topics, but there was one talk in particular that topped them all. It all began with Rowan’s laptop …

Estimation or 'How To Dig Your Own Grave' : Rowan Merewood

So Rowan had this laptop … but no matter how hard he stared at it, it just wasn’t going to work with the projector at the conference …

Estimation or 'How To Dig Your Own Grave' : Rowan Merewood

… so his friends rallied round and swaped his laptop for one that would work …

Estimation or 'How To Dig Your Own Grave' : Rowan Merewood

… the audience watches on with growing hilarity as Ben, Lorna and Ian try to get Rowan’s PDF slides presenting nicely in OSX’s Preview … only to be thwarted when the remote control for moving from slide to slide doesn’t work …

Estimation or 'How To Dig Your Own Grave' : Rowan Merewood

… in the end, Rowan press-gangs the conference’s keynote speaker into being his Speaker Slave (TM), advancing the slides forward on command throughout the talk.

Many speakers would have been destroyed by the sequence of problems, but Rowan successfully turned them into a great warm-up for what was without doubt the funniest talk all day.

Be the first to leave a comment »

The PHP North West User Group ran it’s 4th (and largest yet!) PHP conference – PHPNW11 in Manchester last weekend.

Once again there were three main tracks to the conference, a total of 15 speakers from both near and wide to choose from. New this year was the fourth track – the Unconference (perhaps lightning talks would be a better description tbh) organised by Elizabeth Naramore. Unfortunately, it was too dark in the Unconference to shoot handheld, but hopefully Rob Allen snagged some of the speakers from there during the day.

At times, I struggled in the main rooms too with the low light, so my apologies to those speakers I didn’t snag clean shots of this year.

These are my photos of all of the speakers from the main tracks on Saturday.

Keynote Speaker: Ian Barber

Unconference - Derick Rethans

Zend Framework 2 - State Of The Art : Enrico Zimuel

REST and HATEOAS - A Case Study : Ben Longden

Magic Behind the Numbers - Software Metrics In Practice : Sebastian Marek

PHP Tester's Toolbox : Sebastian Bergmann

Doctrine 2 : Juozas Kaziukenas

Derick’s talk on building extensions for PHP was so popular that there wasn’t room for me to get the door open far enough to snag a shot, sorry πŸ™

Scaling Your Development Team : Scott MacVicar

Varnish Your PHP application, Make It Fly! : Alistair Stead

Deploying PHP Applications With Phing : Michiel Rook

Estimation or 'How To Dig Your Own Grave' : Rowan Merewood

Rowan’s talk deserves its own blog post and photo set, coming soon πŸ™‚

A Practical Look At Symfony2 : Stefan Koopmanschap

Acceptance & Integration Testing Using Behat : Ben Waine

Are Your Tests Really Helping? : Laura Beth Denker

DocBlox: Your Source Matters : Mike van Riel

CLI, The Other SAPI : Thijs Feryn

If you like these photos, please do leave comments either here on the blog, or on Flickr by clicking on the photo.

Be the first to leave a comment »

The PHP North West User Group ran it’s 4th (and largest yet!) PHP conference – PHPNW11 in Manchester last weekend.

New this year was Tutorial Day: the opportunity to spend half a day or more in hands-on tutorials getting into the nitty-gritty of useful subjects such as Zend Framework 2, Security, Drupal, Web Services and Component Architectures.

These are my photos from the Tutorial Day.

Jenny Wong

Zend Framework 2 Tutorial - Rob Allen

Zend Framework 2 Tutorial - The Students

Security Tutorial - Arne Blankerts

Drupal Performance And Tools - Marcus Deglos

Drupal Performance And Tools - The Students

Be the first to leave a comment »

Coming to my Friday session Maintainable Applications In PHP Using Components at PHP NorthWest 2011 Conference? Great! I’m looking forward to meeting you.

And I have a little bit of prep work for you to do before the session, please πŸ™‚

  1. This is a hands-on session, so make sure that you pack your laptop and its power supply!
  2. Please get your dev environment setup and working before you leave – in particular, make sure that you have the latest version of phix (current 0.13.2) installed.

    I’ve published installation instructions for:

    If your operating system of choice isn’t one of those, there are also manual installation instructions on the Phix Project’s website.

    There’ll be a few minutes at the start to help anyone having trouble with their development environment, (and I’m free all morning for anyone who needs longer) but because we only have about 3.5 hours to cover everything, anyone who turns up with a seriously fscked dev environment will be asked to pair-program for the rest of the session, sorry!

  3. Have a clear idea what you need to get out of our afternoon session together.
  4. Bring along a list of any questions you might have. Hopefully the session will cover most of these … the rest I’m sure we’ll cover in the bar afterwards!

I’m not expecting you to have read my series of blog posts about creating and maintaining packaged components of PHP code, but you will find the session easier to follow if you have.

Interested, but haven’t bought a ticket yet? Buy one now πŸ™‚ In the US? I’ll be doing an all-day version of this session at ZendCon in mid-October together with Chris Hartjes.

Already using phix, and got ideas and suggestions to make it better? I’ll be around throughout the Saturday and Sunday of #phpnw11 (normally with my beloved Nikon at hand – that’s how to recognise me!), and I’d be delighted to get your feedback and discuss your ideas further.

Be the first to leave a comment »

In my Beyond Frameworks talk, I explained how a component-based architecture can help answer some of the important (i.e. expensive!) questions you might face when creating long-lived apps that rely on a PHP framework. In this series of blog posts, I’m going to look at how to go about creating and working with components.

We’ve created a development tool, called phix, to make it as easy as possible to create and maintain your own components written in PHP. Phix is normally installed onto a development desktop or laptop; you would normally only need to install Phix on a server running CentOS if the server is a shared development server or a continuous integration server running something like Jenkins.

Follow these easy instructions to get phix installed on CentOS.

Using The One-Line Installer

The easiest way to get phix installed onto your CentOS server is to run the following command from a Terminal window:

curl -O http://phix-project.org/installers/centos-6.sh ; su -c 'bash centos-6.sh'

This command downloads a simple shell script (which you can find on GitHub if you want to read it before trying it!), which is then run as the user “root”. The shell script:

  • Makes sure that you have a suitable version of PHP installed
  • Uses apt-get to install required dependencies
  • Uses the pecl command to install PHP extensions that we can’t get packaged for CentOS
  • Upgrades the PEAR installer to the latest version
  • Installs the package phix/phix4componentdev, plus dependencies, from the PEAR channel pear.phix-project.org

If all goes well, once everything has finished, run the following command and you’ll see that phix is now installed:

$ pear list -c phix | grep phix
phix                       0.13.2  stable
phix4componentdev          0.13.2  stable

Where To Find The Latest Installation Instructions

You can always find the latest installation instructions for phix on the Phix project’s website, including full instructions on how to do a manual install if you have trouble with our one-line installer.

Be the first to leave a comment »
Page 1 of 212

This Month

October 2011
M T W T F S S
« Sep   Jan »
 12
3456789
10111213141516
17181920212223
24252627282930
31