Posts by: Ben Longden

  • The Hypermedia API April 24, 2013

    As experienced developers we're regularly told that very few API's out there are really RESTful, and sometimes we're even told why and how they could be. But what is the process of actually designing an API that uses hypermedia, and what is hypermedia anyway?

    This talk takes the listener through the process of designing an API structure up front that uses hypermedia at it's core over HTTP, what considerations do you need when selecting a media type to represent your resource and what is out there to help you document it for others to use. This session is recommended for architects and developers alike and will give a good grounding in writing excellent, self-explanatory Hypermedia APIs.

    (more...)

    Digg This
    Reddit This
    Stumble Now!
    Buzz This
    Vote on DZone
    Share on Facebook
    Bookmark this on Delicious
    Kick It on DotNetKicks.com
    Shout it
    Share on LinkedIn
    Bookmark this on Technorati
    Post on Twitter
    Google Plus
  • 2012: A Year in PHP January 8, 2013

    Another year has passed, and yet again we find ourselves reflecting on what has happened in the world of PHP over the past year. Let's take a moment to look back over our 2012 predictions and see how close we were!

    Framework Convergence

    In 2011 we said that major frameworks would start to converge on similar strategies for basic functionality. The PSR-0 standard defined a common autoloading strategy, and the release of Composer in March 2012 has really boosted the adoption of this standard across the most popular frameworks. The release of Symfony 2.1.0 in June brought in Composer as the dependency management solution of choice and the first stable release of Zend Framework 2.0 followed in September, also using Composer for autoloading and dependency management.

    In March, the Drupal project announced that version 8 of their platform (currently due for release mid-2013) would be completely rebuilt on top of the Symfony components, an exciting development and certainly one which has started to bring the Symfony and Drupal communities together at conferences and other community events.
    (more...)

    Digg This
    Reddit This
    Stumble Now!
    Buzz This
    Vote on DZone
    Share on Facebook
    Bookmark this on Delicious
    Kick It on DotNetKicks.com
    Shout it
    Share on LinkedIn
    Bookmark this on Technorati
    Post on Twitter
    Google Plus
  • RESTFest 2012 October 3, 2012

    I was fortunate enough to be able to attend RESTFest in Greenville, South Carolina on the 13th, 14th and 15th September 2012. RESTFest is an un-conference organised by Mike Amundsen and Benjamin Young, and this is the third year it has run at Greenville.

    An un-conference invites attendees to talk on any subject they choose amongst peers and some of the most experienced people in the community in a very relaxed, informal atmosphere. It provides an opportunity to spend three days immersed in discussions about REST and hear about real world Hypermedia APIs. The idea - everybody talks and everybody listens.

    (more...)

    Digg This
    Reddit This
    Stumble Now!
    Buzz This
    Vote on DZone
    Share on Facebook
    Bookmark this on Delicious
    Kick It on DotNetKicks.com
    Shout it
    Share on LinkedIn
    Bookmark this on Technorati
    Post on Twitter
    Google Plus
  • 2011 A Year in PHP January 7, 2012

    2011 has flown by in a blur as we have been busy helping many new clients with large scale PHP projects - proof that PHP continues to gain traction with enterprise. The speed and cost of developing PHP solutions has always been interesting to IT managers and now that some of the larger PHP projects and frameworks are reaching true maturity through a second and third major iteration, they can also now demonstrate existing enterprise clients in many sectors. The once common conversation about PHP’s suitability with large enterprise seems to have been long since forgotten.

    The ongoing financial climate only adds pressure for IT managers to cut costs and deliver more value from their existing infrastructure and therefore require enterprises to re-consider any prior aversion to Open Source and PHP. This is allowing our industry to consistently buck the trend of the markets and expand to support the increased demand.

    New developments

    PHP 5.4 made it to a release candidate status in November 2011 bringing some welcome changes to the language. Small tweaks to the syntax include class member access on instantiation and array dereferencing, multibyte support by default, short array syntax, and many others - but one of the big new ‘headline’ features is that of traits, an OO model for constructing classes that avoids the problems caused by the overuse of inheritance. It’s great to see a mix of syntax improvements balanced out with useful new language features - a sure sign that PHP is maturing and headed in the right direction.

    During July, the first stable version of Symfony 2 was released requiring a minimum version of PHP 5.3. Zend Framework 2.0 hit it’s beta phase in 2011 which is also built on version 5.3 of PHP. This version requirement will start to really phase out development of new projects on hosts who are stuck on versions of PHP that are no longer supported (5.2 went end of life in December 2010), which can only be a good thing for the advancement of PHP around the globe.

    Another interesting development in 2011 was the announcement by Facebook of their PHP Virtual Machine hhvm (HipHop Virtual Machine). We’re not trying to solve the same capacity problems that Facebook contend with - but it’s really interesting to see how PHP is developing in this area with more and more enterprises looking to the PHP language to solve problems on very high traffic sites.

    Ibuildings have traditionally had a large number of speakers throughout the year at a number of different conferences around the world - this year was no exception. We delivered content at PHP NW, PHP Benelux, Dutch PHP Conference, PHP Barcelona, 4Developers (Poland), Magento Imagine and Magento Developers Paradise.

    Open Source Projects

    Behaviour Driven-Development (BDD) seemed to gain some traction with both PHPSpec gaining a new lead developer and pushing out some long awaited new features. Behat has also been hitting the headlines throughout 2011 as a BDD framework based on Ruby’s ‘Cucumber’ project and follows the same Gherkin syntax. PHPUnit has been the de facto testing solution for a number of years now, but new and good alternatives to the xUnit way of testing are starting to emerge onto the scene by way of these new developments.

    A number of turnkey scalable hosting solutions have emerged during 2011. This type of service that has formally been available for Ruby projects has been created with a PHP focus. Allowing you to develop an application and leave the infrastructure and scalable hosting to the service operators. Services such as https://phpfog.com/ and http://orchestra.io/ have quickly emerged with great services and have quickly been adopted. Culminating in the acquisition of orchestra.io by Engine Yard the leading proponent of these services in the Ruby space.

    During 2011 Magento was acquired by Ebay to form part of X.commerce a range of products and services that will facilitate innovation and expand the opportunities to develop integrated commerce solutions that link on-line and off-line channels. This acquisition could be viewed as a negative step for an Open Source product but early suggestions show otherwise. X.com will continue to support the Open Source edition of Magento and many of the other parts of the platform are also being released with an Open Source licence. These developments will give Magento even more credibility within the commerce space and allow PHP to be at the heart of major enterprise commerce.
    Predictions for 2012

    Many of the PHP frameworks appear to be converging on similar strategies. Each evolving into a second or third generation maintaining a full application stack but providing developers with greater flexibility to select only the components they require. Or even to just use a micro framework with smaller feature set but much lighter and quicker to deploy.

    Dependency injection and Injection Containers will be part of the larger Frameworks in their next releases. During 2011 there has been much debate about decoupling of dependencies and there are many strategies to accomplish this. However 2012 is likely to see Dependency Injection Containers become common place for more and more PHP projects and developers.

    We have proven on a number of projects that Open Source software can scale and perform for every application. We have deployed Varnish HTTP accelerator for a number of clients including some large Magento clients. We expect Varnish to become a de facto element of many projects. Many of the Open Source frameworks are building in support for gateway caches such as Varnish.

    The PHP community continues to grow. The PHP conferences are each expanding with extra days and larger venues to support the ever expanding interest. This is also attracting more and more speakers travelling internationally to present.

    Some of the Ibuildings team will be presenting at many of the conferences during 2012. If you see them say hi!

    Digg This
    Reddit This
    Stumble Now!
    Buzz This
    Vote on DZone
    Share on Facebook
    Bookmark this on Delicious
    Kick It on DotNetKicks.com
    Shout it
    Share on LinkedIn
    Bookmark this on Technorati
    Post on Twitter
    Google Plus
  • Building a Continuous Integration Server for PHP with Hudson September 20, 2010

    Continuous integration (CI) is fast becoming part of the standard development model for creating high quality software, and rightly so. Delivering reliably high quality software is in the best interest of yourself, your manager and your clients. This is not an article about Continuous Integration itself, but will introduce Hudson, a key tool, and may help you to implement your own CI strategy. Last year we also published a tutorial on phpUnderControl, which is another CI tool that you might like to consider.

    Hudson itself is written in Java, however the folks over at hudson-ci.org have made its installation as pain-free as possible. This article will focus on setting up Hudson on a debian-based platform however the general outline will be useful even for use on a different platform; there are packages available for other linux distributions over on the hudson-ci.org website.
    (more...)

    Digg This
    Reddit This
    Stumble Now!
    Buzz This
    Vote on DZone
    Share on Facebook
    Bookmark this on Delicious
    Kick It on DotNetKicks.com
    Shout it
    Share on LinkedIn
    Bookmark this on Technorati
    Post on Twitter
    Google Plus