MySQL Conference 2008

Sebastian Bergmann » 21 April 2008 » in MySQL, PHPUnit » 0 Comments

Once again I spent a week in the San Francisco Bay Area. This time around it was for LugRadio Live USA 2008 and the MySQL Conference & Expo 2008.

Hyatt Regency Santa Clara

I flew in on April 12 (from FRA via LAX to SJC) and arrived in the hotel, the Hyatt Regency Santa Clara, in the afternoon.

Downtown Mountain View

The next morning I left the hotel around 7:00 in the morning for a genuine experience of what they call public transportation in the bay area. It took me three hours to travel the distance of about 40 miles from Santa Clara to downtown San Francisco:

The most frustrating part of this experience was the fact that you buy separate tickets for each leg of the trip as the trains are operated by different carriers and that there is no integrated timetable online.

LugRadio Live US 2008

At LugRadio Live USA 2008 I attended the following sessions:

I also got to talk briefly to Jono Bacon and Allison Randal before I had to start the three hour trip back to Santa Clara.

MySQL Community Dinner

I got back to Santa Clara in time for the MySQL Community Dinner that was initated by Arjen Lentz.

Exhibition Area

Unlike with the PHP-focussed conferences that I usually present at, I managed to attend a session in almost every timeslot (each of which had 8 sessions to choose from) at the MySQL Conference & Expo 2008.

I had a great time at the conference. I met a lot of nice people, had plenty of interesting discussions, and I learned a lot in the sessions.

Defined tags for this entry: , , ,

Testing PHP/MySQL Applications with PHPUnit/DbUnit

Sebastian Bergmann » 16 April 2008 » in MySQL, Presentations » 0 Comments

Here is the presentation material I used for my "Testing PHP/MySQL Applications with PHPUnit/DbUnit" presentation at the MySQL Conference in Santa Clara, CA today.

A PDF version of the presentation is available here, notes by Joe Stump (Digg.com) are here. Thanks to Sheeri Kritzer Cabral there is a video of the presentation.

Defined tags for this entry: , , , ,

Giuseppe is a Charmer

Sebastian Bergmann » 12 March 2008 » in MySQL, PHPUnit » 0 Comments

And not just a data charmer:

"Old school technologists don't think kindly of PHP. Its adepts are believed to be sloppy programmers that create brittle applications. It takes programmers like Sebastian Bergmann to level the score and to show that a good programmer is shown by best practices, not by the choice of language.
The best thing a good programmer can do while developing an application is testing. Sebastian shows why you should do it, and how. Not only that, it will show you how easy it is. At the end of this session you will wonder how could you have survived for years without unit testing.
PHP programmers, mark your calendars!"

My presentation on PHPUnit is his reason #3 to attend this year's MySQL Conference next month in Santa Clara, CA.

See you in Santa Clara, Giuseppe!

Defined tags for this entry: , ,

Testing with SQLite In-Memory Databases

Sebastian Bergmann » 20 February 2008 » in PHP » 5 Comments

When testing PHP code that uses PDO to connect to a database, it makes sense to keep your SQL compatible with SQLite. The fact that no inter-process communication with a server takes place (as there is no SQLite server) and SQLite's ability to store databases in memory minimizes the overhead incurred by the database.
 UserSystemCPUTotal
PDO / MySQL3.95s0.87s40%12.046s
PDO / SQLite (file)5.01s1.54s63%10.359s
PDO / SQLite (memory)3.16s0.68s99%3.849s
The benchmark data above has been collected by running 200 test cases that all perform CREATE TABLE, INSERT, UPDATE, DELETE, SELECT, and DROP TABLE queries against mysql://test@localhost/test, sqlite:///tmp/db, and sqlite://:memory: databases, respectively.
Defined tags for this entry: , , , ,

Speaking at MySQL Conference 2008

Sebastian Bergmann » 19 December 2007 » in Events, MySQL » 0 Comments

MySQL Conference & Expo 2008

I will present a session on Testing PHP/MySQL Applications with PHPUnit/DbUnit at the MySQL Conference & Expo 2008 that is held April 14-17 2008 in Santa Clara, CA, US.
Testing PHP/MySQL Applications with PHPUnit/DbUnit
In the last decade, PHP has developed from a niche language for adding dynamic functionality to small websites to a powerful tool making strong inroads into large-scale Web systems. Critical business logic like this needs to work correctly. But how do you ensure that it does? You test it, of course.

To make code testing viable, good tool support is needed. This is where PHPUnit comes into play. It is a member of the xUnit family of testing frameworks and provides both a framework that makes the writing of tests easy as well as the functionality to easily run the tests and analyse their results.

This session introduces the audience to PHPUnit’s DbUnit extension that makes the writing of tests that interact with databases more convenient and easier.
I am looking forward to attending this conference, catching up with the recent improvements to MySQL, and meeting with my friends from the MySQL community.
Defined tags for this entry: , , ,