Steven Mileham – General Geekery

March 29, 2008

iTraffix

Filed under: Technology — Tags: , — smileham @ 7:43 am

A moment of pride for sure! I just submitted my iPhone web application to the Apple website. I’ve certainly found it useful when I’ve been stuck in a traffic jam!

Its very simple, just using the iui javascript, all it does is go and grab the XML traffic feeds from the highways agency and allow you to read through it by region and road.

You can check it out at http://smileham.com/itraffix

iTraffix

March 18, 2008

qCon day three

Filed under: Technology — Tags: , — smileham @ 6:31 am

Better late than never…

With a change to the format of the previous days, Friday just ran straight to the different tracks.  Out of interest in the “Architecture You’ve Always Wondered About” track I checked out the Introduction.

Deciding that I’d had enough SOA knowledge, I stuck around the Architecture track and listened to the eBay presentation.  A really interesting look at how they design a flexible architecture that allows for their systems to scale with the traffic going to the eBay site, and still enable them to roll out new code releases ever couple of weeks.  They work on four basic principles;

  1. Partition Everything
  2. Async Everywhere
  3. Automate Everything
  4. Remember Everything Fails

The main enabler of this architecture is their dedication to keep it as stateless as possible.  The only time they use a session is the process by which a user creates an auction on the site through a multi-page wizard style interface.

After the eBay presentation, I wandered over to the Solution track to check out the testing framework for the Spring platform.  Basically it creates a wrapper around JUnit 3.8, 4.0 or TestNG that lets you “wire up” an application through Spring configuration and Java 5 annotations.

The rest of the day was dedicated to JavaScript, with a presentation on the Google Web Toolkit, an excellent AJAX platform for writing applications, and finally jQuery.

March 13, 2008

qCon day two

Filed under: Technology — Tags: , — smileham @ 11:18 am

After the sheer amount of different presentation topics of yesterday, today was a far more focused affair.

The day began with an interesting talk on Agile development methodologies (yet again). The different aspect of this presentation, was that it was more focused on the social skills needed in a team in order to work in an iterative, collaborative manner. His main point seemed to be to focus on what you as a team are good at, and making sure that your energies go into that, rather than inventive spin and lies or excuses as to why performance wasn’t what it should have been.

The rest of the day I spent in the “SOA, REST and the Web” track. Having now finally grasped the concept of REST services, I want to go back and rewrite all the web services I’ve already built. Whereas traditional “Web Services” focus on defining specific interfaces and APIs which must be continually maintained, so that if the back end is changed, the consumers of that service must be updated, REST utilises the standard operations of HTTP;

  • GET
  • PUT
  • POST
  • DELETE

By using these methods, any HTTP client can now consume your service, the services is identified by a URI which describes the resource, eg; http://example.com/orders/2007 would return all orders from 2007. The resources returned can then be defined as a MIME type, the same data could be represented by an Excel spreadsheet, and HTML table or a JPEG graph, all from the same GET request, just with different clients in the Header.

Much of the day repeated these concepts of REST.

March 12, 2008

qCon day one

Filed under: Technology — Tags: , — smileham @ 11:00 am

Opening talk from Erich Gamma on how the Eclipse IDE has changed software development for him and his team in the seven years since he began writing it. Interesting stuff, showing the transition from a closed source project to an open source community project, how they migrated from a waterfall methodology which allowed them a slow build of development then only to have to panic near the deadline, to a more iterative agile methodology which forced the team to focus more on delivery and shipping. Finally he introduced Jazz as a team collaboration tool which integrates very tightly with Eclipse.

After this opener, I attempted to take an interest in the Agile development track, I stayed for the introduction to the day, and decided I’d check out the “agile mash-ups” talk, but the rest didn’t interest me.

I ended up watching the first “Cloud as the new middleware platform” presentation on Amazon’s web services. I wasn’t aware that Amazon even had anything in this sector, I was expecting services for e-commerce to be honest. What they actually covered though, was a completely scalable server infrastructure upon which you could run any application you wanted. Using their server farms, they host numerous virtual servers, which for a reasonable fee, can be dynamically created, clustered and utilised for an arbitrary amount of time, charged by the hour and storage. Creation of servers was entirely scripted to allow for scaling when demand reached a specific point or more storage was required.

Returning to the Agile track, my mind ended up wandering through the “Agile mash-ups” talk, partly because we’d just had lunch, and partly because I just don’t think I get why Agile is such a big issue. Much of what the presenter said was common sense, take the bits that work for you from each of the agile methodologies and leave the rest.

InfoQ, the organisers of the conference regularly host recorded interviews with industry shapers on their website. For this conference they invited an audience in to participate in the interviews. I watched an excellent interview with Mark Little, a developer for Redhat who has worked on many of the current web service standards. He spoke about transactional web services, specifically WSTX’s two models acid transactions and business activity transactions. For a SOA environment, BA transactions should be used, although this just means providing compensation methods for each service. He talked about the great divide between SOAP Web services and RESTful services, how he wishes they would just “kiss and make up”. Finally he mentioned the JBoss Redhat merger last year, comparing JBoss to a teenage son to Redhat’s 40 year old father.

Last presentation of the day was on Spring Batch, an extension to the Spring framework to allow for easier development of batch processes.

Powered by WordPress