PHP London 2012 Conference

Roundup: Was it worth going? Yes. There is a lot to take in and it got my brain working. As programming conferences goes it was a riot ;)

I was impressed with Rasmus Lerdof’s answers on the panel at the end of the Friday  (the day I attended)
Is PHP still viable for a startup to use? Yes. From the Facebook Blog:

“As a programming language, PHP is simple. Simple to learn, simple to write, simple to read, and simple to debug. We are able to get new engineers ramped up at Facebook a lot faster with PHP than with other languages, which allows us to innovate faster.”

Lerdof mentions how Facebook was getting enough performance from it up until they developed HipHop, in 2010 – which transforms PHP into highly optimized C++. So until you are the size of Facebook was in 2010, PHP is fine, and by the time you are the size of Facebook in 2010 – you should have enough money to introduce whatever efficiency enhancements needed.

Another topic: PHP doesn’t offer threading / allow asynchronous operations. Rasmus says PHP isn’t designed to do that, PHP is supposed to be simple, you don’t want it doing that – pass it off to some other technology to handle.

I enjoyed the talk by June Henriksen on Creative Coding – talking about what we (science) know about creativity and how this affects us in programming. I got me from it than just this, and it was a nice change from looking at syntax.

Derick Rethans shows us some profiling in PHP – and he was honest and frankly a little brave – he was showing how-to via the terminal for us live to demonstrate, and things weren’t going exactly as he predicted – but as a group we quickly debugged and could see profiling in action. I like that he wasn’t afraid to do try this infront of the group – others had screenshots, and that worked will too, but this was a nice change – he was enthusiastic and really came across as knowing his stuff.

The final panel also included High Williams from Ebay – and he said how almost any user on the site is going to be in some sort of experiment – the site they have presented to them will often differ to another user in a slight way. I found this really interesting – and efficient – more large sites will have to take this approach with users to stay ahead. Not testing or analysing a users visit is a wasted opportunity to improve the website as a whole.

 

Overall: Insightful, thought provoking stuff: just make sure you choose what talks you goto well.

Unix Shell / Terminal Commands

Useful commands for use with the Shell / Terminal. Spotlight tool – > ‘terminal’ to find on Mac OS.

PHP used in this case, replace ‘php’ with the file extension of your choice.

Find and replace a string across many files on MAC OS:

find . -name "*.php" -print | xargs sed -i "" 's/string to replace/replacement string/g'

Find and replace a string across many files on LINUX:

find . -name "*.php" -print | xargs sed -i 's/string to replace/replacement string/g'

WordPress vs Tumblr vs Posterous

I’ve come back to the blog world and had to choose a platform to write my words. For me the choice was WordPress.

Tumblr

They have really carved their own space in the blogging world by trimming down the traditional blog and growing a youthful user base. Tumbler makes posting a joy and sharing other peoples posts is easy. Where it falls down for me is in the SEO department, and in a big way (I have test with new blogs and low ranking key words on 2 occasions). If you want people to be primarily finding your site via search engines – Tumblr is not the platform to choose.

Posterous

My last personal site used Posterous, and it was good. Everything is stored in the cloud – like Tumblr and posting is as simple as Tumblr. It wasn’t the choice for me this time due to the limited theming options and WordPress having better SEO.

WordPress.org

WordPress may seem bloated compared to Tumblr and Posterous for simple blogging, but it doesn’t have to be. If you use a minimal theme – or edit one yourself – you really have the best control over your blog, strong SEO benefits and with the W3 cache plugin you can have speed as well.

pintbet

Pintbet logo and strap line.

wikidtutorials

This was a concept for a collaborative user-created tutorial site (and still a good idea), hence the wiki.

hackrhackr Logo

The logo compromises two abstract h letters. Inpsired by symbols from The Matrix.

ur.gigs Website

 

This was produced as part of a university assignment – A user contributed gig review site built in PHP and using the last.fm API.  I went with a simple, and clean visual style.