php|tek: day #2

This day started of by attending Derick’s “Exposing Hidden PHP Secrets” talk which explained some of the magic that happens behind the curtains whenever someone makes a request to a php file. He also talked a bit about compiler caches and repeated some of the stuff Sara talked about in her tutorial yesterday. He also mentioned the memory leaks that can occur when doing circular references in PHP which Sara did not mention. He also mentioned that today is the 17th of May (Norway’s national day). The fact that I did not remember this myself should give a small hint to how much I care about this day…

Next up was “APC @ Facebook” by Brian Shire which was very nice. They are doing some pretty cool things to make Facebook run as smooth as it does (well, mostly smooth). I picked up a couple of cool tricks that might be used on Nettby later on.After the APC talk Sara was on with “Cryptography, Keeping a Secret” which was cool. She talked about some of the different algorithms out there and some hashing. Most of the stuff I already knew about though (oh yeah, the md5 hash for “Array” is 4410ec34d9e6c1a68100ca0ce033fb17 in case you wondered). She is a good speaker though, so it was all good. :)

After lunch I saw Marcus Börger talk about “The Standard PHP Library” which he has written. I have used only a small part of it (ArrayAccess) and I have never heard anyone say Iterator that many times in one hour before. Quite impressive!

Next up was Chris Hartjes and his “What Can PHP Learn From Ruby on Rails?” talk. He talked a bit about how PHP could adopt different ideas from ROR. He also talked a bit about different PHP frameworks such as Zend Framework and CakePHP. What he liked about CakePHP is that they follow a strict convention so that you will always know where the models, controllers, views and so on is, instead of making it very configurable. I tend to agree on that, and it makes thing a little easier when you don’t have to do that much configuring to get stuff up and running.

The last session of the day was “PHP Security Pitfalls” by Ilia Alshanetsky. He talked about some of the usual security issues these days like XSS, CSRF, session fixation and some more stuff.

Some of the slides that were used are available at

When the conference was finished we just relaxed a bit in the hotel. After a dinner at Gibsons Bar & Steakhouse (which was very nice btw) it was time for “Facebook’s Thursday Night’s Cocktail Hour” that took place in the bar at the top of the hotel (actually a revolving bar). Andy McKee played his guitar, and we consumed several beers. Too bad people started going back to their rooms a bit early.

Now it’s time to go to sleep here… Another day tomorrow! :)

This entry was posted in PHP, Trips. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s