Rowan Merewood

DPC logo

Amsterdam is most definitely one of those cities that everyone should visit at least once in their life and I can highly recommend the Dutch PHP Conference (DPC) as a reason to make that visit. This is also the second year that DPC has been joined by the Dutch Mobile Conference, a ticket to one gives you access to the other. This leads to a great mix of developers from different disciplines and generally means that regardless of your particular skill-set, there will be a talk running whose subject is completely new to you.

This review starts with the first day of the actual conference rather than the initial tutorial day as my colleague, Ben and I took the rare opportunity to be tourists for the day instead of our usual attempt to cram a whole week of sightseeing into the few hours between leaving the venue and catching a flight. Still, this isn’t a “what I did on my holidays” blog so the only thing I’ll say is if, like me, you get most of your UV exposure from fluorescent lights then bring sunscreen otherwise your hour-long, open-top boat tour at high noon will create a different sort of lasting impression.

The conference opened with our Ibuildings’ organisers Ross and Martin charting their journey from Vlissingen over to Amsterdam. This provided a nice reminder, that actually the sunshine was a bit of a freak event over there as well. Things then kicked off with an opening keynote from Google’s Ade Oshineye on “A Web of Identity”. This had some nice messages for a mixed PHP and mobile conference that pushed forward the idea that focusing on the X vs Y mentality (e.g. mobile vs native) is generally wrong, instead it’s about the end to end experience a user has when they try to achieve something - which can span multiple services, devices, and locations. This tied nicely back to the principles on which “the web” was founded - its accessibility to authors, the ability to link so easily to other services, and the ability to do all this without needing permission. It left me wanting to get into more detail on the technical challenges of being able to persist your own identity throughout different systems.

(more...)

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Plus
admin

Symfony Live London is back for its second year!

2012’s event inspired everyone, from the Symfony devotee to the enthusiastic learner and this year we’re back for more. Hosted by SensioLabs UK, Symfony Live 2013 will take place at Glaziers Hall on the banks of the river Thames, and will involve a series of talks from industry leading experts.

The training day

The training day will involve two fast track, hands-on workshops from leading lights in the Symfony two community. With two workshop options:

Introduction to Symfony2 - aimed at developers who have little experience of Symfony2, this course will give an insightful introduction to the framework covering all the basics in one single day. The day begins with lessons in installation and configuration, covers further insight such as the twig template engine and debugging tools, and ends with offering some best practice tips.

Going further with Symfony2 - aimed at experienced Symfony2 developers, who want to get to grips with some of the more advanced features. This hands-on course will dive straight into mastering the dependency injection container configuration, writing cacheable content for an HTTP cache such as Varnish, form based authentication and some authorisation rules.

The conference day

The most highly anticipated of the event, Friday is conference day and with over 200 delegates anticipated there will certainly be a buzz around Symfony. Similar to the format we used last year, we’ll have an opening keynote, followed by 2 tracks of insightful technical talks then closing remarks and a social event.

Call for Papers

The Call for Papers is open until the 30th June so if you have a talk to contribute to the event, don’t miss out. Submission topics include Symfony, Drupal, BDD and quality PHP development in general. First time speakers and veterans of the conference circuit are all welcome to apply.

The generous speaker package will include up to 2 nights in a hotel and a space at our speakers’ dinner.

To ensure you don’t miss out on this event, get your tickets now and receive a 25% early bird discount.

For all the up to date conference news follow @SensioLabsUK on twitter, #symfony_live.

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Plus
Barney Hanlon

In the previous post about speedy sites, we discussed the static assets of a site, and how providing them to users can be optimised through selective use of aggregation and HTML. Let’s move away from considering what to give the user, and instead look at how we provide it to them: the stack.

How do we define "the stack"? For the purposes of this article, the stack represents everything between the user and the PHP generating the content they see. As with all performance tuning work, you will need to have a sandbox to try out these techniques, and see what works for you. Often this will be a mixture of several technologies, which I affectionately refer to as the "Speed Sandwich", with each layer doing a specific role to improve the overall performance of the user experience, while aiming to limit complexity to a few distinct components. We want to give the end user the page they requested as fast as possible. So how can we achieve this? (more...)

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Plus
Konstantin Kudryashov

Automated testing is big news these days. There's hardly a PHP conference happening without a talk on testing automation or derivative methodologies. TDD (Test-Driven Development) and BDD (Behaviour Driven Development) are all around us. So why should you care about all this? Well, there are many excellent reasons to do automated testing, including assuring application quality and inspiring developer confidence in a system. If you are a business person, you're most likely to care about the quality; if you're a developer then the confidence aspect is more important. The more complex an application becomes, the harder it is to be sure that each new feature or bug fix won't break the system, and that decreases your overall confidence in your work as developer. That's exactly the reason why you need automated testing - to be confident that you're not breaking important parts of an application.

Now you're convinced that automated testing is important, but isn't unit testing enough? Unit tests are cheap, fast and small. Why might you want to expand into using a technique such as functional testing? Once again the answer is confidence. The more complicated an application becomes, the more complicated the interactions between separate parts of the application become. Just as you can't be confident your car is roadworthy by manually turning each of its wheels independently, you can't be sure that an entire application is working by testing each of its units independently. You need functional testing for complex applications - and today, that's every application. (more...)

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Plus
Marco De Bortoli

