After couple of months of hacking, I finally released Phrozn version 0.2. I had to cut down the feature list as there are quite a lot of things I want to do and not that much time I can dedicate at the moment. Still, I think the release enhances Phrozn project in several ways, so let me tell you what’s new in.. well, new version of Phrozn:

Content Providers

When working on yet another side-project of mine – ZFCasts (podcast show in Russian where me and my friends speculate on Zend Framework) – I was immediately stuck, as there was no way I can inject (programmatically) my own content into the pages. Basically, I had an RSS feed with all the contents of the show, and what I needed was some means to integrate that RSS’s contents into my templates.

That’s when Content Providers were created. If you are used to some other static site generators (in Ruby and Python) you might know those beasts under the “Generators” name. Why on earth I named them “Content Providers” is something I don’t have answer for, so let’s just stick with the term.

Right now you can have better control on the variables used within your templates. Basically, you can inject anything – RSS, hard-coded data, result of the call to some external web-service. Coupled with the fact that you can put your phr up job into cron, you have quite good mechanism of keeping your site updated.

For full info, please, check the official documentation.

Phrozn Bundles

My original aim and one of the top priorities (if not the most important one) is to make contribution not only possible but an easy and fun process. If someone is cool enough to contribute some text processor – that must be possible without diving into the Phrozn internals.

On par with that goal, I introduced so-called bundles. Bundles are basically some directories in standardized format, that you can archive (into .tgz format) and start distributing to other Phrozn users. I wanted as simple and transparent mechanism of 3rd party code contribution as possible.

Therefore, I launched the Phrozn Bundles repository on GitHub, so that you can fork it, write your bundle, and send me a pull request (I will take care of archiving and registering it with core Phrozn program). Once done, any Phrozn user will be able to install your bundle as easy as typing:

        phr bundle apply your-bundle-name

By the way, bundles can be very useful even if you can’t contribute them back – they give you very simple way to transfer styles, themes, plugins between several phr installations.

For more info, please, see

I did number of other changes and bug fixes (changelog), but Bundles and Content Providers are by far the most important additions to the stack.

Finally..

Should you find any issue, please let me know. If you don’t find issue but think Phrozn is useful, let me know too :) )

One last thing for today’s post. Huge thanks to Phrozn’s early contributors that helped me nailing down the bugs:

Thank you guys, and looking forward to seeing even more contributors in upcoming releases!

,

As anyone doing serious programming using PHP, you certainly know that Sebastian Bergmann released version 3.5 of his exceptional PHPUnit package. He announced the release later on in his blog.

Version 3.5 is actually the version you get when using

pear install phpunit/phpunit

and it means that within short period of time everybody will be running it.

And it so happened that when preparing the new Phing release (2.4.3) we weren’t aware of what was comming with PHPUnit 3.5 – that’s some backward incompatible changes due to package refactoring done on that branch. So, once 3.5 was out we started getting reports that PHPUnitTask for Phing doesn’t work. And it actually didn’t :(

Since PHPUnit is crucial for PHP development, we had to push one extra release before we proceed with Phing 2.4.3 – so here you are: Phing 2.4.2.1 release with (hopefully) PHPUnit 3.5 support.

In order to upgrade:

pear upgrade phing/phing

Let us know if you happen to spot any issues.

Just throwing message with #phing hashtag on twitter is enough, if you have any further questions you can always contact me or Michiel (or shout something in @PhingOfficial).

Thanks for running your builds on Phing, and stay tuned for new release!

,