Slim is a PHP micro framework that enables you to write powerful web applications and APIs. In this talk, I will show how you can easily write great web sites with it. We will look at how Slim's middleware system leverages the PSR-7 HTTP request and response definitions to create easily understandable and flexible applications. We will cover application setup, routing and the relationship between actions and middleware. By the end of the session, you will be equipped to create Slim applications yourself.
Accessing web services from your application is a key requirement and the best HTTP client library for PHP is Guzzle, which happens to be included with Drupal 8. Learn how Guzzle makes accessing APIs a breeze – we'll cover how web services work and then how Guzzle makes it easy for us to send and receive the data we need, including working with Authentication. We'll also cover the PSR-7 standard Requests and Responses, and how Guzzle makes them easy and effective to use in your own applications including the powerful middleware system.
Accessing web services from your application is a key requirement and the best HTTP client library for PHP is Guzzle, which happens to be included with Drupal 8. Learn how Guzzle makes accessing APIs a breeze – we'll cover how web services work and then how Guzzle makes it easy for us to send and receive the data we need, including working with Authentication. We'll also cover the PSR-7 standard Requests and Responses, and how Guzzle makes them easy and effective to use in your own applications including the powerful middleware system.
Most APIs are usable when everything works, yet it's when something goes wrong that an API's true colours show through. In this talk, I will discuss what I consider to be the minimum viable error response for a competent API, through the lens of a real-world example of possibly the worst I have ever seen…
(Lightning talk)
Everyone is writing APIs from micro-services through to full applications, but what makes a good one? In this session we’ll go back to the basics and look at what I consider to be five of the more important architectural features that you should think about when creating an API. These are the features that ensure that your API plays well with HTTP and, more importantly, make your API a delight to maintain and work with. I want you to ensure that your API is a good HTTP citizen, while also providing developer-friendly features like thoughtful error handling and documentation.
Slim is a PHP micro framework that enables you to write powerful web applications and APIs. In this talk, I will give an overview of the upcoming version 3 of framework and show how you can easily write maintainable applications with it.
We will look at how Slim's middleware system leverages the new PSR-7 HTTP request and response definitions to create easily understandable and flexible applications. We will cover application setup, routing and the relationship between actions and middleware. By the end of the session, you will be equipped to create Slim applications yourself.
Everyone is writing APIs from micro-services through to full applications, but what makes a good one? In this session we’ll go back to the basics and look at what I consider to be five of the more important architectural features that you should think about when creating an API. These are the features that ensure that your API plays well with HTTP and, more importantly, make your API a delight to maintain and work with. I want you to ensure that your API is a good HTTP citizen, while also providing developer-friendly features like thoughtful error handling and documentation.
PSR-7 is the new standard for handling HTTP requests and responses in PHP. In this session we’ll examine what this means for our applications now and in the future. By adopting this common interface our existing component frameworks will become even more interoperable and enable us to develop with more shared libraries between applications. Along with standard HTTP messaging formats comes the concept of middleware – separate components operating on requests and responses on the way in and out of the application – so we’ll discuss this too. If you want to see how PHP applications will be built in the future, this session is for you.
ZF3 is the framework that took the opportunity to learn from the previous 4 years of ZF2 and be even better than that! Today's PHP projects are built of components installed via Composer and ZF3's architecture reflects this approach; its core components have also been greatly improved in both usage and performance from older versions of the framework. If you're already running a ZF2 application, you'll be able to upgrade your existing application and there will be some excellent support for doing so – we love it when developers get to use new things. We'll also look at how PSR-7 and middleware has been embraced. If you want to learn what's new in the world of Zend Framework, then this session is for you.
The low down on PHP 7Presented at Bath Digital Festival, February 2016
The PHP world is moving fast these days and there’s a lot to keep up with. PHP 7 is a major new development. So what does it mean for software engineers? Find out about the performance improvements and the new features in this latest release of the web’s favourite scripting language. Developers and technical leads who want to get the most from using PHP will benefit from this session.