REGEX! Love it or hate it, sometimes you actually need it. And when that time comes, there’s no reason to be afraid or to ask for help from that weirdo on your team who actually loves regular expressions. (I’m that weirdo, fwiw.)
This session is geared towards beginning and intermediate regex users, and will cover topics using practical examples that you might encounter in your own projects.
Laravel 5 has established itself as one of the best PHP Rapid Application Development Frameworks. Come learn about all the tools in the Laravel ecosystem designed to save you time and prevent you from writing the boring cruft you have to write for every application. We'll cover getting started with local development, building a basic application, and deploying to production. We'll cover how Laravel easily handles vagrant, testing, oauth login services, billing and subscriptions services through Laravel Spark, and deploying your application with services such as Laravel Envoyer and Forge to manage your servers.
So what does a database do with a query? How do you avoid the N+1 problem, SQL injection, or just poor database performance? If you are new to programming and want to learn how to efficiently learn how to use a database then you need to be in this session, You will understand how a database server processes a query, why you need to think in sets, why the common problems occur, how to filter user data, and get a very good overview of writing efficient database queries. This tutorial is designed to get novice developers started on the right path to working with a relational database.
Computers have one job: to read and process data. One job, and sometimes they still need help!
Structured data puts you in control, ensuring that search engines and other parsers aren't misreading your information. Get your events recognized as events, your business address as a location, and those product reviews working to attract customers!
Implementing good, structured data is also the first step into the Google Knowledge Graph, the Holy Grail for content marketers. Better yet, with modern standards, it's easier than ever before to get started!
Lets face it, Docker is hot right now. If you’re itching to get started but aren’t sure how, you’ve come to the right place. In this tutorial, we’ll spend some time going over basic Docker concepts like Dockerfiles, containers, images and registries. Then we’ll look at some sample applications including Wordpress, Drupal and some framework-based examples and talk about strategies for building Docker images for these various different scenarios. We’ll also cover how to handle external dependencies such as file storage, databases, caches in both development and production environments.
Trying to understand a complex function full of nested loops and conditionals is like trying to read a "choose your own adventure" book from front to back.
In this whirlwind tour of programming with collection pipelines, you'll learn how to use functional programming ideas to break down complex code and abstract hidden duplication behind expressive higher order functions.
Together we'll refactor ugly, complicated spaghetti into a series of simple, elegant transformations; free of loops, complex conditionals, and temporary variables.
Never write another loop again.
Reviewing your peers' code is a critical part of working on a team - it helps prevent bugs and can give you understanding of parts of the application you haven't worked on. The key is knowing what to look for in a code review - and then communicating your thoughts in an effective way. In this session, we'll look at example PRs and practice reviewing them to get the best results.
Version control is a must for development. With the popularity of services like GitHub, Git has become the top choice for version control. However, not everyone is as familiar with Git as they might want. In this talk, we'll explore everything from 'git init' to 'git bisect.' Through live demos we'll apply what we've learned to tackle everyday scenarios using Git. So whether you're just starting out with Git or a Git pro I guarantee you'll learn something.
Best practices are important, but are they always the best for your situation? I spent years working on large software projects where best practices were crucial. Milestone planning, multiple code branching, 99.9% uptime requirements, heavy testing, deployment processes, etc. But I then blindly applied those to every project afterward. In retrospect, that hurt many projects, especially in smaller companies and startups where the speed of innovation was more important and downtime acceptable. In this session, learn from my experience and discover where cutting corners is not only acceptable but better for the project. At the same time, determine which practices are crucial and should be used no matter what!
Today’s society is filled with devices, apps, and software that make communication easier and faster. But are we communicating with others in the most appropriate and effective way? Are we causing more problems and headaches for ourselves by only communicating in 140 characters at a time? In this talk, we will discuss the elements of interpersonal communication, the pitfalls of various methods of communication, and learn tools and strategies to put into immediate action. Attendees will leave with six action items to immediately use and improve their communication.
In June of 2012, podcaster and veteran web dev Ed Finkler spoke openly about his lifelong struggles with mental illness with co-host Chris Hartjes. Four years later, a non-profit corporation with a dozen volunteers is working to change the tech and open source community. In this talk, Finkler tells the story of how the episode happened, the incredible response they received, and how it grew into a charity dedicated to changing and saving lives -- all by using the principles of open source culture.
It takes a special kind of person to enjoy writing documentation; not only do I have to write [ideally] working code, but now I have to write words that a human being can understand? What is this madness?!
Luckily, good documentation lives on outside your codebase. By following common documentation standards, we can generate comprehensive manuals that instruct others how to integrate with our software. After all, to code is human, but to document is divine.
Graph databases are all the rage these days, but the ideas they’re built upon are hundreds of years old. After a brief look at the history of graph theory and its practical applications in Computer Science, we’ll dive right into Neo4j - the world’s most popular graph database! Learn the differences between a graph database like Neo4j and your traditional RDBMS. See how to model your application’s domain using the new concepts available to you and how to query your graphs using Neo4j’s intuitive query language, Cypher. After this talk, you’ll agree that (Neo4j)-[:IS]->(Awesome) and be excited to use it in your next web application!
Arrays are beautiful in PHP. One can map them, reduce them, filter them, foreach them, and use them in generators. Strings, on the other hand, are mere shadows to the Array. One can, uh, input and output Strings, and, when brave, manipulate them. What makes Arrays so awesome and Strings so dull? Iterators.
In this talk, we’ll look at the modest origins of the String and the basics of the Iterator. Then, we’ll look at how we can make the String as awesome as the Array through the use of iterator interfaces.
By the end of this talk, you will know the origins of the PHP String and you will be able to extend your knowledge of iterating through a String to be able to iterate through customized objects.
When higher traffic coupled with costly operations begin to degrade your site’s performance, an asynchronous job queue can be a valuable tool to help relieve the stress. With Gearman, PHP developers can easily farm out non-time-critical jobs like image processing, external API requests, and complex data processing operations to a pool of workers better suited to the task, leaving their webservers free to continue serving requests.
Join Michael Moussa as he walks you through the basics of setting up a Gearman job server, writing clients to communicate with it, and creating workers to do the heavy lifting. After the basics are out of the way, he'll go into some pitfalls to watch out for when working with Gearman, as well as some tricks to make development easier.
You've heard about dependency injection and inversion of control. Everything seems easy at first and you've found a container or two to help make your life easier. Until it isn't anymore. Suddenly you've found yourself managing complicated YAML, XML, or PHP container configurations. Making any change to your classes dependencies seems like a chore and any time you add a new class to the system you dread the inevitable configuration container configuration wiring blues.
Life doesn't have to be this way! In fact, life isn't this way for anyone who uses an autowiring container like Laravel's. Far from the most publicly marketed component, Illuminate\Container handles a lot of the magic that makes Laravel so much fun to use. Find out how you can use Laravel's container in almost any project! See how autowiring can free your mind from having to manually configure ever little dependency. Learn how you, too, can learn to stop wiring your dependency injection container and love Laravel's container!
From chatbots to your home thermostat, it seems like machine learning algorithms are everywhere nowadays. How about understanding how this works now? In this talk, you will learn about the basics of machine learning through various basic examples, without the need for a PhD or deep knowledge of assembly. At the end of this talk, you will know what the Naive Bayes classifiers, sentiment analysis and basic genetic algorithms are and how they work. You will also see how to create your own implementations in PHP.
Learn to expand beyond just PHP to integrate other languages into both your personal skill set and the solutions you deliver.
Not only will this give you another tool in your tool belt, it will give you a greater understanding of development practices and the ability to on new jobs, new projects, and new challenges.
Developers would love to "automate all the things", but where do we start? What tools exist for automating? And what can actually be automated? If we don't have unit tests can we still benefit from deployment automation? Adam Culp will show how a PHP application pulled from git, complete with unit tests, Composer dependency management, and package creation, can be deployed flawlessly using Jenkins. Then see how "Dev" and "Ops" are supported by a system if the application breaks through automated rollbacks.
Your customer calls, your project manager assigns you an issue, your open source project gets a pull request, or your boss emails you – “There’s a problem…” As computer genius and wiz kid you are expected to solve all of these problems because that’s what you are – a problem solver. Well, sort of. Kind of. Not really. Software engineer, sure. Frontend developer, yep. But when was the last time someone gave you a complete, perfectly described problem and you solved it completely? Do you even remember being taught how to recognize, describe, and solve problems? How do you even know if it is really solved?
In the talk Problem Solved-ish we learn again or perhaps for the first time how problem solvers think, how our skills our empowered by our knowledge and understanding of the problem itself, and how solutions finally reveal themselves and the problems really do get solved. We take a look at the five C’s of debugging. We show the five Q’s of the Problem Solving Method. We demonstrate how testing can improve your confidence, your problem describing skills, and even your solution making skills. We will explore the business angle of problem solving and optimization by constraint based decision making and problem solving. Finally you will have a framework for making sure that it’s “problem solved.”
If you build it, they will come.. well no, not really. Not even close.
As developers, too often we believe the best tech wins. We want to believe customers care about clean code, the most features, and our architecture. It turns out, no one cares.
When we’re building products, we need to understand the problem we’re solving, who we’re solving it for, and how to reach them. In this session, we'll review concrete steps and discuss how to turn your project into a product.
Your mission, should you choose to accept it, is to support an application built on an older framework. Refactoring isn't an easy option. The code is untested and nowhere near best practices or standards. In this session, we'll talk about strategies to incorporate modern PHP coding practices to add features and functionality and retiring the older code in pieces. We'll review specific examples and code from a real project where we bootstrapped a legacy application that needed a lot of help to become useful to its users and simpler for developers to maintain. We'll talk about strategies to leave the existing code in place until the new code is ready to replace it in whole or in pieces.
Ever kill a bug only to have it resurface later? How about that last intermittent bug you had to trace down? Looking forward to fixing it again when it pops back up?
If you hate reanimated bugs then this session is for you. In this session, we will discuss the why and the how of building regression testing into your tests using the Codeception testing framework.
Join me, let's hunt some zombie bugs. (Weapons not required)
When having the critical information available in an instant, businesses look to develop real-time dashboards and data streams. You’ve heard of websockets and everyone knows there is Socket.io and Node.js but what if you could do it all in PHP? In Real-Time Dashboards With Async PHP we demonstrate how to write an event loop and then create non-blocking code which can communicate bi-directionally with one or more connections. We will write up a responsive web interface that can provide real-time stats as a reactive dashboard. While an advanced topic, we will build up from the entry-level sparing no details or introducing any magic along the way. At the end we refactor utilizing a few abstractions which make our maintained codebase smaller and finally replace the plain-vanilla JS dashboard with a frontend view framework (Vue.js) to help with the client-side heavy-lifting. The result is a synchronous and asynchronous bridge that makes frontend and backend communicate as a seamless evented application.
You've written an application and now the worst thing that can happen to you has come about - People are using it! You now have load spikes to deal with. You can scale up to deal with the excess traffic, but what do you do when your load is variable? How do you do that, and stay on budget?
This session is a case study on getting an App Engine app to scale to serve 30,000,000 requests an hour. It will take you through the architecture, the code changes and the technology trade offs to get to that level of traffic.
Are you an experienced developer that is now in charge of other business tasks maybe as part of a small business or startup? Customer service can be tricky and leave a lasting impression. Come learn from first-hand experience what to expect, how to answer the question that is meant- not the one that is asked, and how to effectively communicate with your customer and achieve a better outcome for all.
undefined...or was it
Come see a fast-paced introduction to Elm. We'll walk through some of Elm's most notable features, what the Elm Architecture entails, and learn how to model and implement a simple application with using static types and a functional mindset.
Being flexible to changes in business process makes our jobs easier, and it helps our applications adapt to those changes with minimal code changes. One of the biggest adaptions in our applications has been the addition of Event Sourcing to make a note of an Event that happened in the system. With these Events, we can affect change immediately, or even later. This is most helpful in our reporting interfaces. We can build, change, and throw away our reports very easily. This is much easier than our older reports being generated by large SQL queries.
Attendees will learn: - idealogical differences between status flags and events - triggering events in your application - handling events to reflect the state of your application data - building reports from events that are easy to change
PSR-7 is ushering in a new era of interoperability in PHP. This also means that there are a lot of complicated choices to make when deciding how to build a "PSR-7 application." Which framework should you use? Do you need to write your own PSR-7 implementation? Should you choose a microframework, a full-stack framework, or roll something of your own?
To help answer some of those questions you'll be introduced to a light PSR-7 framework named Nimble. More than just a sales pitch, explore the reasons for rolling your own framework, how the third-party components that make up the core of Nimble were selected, and how the pieces all fit together. Walk away knowing that PSR-7 frameworks aren't as scary as they look and that creating one yourself may be the best idea of all!
We've all been to the talks about the tools for test driven development. But TDD is not just about writing tests, it's about driving development through testing. There's a very specific process of TDD with red, green, and blue phases. There's also different patterns, like outside-in or inside-out. In this talk, we will focus on these practices by TDDing a common data structure from start to finish. Attendees will gain experience and leave with tips to help them practice TDD in the real world.
Learning how to test your code can be overwhelming. Sure, building a calculator with TDD is easy, but when you're trying to build a real application, things get complicated fast.
What's the difference between a mock and a stub? Are my tests allowed to hit the database? How do I test this billing code that interacts with Stripe?
Together we'll TDD a fresh Laravel app from scratch, never writing a line of code without writing a test first. I'll show you how to get the ball rolling with your application's very first test, how to add new features with outside-in TDD, and how to design tests that make it easy to refactor with confidence.
PHP has been adopting testing on a wider scale over the past several years, and it feels like we're finally at a point where we can start to sharpen our skills and tools, rather than rallying to see any testing at all. At this point we should start ensuring that our tests tell the story we'd like them to.
Through an analogy of storytelling, this talk aims to help you be the hero of your testing story by giving new context and perspective to the way a test suite should read to both your colleagues and your future self. We'll demonstrate how proper naming and assertions can lead to simpler, faster debugging. We'll also see how an end-to-end test has a far more compelling story when you focus on describing the feature and business goals over describing a specific UI workflow in painful detail.
Humans learn most effectively through pain, like being shocked by a power outlet or touching a hot iron. The same reaction can be found in technology, but how can we attribute this to programming while minimizing the most painful mistakes? Adam Culp will share his experiences of the ongoing journey to become a professional developer, and highlight techniques used to reduce the pain and still reap the benefits. And for those times when the pain is inevitable, how can we fast-forward to enlightenment.
WordPress is almost certainly the most successful PHP software in the world. And that success is not — though some might joke that it is — an accident. In this talk we'll examine what WordPress has done right and what that can teach other software. We'll also talk about some of WordPress's problems, and understand how they mirror those of other large open-source projects.
This talk gives a brief introduction to Node.js and the event loop model (don’t block the event loop!), and covers common pitfalls when using Node.js with simple and practical solutions.
Do you hate the Facebook API? We all do as well. So stop writing your API in their footsteps. In this talk we will walk through how to construct a RESTful API, what makes an API your users/developers will love, and why you should eat your own dog food with API Driven Development.