Posts Tagged ‘dpc’

DPC2008 Announcement and CFI

Thursday, February 21st, 2008

I'm proud to announce that we're organizing another edition of the Dutch PHP Conference, with the help of the great people at Zend. It will be in Amsterdam on June 13 and 14 this year.

Last year we organized it for the first time, and based on feedback from our visitors we have made several changes to this years event:

  • We now have 2 days instead of 1 (1 tutorial day + 1 conference day).

  • Last years event was sold out way too early so we increased capacity (still, don't wait too long to get tickets ;-)).
  • A new website with more relevant information, which will be updated regularly as we move closer to the conference. The new site is at www.phpconference.nl.
  • We only fixed part of the program, and visitors can help finalize it (more on that below).
  • The conference will be in English, because we had more visitors from abroad than we had expected last year.

So far, we already have been able to attract great names from the PHP community such as Zeev Suraski, Marco Tabini and Sebastian Bergmann. More will be added as we get closer to the conference.

To finalize the schedule, we want to do something different. Instead of the more common 'Call for Papers' where speakers can submit their talks, we're doing a 'Call for Ideas', where we want to hear from our visitors (or potential visitors) who they would like to see at the conference, or which topics they would like to hear about. We can't guarantee availability of speakers of course, but we'll try to match the requests as close as possible. Enter your ideas at the box in the bottom right of the website.

Oh, and for those who were present last year, this time we have a dedicated internet connection for speakers and a redundant beamer. ;-)

I hope to see you all in June!

My First Mashup

Friday, July 27th, 2007

I have been inspired by Cal Evans' mashup experiment, which he did a presentation on at the Dutch PHP Conference last month.

Also, I was annoyed with having to consult many different resources when I plan a business trip.

So I began building frekfly, my own little mashup.

Version 1

The first version, which took me only a few hours to built, offered only a google map, basic weather information, flickr images and currency conversion. To built this, I used the following tools:

  • PHP5's Webservices API, which made it possible to consume webservices with only very few lines of code.
  • The Flickr API to retrieve images
  • Google Maps for the map display
  • Some webservicex services, for weather, geographical and currency information.
  • Zend Framework, mainly for its Zend_Service_Flickr class, which makes consuming the flickr rest service easy.
  • ATK, for its debugging console and file-caching.

It's really easy to construct an application like this in PHP, given that a few lines of code give you access to any available webservice. The first version of the app did not even use a database, everything was retrieved from webservices and cached in files.

Version 2

Then, I wanted more. When I travel for work, I usually need hotels that are located close to the airport, so I looked for a webservice that could provide me with hotel information. I requested access to the API at expedia, but they have a manual approval process and I'm still waiting for a response. Luckily the people at booking.com were a lot more helpful and they provided me with an iframe based interface to their hotel reservation engine, and they even styled their pages according to the design (well ok, that's not really a design yet, is it ;-)) of frekfly.

The only thing missing from their API was the ability to search by latitude and longitude, which was my close-to-the-airport criterium. However, they kindly send me a dump of their hotel database including the coordinates.

So in version 2 I had to add a database, and I used the database abstraction layer of ATK to easily access it.

Version 2 is what is currently online. I may post some code examples of the webservice interfaces later on, because I found this to be a very instructive experience.

Future plans

In the next version, I want to add other nifty web-two-point-oh features to the site, including the ability to have visitors enter comments and details, so they can help complete the airport information. (such as 'are there better restaurants before or after security?'). Here I plan to use the JSON functionality of Zend Framework, to make this very 2.0-ish.

Issues to deal with

One of the major disadvantages of mashups is the fact that you're dependent on external systems. At night, the site is hardly usable because webservicex is very busy at that time and gives a lot of timeouts. Of course, this is countered by caching, but I can't cache every output for every airport on the planet, so caching is based on a 'retrieve the first time its needed' approach. So that's a disadvantage at this point.

Another interesting issue you have to deal with when writing mashups is standardization in naming, or rather, the lack thereof. For example, I consult 2 different webservices and a few file based airport resources to get airport information, but each of them use different names for the same airport. Where possible, I use the official 3-letter IATA code, but some of them do not support that.

So instead of actually matching data from different sources, you have to use a more probabilistic approach, where you say "hmm, 'Schiphol Airport Amsterdam' and 'Amsterdam, Schiphol' are probably the same airport.

I had a similar issue with the weather service; it doesn't support latitude and longitude, so what it does is 'guess' what the nearest weatherstation is, based on the airportname, the nearest town name, the biggest city close to the airport and finally the country capital if all else fails.

These are all issues to deal with in a mashup-based application, and I would encourage everyone to built a mashup at some point, because it teaches you things that you don't usually encounter with standard mysql+php based websites.

DPC2007 and Zend UK Business Conference recap

Wednesday, July 4th, 2007

On june 16th we organized the first Dutch PHP Conference in Amsterdam. The event was attended by more than 250 people and with speakers such as Cal Evans, Kevlin Henney, Lukas Smith, Derick Rethans and many others, I think it was a great event.

We've decided to make it a yearly event, so mark June 14, 2008 in your agenda for the next instalment.

I did a presentation on business frameworks (and ATK in particular) at the conference, the slides of which can be found on slideshare.

The DPC was not the only new conference, last monday I visited the first Zend UK PHP for Business Seminar organized by the London office of Zend. This conference was targeted at 'business people', and featured speakers such as Zeev Suraski, Harold Goldberg (Zend's new CEO), David Boloker (IBM) and Clint Oram (SugarCRM).

I had the honor of presenting a talk on 'enterprise PHP development' on the seminar. Since it was targeted at business people, I explained the development process of PHP applications using metaphors. What may be obvious for most of us, isn't so obvious for a lot of people and companies, so I found it important to talk about the process surrounding PHP development, and not just plain PHP coding itself.

Below are the slides of this talk:

This is the 7th presentation I did in 3 months time; I'm beginning to get the hang of this. :-)

DPC line-up complete

Saturday, June 9th, 2007

About a month ago we announced the Dutch PHP Conference that is going to take place in Amsterdam one week from now.

Apparently there is much demand for such a conference because we already sold out all tickets one day before the early bird discount ended, and our line-up wasn't even complete at that point. :-)

We just confirmed the last addition to the program: Derick Rethans, from Xdebug and ezComponents fame, will give a talk about Test-driven Development.

The complete program is available on the conference website.