After my great experience last year I was eager to attend the second edition of WhiskyWeb and it has to be said that the organisers (in random order, Juozas "Joe" Kaziukėnas, Michael Maclean, Max Manders, Paul Dragoonis and Ben Longden) didn't let me down. The atmosphere was incredible and once again they managed to create something really special. (more...)

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Plus
Ben Longden

The Hypermedia API

by Ben Longden |  2 comments | April 24, 2013

As experienced developers we're regularly told that very few API's out there are really RESTful, and sometimes we're even told why and how they could be. But what is the process of actually designing an API that uses hypermedia, and what is hypermedia anyway?

This talk takes the listener through the process of designing an API structure up front that uses hypermedia at it's core over HTTP, what considerations do you need when selecting a media type to represent your resource and what is out there to help you document it for others to use. This session is recommended for architects and developers alike and will give a good grounding in writing excellent, self-explanatory Hypermedia APIs.

(more...)

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Plus
Marcello Duarte

"Why should we write our tests first? Isn't that going to slow my development?"
"What? Assigning a single task to 2 developers? How is that efficient? What a waste of resources!"
"Look, in the perfect world your advice is great, but I have a project to finish here."

In this talk Marcello explores efficiency in contrast to effectiveness. He looks into how practices, traditionally accepted as efficient, sometimes turn out to be less effective than a few "impractical" things he has come across.

(more...)

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Plus
Barney Hanlon

Anyone who went to the PHP Conference 2013 in London hopefully saw Ilia Alshanetsky’s talk on analysing bottlenecks in your application, which had some great techniques for how to test the performance of your site. This article assumes you've taken a look at his slides or are already familiar with Google Chrome’s Developer Tools, so you can refer to the Network tab to gain insight into what is happening to your users. Other tools such as YSlow and Pingdom will also help in gathering data, though they don’t tell the full story.

What happens though if you complete your analysis and you do have a bottleneck, and it’s going to take a while to fix? Or you have some sluggish legacy code that is a huge lump of technical debt? Fixing sites is hard, and as engineers, we are frequently attracted to the most difficult technical challenges. We want to fix the problem, not mask it. That said, there are many ways we can deal with performance without actually fixing the problem, while keeping users even happier. (more...)

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Plus
Adam Smith

As a native geordie I was pleased to have a chance to attend a PHP conference in the north east. Even after living in Manchester for nearly a decade now, Newcastle still feels like home. Despite the nostalgia of revisiting the Tyneside Cinema for the first time in many years, I was a little apprehensive about it's suitability as a conference venue – I couldn't help but recall the regular disturbances to films watched there, caused by the noisy metro line passing underneath the building. I'm pleased to report that I was wrong to doubt the choice, the venue and staff were excellent throughout as we took over both the third and fourth floors of the building.

I arrived in plenty of time to enjoy the complimentary bacon sandwich and coffee on offer before finding some faces I recognised and settling in to the Electra Room where the main track was due to start, with Inviqa's very own Rowan Merewood taking to the stage to deliver the opening keynote. (more...)

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Plus
Amy Benson

Oxford and Cambridge Boat Race sponsors, BNY Mellon wanted to craft a hands-on app that gave race-goers the chance to feel the thrill and adrenaline of the contest, from the stern of the boat. We selected PhoneGap software to fulfill the brief as the idea of developing once and deploying to multiple platforms is very appealing. And, since we're web developers, HTML, CSS and Javascript are what we know best. There has been a lot of debate recently about using frameworks like PhoneGap versus building native apps, but PhoneGap has worked well for us and I'd happily use it again.

rowing

The Which Blue Are You app has now secured over 7,000 downloads and the opportunity for BNY Mellon to capture a number of leads. Get the app for iOs or Android.

Building these apps has been a learning process for us so I thought it might be useful to share some of things I’ve learned along the way. (more...)

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Plus
Sarunas Valaskevicius

The performance of a web application plays a critical role in how an application is perceived by its users. It is important to measure it, identify the causes if it changes and react swiftly to any unexpected changes. This article describes an industry leading tool, New Relic, and how it can be used to monitor and improve your site performance.

Setting up a good web application monitoring system can be tiresome, but it's well worth it. Without the monitoring tools the only thing we could tell is if our site is performing as expected or not. In order to improve the performance we have to be able to identify the worse performing user actions and profile them independently to pinpoint the cause. New Relic achieves that and more in just a few screens, all without manually adding any profiling code to your application.

(more...)

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Plus
Lorna Mitchell

Charles Proxy is exactly what its name implies; a proxy. This proxy is special however, as it is specifically aimed at giving functionality that developers will need. It allows you to view, change and replay the traffic that passes through, and can handle SSL. Charles isn't free, but at $50 (at the time of writing) for a license, it reaps returns from day one. This article will show you how to start using Charles and covers techniques that will help you work with your web and mobile applications; basically anything that works over HTTP. (more...)

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Plus