Ben Longden
PHP, Hypermedia and some other bits...
RSS
  • Contact Me!
  • Speaking

Expanding Zoom

By blongden On March 6, 2013 · 1 Comment
There’s been some recent discussion on the hal-discuss mailing list around the ‘Zoom’ concept for embedding resources, which has prompted me to start exploring this area a little further with a view to potentially writing up a specification that can be applied to any media type that define a way of embedding resources. This blog [...]
[Continue Reading...]

Hypermedia types and connection negotiation

By blongden On September 25, 2012 · 3 Comments
I was fortunate enough to be able to travel to RESTFest in Greenville SC over the past week to spend time mixing with people who are highly influential in the world of REST and Hypermedia. Many interesting things where discussed there and it got me thinking about connection negotiation a little more (one of many [...]
[Continue Reading...]

Writing RESTful clients

By blongden On July 18, 2012 · 3 Comments
There’s plenty of articles out there on how to build the perfect REST API, so I am not going to go into that. This article is all about what to think about when you’re building the perfect client for a REST API. What you’re being served is clearly important – but how you use that [...]
[Continue Reading...]

JSON Sucks

By blongden On April 26, 2012 · 9 Comments
Ok, so perhaps I was a little bit OTT with the title of this blog post (but it got your attention, right?). What I actually mean is that JSON Sucks for hypermedia APIs, and I am going to tell you why. But before I do, I just want to point out that actually I think [...]
[Continue Reading...]

The error hypermedia type

By blongden On April 24, 2012 · 5 Comments
When designing a complex hypermedia API you will inevitably come across the situation where instead of returning the required resource, you need to return an error state. Currently, there is no hypermedia type registered with IANA to deal with this scenario, so it is left up to the API designer to construct and document a [...]
[Continue Reading...]

PHP 5.4 web server

By blongden On April 11, 2012 · Add Comment
For me, one of the most exciting things that we have in PHP 5.4 is its built in web server. It makes being able to jump in the deep end with new ideas much easier and avoids the tedious work in setting up and needing apache to run before you have code to deploy. I [...]
[Continue Reading...]

Code review Karma

By blongden On April 9, 2012 · 1 Comment
Implementing a good code review system into a development process is something that I have found quite difficult to do. The idea of it is conceptually quite simple – just make sure that before code is accepted into the main development stream that it’s reviewed by someone before being allowed to pass. Tools like github [...]
[Continue Reading...]

So you think TDD isn’t worth the cost?

By blongden On January 28, 2012 · 1 Comment
Think of the full software development life cycle. We gather requirements, create user stories, break them down into tasks, estimate, fight with your client about how long it’s all going to take, renegotiate the timings (what’s 35% of the development time on unit tests? Do we need those?), submit a revised timescale with cut down [...]
[Continue Reading...]

REST and the Hypermedia Constraint

By blongden On January 8, 2012 · Add Comment
The video of my talk at PHPNW ’11 has now been posted online at blip.tv Enjoy!
[Continue Reading...]

Magento Enterprise PageCache

By blongden On January 5, 2012 · 5 Comments
I have split this post into two parts – starting with how pages are cached in the first place, and then how Magento retrieves a page from the cache before falling back to dispatching a controller. How pages are cached The Magento enterprise page cache module observes several events that are fired during the course [...]
[Continue Reading...]
  • ← Previous Entries
  • Ben Longden
  • Mini Tweets
  • Recent Posts

    • Expanding Zoom
    • Hypermedia types and connection negotiation
    • Writing RESTful clients
    • JSON Sucks
    • The error hypermedia type
  • Tags

    azure conference development hypermedia json lolcode magento orm osx personal php rest tdd xml
  • Blogroll

    • Cakes by Jenny Louise
    • critical_log
    • Facebook
    • LinkedIn
    • merewood.org
@rowan_m at least you have 10 to lose :-( http://t.co/sjk82496MG  — blongden

Ben Longden

Pages

  • Contact Me!
  • Speaking

The Latest

  • Expanding Zoom
    There's been some recent discussion on the hal-discuss mailing list around the […]

More

© 2012 Ben Longden
Build a website with PageLines