Skip to main content

LoneStarPHP 2014 in review

Last week I returned from LoneStarPHP conference in Addison, Texas. The first thing I noticed flying over the area that all is flat and very extend. Later I heard from Omni Adams, who came to pick me up at the airport, that this was as a protection measure for storms and tornadoes that appear from time to time.

The hotel was Marriott SpringHill Suites Dallas Addison/Quorum Drive which was a very nice hotel. The hotel staff was very friendly, common to the area I was told and had the best feature: non-stop supply of coffee! Already scoring good in my book.

As tradition dictates, all the speakers were invited to a dinner the evening before the conference kicked off. The LoneStarPHP crew arranged something at a traditional BBQ & Grill called "Hard Eight BBQ" which was about an half hour drive away from the hotel.
The meat at Hard Eight BBQ
This was the first time I was at such a place, but I enjoyed the delicious meats they served. Surprising to see that just a bit of meat could fill one up so quickly.

The conference lineup was incredibly well orchestrated and it was sometimes difficult to choose which session to attend. I was able to sit in sessions of Adam Culp, Keith Casey and a small part of Eryn O'Neil before I had to go on stage and present my talk "Your code are my tests". I received good feedback on joindin to improve this talk even further and got compliments on Twitter and in the hallway from people that needed this type of talk to see that you can get started with unit testing on any given project at any given time, even though writing tests close to writing the code it covers is still better (and TDD is still ruler in this field).


The closing keynote was given by Alison "Snipe" Gianotto about security. Even though we all know how important security is, Alison showed us with some statistics how bad we all are at security and gave us tips to improve. If you care about security (and you should), go grab her slides now!

That evening the crew had activities in store but I had the pleasure to sit outside and talk with Alison. Soon our conversation took a full 180ยบ turn and draw out a decent amount of people joining our conversation. It was awesome!

The second conference day was again challenging to choose between all the great talks. I had chosen for the talks of Eli WhiteJeremy Lindblom and Jeff Carouth. Again, it was tough to choose but my chosen talks were exactly what I needed and picked up a couple of things.
Eli White talking about his time working for the NSA
I closed the sessions track with my "Community works for business too" presentation, talking about how businesses and their employees could do little things to give back to the (PHP) community.

Larry Garfield closed the conference with a keynote on refactoring explaining the challenges they faced on their road towards Drupal 8. An excellent keynote!

This was a superb conference I enjoyed so much, I want to book my ticket for next year already. I want to thank the whole LoneStarPHP crew who made this possible and I hope to see you all next year.

Comments

Popular posts from this blog

PHP 7 and Apache on macOS Sierra

I posted several talks about compiling PHP from source, but everyone was trying to convince me that a package manager like Homebrew was a more convenient way to install. The purpose of Homebrew is simple: a package manager for macOS that will allow you to set up and install common packages easily and allows you to update frequently using simple commands. I used a clean installation of macOS Sierra to ensure all steps could be recorded and tested. In most cases you already have done work on your Mac, so chances are you can skip a few steps in this tutorial. APACHE AND PHP WITH HOMEBREW I’ve made this according to the installation instructions given on GetGrav. The installation procedures These installation procedures will set up your macOS Sierra with PHP 7.1 and Apache 2.4. Install Xcode command line tools (if not done yet)xcode-select --install Install Homebrew/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" Set up for in…

Sessions in PHP 7.1 and Redis

In case you have missed it, PHP 7.1.0 has been released recently. Now you can’t wait to upgrade your servers to the latest and greatest PHP version ever. But hold that thought a second… With PHP 7 lots of things have changed underneath the hood. But these changed features can also put unexpected challenges on your path. Our challenge One of these challenges that we faced was getting PHP 7.1 to play nice storing sessions in our Redis storage. In order to store sessions in Redis, we needed to install the Redis PHP extension that not only provides PHP functions for Redis, but also installs the PHP session handler for Redis. Because we upgraded our servers to PHP 7.1, we were looking to use the latest provided version for this Redis extension: redis-3.1.0. Once installed, we bumped against a nasty problem. Warning: session_start(): Failed to read session data: redis (path: tcp://127.0.0.1:6379) Searching the internet for this error, we didn’t got many hits that could point us into a dire…

Speeding up database calls with PDO and iterators

When you review lots of code, you often wonder why things were written the way they were. Especially when making expensive calls to a database, I still see things that could and should be improved.
No framework development When working with a framework, mostly these database calls are optimized for the developer and abstract the complex logic to improve and optimize the retrieval and usage of data. But then developers need to build something without a framework and end up using the basics of PHP in a sub-optimal way.

$pdo = new \PDO( $config['db']['dsn'], $config['db']['username'], $config['db']['password'] ); $sql = 'SELECT * FROM `gen_contact` ORDER BY `contact_modified` DESC'; $stmt = $pdo->prepare($sql); $stmt->execute(); $data = $stmt->fetchAll(\PDO::FETCH_OBJ); echo 'Getting the contacts that changed the last 3 months' . PHP_EOL; foreach ($data as $row) { $dt = new \DateTime('2015-04-…