Videos from PHPNW conferences. PHPNW is a community of web developers, web designers and anyone else interested in PHP, from the North West, UK.
Frameworks tend to lean in either of 2 directions 1) Convention over configuration 2) Fully customizable but require large amount of architectural decisions After using a large amount of frameworks for both work and pleasure, finding Lithium which contains a healthy balance of default conventions but having true freedom to customize and configure your project both within the framework boundaries and by bending them makes this tool one of the most developer happy framework tools to use. This is...
This talk will walk you through the latest developments in PHPUnit showing off new features, changes and giving an outlook into its future. Talking not only about all the shiny new feature to improve your tests but also giving an overview of currently recommended practices regarding PHPUnits usage. Giving suggestions for test and test suite organization for unit- integration- and front end testing, creating meaningful code coverage and CI integration this talk aims to provide an overview over ...
Nowadays almost every developer is using from Open Source Software in some way, however just few are actively involved. Releasing Open Source seems to be affordable only to students and others who seem to have too much time on their hands. You can not possibly be deeply involved. Or can you? In this session you will learn how Open Source engagement can be valuable for you and your job and how your employer can greatly benefit as well. See how embracing the Open Source philosophy can increase y...
Ten years ago the Amazon Web Services platform was launched and in that time it has dominated and shaped the way cloud computing is viewed. Even after a decade there are still a lot of buzzwords flying around and putting your app in the cloud is often sold as a simple, cure-all solution. So what’s really involved? This talk will give you a hands-on walkthrough of building a PHP application stack in AWS. We will cover the basic design principles needed to create a scalable and distributed platf...
Life used to be easy. We created sites to work on a few browsers and when we had time we asked the new guy to build a half baked mobile version. Then the device explosion ruined our cozy happy dev life. My talk will discuss how BBC News met this challenge. - How we support as many devices as possible using responsive design. - How we scale to serve BBC News to the masses. - How we’re using a sprinkle of Symfony2 components in our Zend world. - What tools we use to help us along the way.
It’s not easy to perform a good code review. Often done in a hurry just to get it done, it only makes things worse. People treat it as an obstacle, not a helpful thing. I am gonna tell you why code reviews are important and how they can help you maintain good quality code. I will not only tell who are the code reviews for, how to raise a useful code review, but also how to perform a good code review in the quickest time possible.
We all have certainly learned data structures at school: arrays, lists, sets, stacks, queues (LIFO/FIFO), heaps, associative arrays, trees, … and what do we mostly use in PHP? The "array"! In most cases, we do everything and anything with it but we stumble upon it when profiling code. During this session, we’ll learn again to use the structures appropriately, leaning closer on the way to employ arrays, the SPL and other structures from PHP extensions as well.
Nothing is showing up in the logs, everythings works fine on your development and acceptance environment, your unit-tests are all green and yet you’ve got major issues on your production server. What to do? Restart apache? Reboot the system? Maybe we even add more machines? Hell no! We debug it Chuck Norris style! I will show you how you can use advanced (linux) tools like strace, iostat, gdb and even dtrace to figure out the bottlenecks in your system. Is it even your code that is buggy or ca...
Varnish is a reverse caching proxy that is steadily becoming the default standard in enterprise environments. A lot of people know what Varnish is and what it can do out of the box, but there s plenty more it can do with the necessary tweaking/tuning. During my talk I will show you which tools it comes with and how it can be configured/programmed to serve the most common use cases.
Modern web applications are complex, have many layers and usually integrate many technologies. A well structured application log is invaluable for debuging your application in development and monitoring it in production. All this being said it’s amazing how many applications I encounter that either don’t have an application log or have a poor, inconsistent one which is little use to anyone! This session takes a brief look at the basics of logging (libraries and tools) and moves on to look at h...