diff --git a/abstracts/deploying-php-ansible-ansistrano-vault.md b/abstracts/deploying-php-ansible-ansistrano-vault.md deleted file mode 100644 index 695ba19..0000000 --- a/abstracts/deploying-php-ansible-ansistrano-vault.md +++ /dev/null @@ -1,31 +0,0 @@ ---- -title: Deploying PHP applications with Ansible, Ansible Vault and Ansistrano -url: https://www.oliverdavies.uk/talks/deploying-php-ansible-ansistrano -tags: [ansible, php] ---- - -Great! You’ve built your website, and now you just need to deploy it. There are -various ways that this could be done - from (S)FTP, to SCP and rsync, to running -commands like `git pull` and `composer install` directly on the server which is -not ideal. - -As well provisioning and maintaining your server configuration and running -commands, you can also use [Ansible](https://www.ansible.com) to deploy your PHP -application - leveraging relevant Ansible modules such as Git and Composer, -custom Ansible roles, -[Ansible Vault](https://docs.ansible.com/ansible/latest/user_guide/vault.html) -for managing secrets, and features such as idempotency out of the box to build a -simple deployment playbook. - -We can then extend that and make it more robust by adding -[Ansistrano](https://ansistrano.com) - a port of -[Capistrano](https://capistranorb.com) - which adds extra features such as -storing multiple builds for each project and the ability to roll-back if needed, -customising your build steps using built-in hooks, multi-stage environments and -more. - -I've been using Ansible and Ansistrano to deploy a variety of PHP projects - -including Drupal 7 & 8, Symfony, Laravel and Sculpin, as well as basic HTML -websites, and found it to be very flexible and easy to install and use, and by -the end of this talk we will have a fully working deployment playbook, deploying -real code onto a real server. diff --git a/abstracts/having-fun-with-drupal-8-php-libraries-drupalorg-api.md b/abstracts/having-fun-with-drupal-8-php-libraries-drupalorg-api.md deleted file mode 100644 index b99a738..0000000 --- a/abstracts/having-fun-with-drupal-8-php-libraries-drupalorg-api.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: Having Fun with Drupal 8, PHP libraries and the Drupal.org API -url: https://www.oliverdavies.uk/talks/drupal-8-php-libraries-drupalorg-api -tags: [drupal, drupal-8, php, composer] ---- - -Recently whilst I was involved in rebuilding an agency website, I started -looking for a way to list our supported contrib projects from Drupal.org -including information such as each project’s download and star count - similar -to how I’d seen on other websites for their PHP projects on GitHub. - -This led me down a path of modern PHP development practices - firstly developing -a separate PHP library for interacting with Drupal.org, and then writing a -custom Drupal module that allowed the library to be configurable, as well as -making use of Drupal’s user roles and permissions, routing and caching. - -I then also found another use-case for this library, to display the -Drupalversary date for a user - i.e. when they created their account on -Drupal.org - and to display a message if the current day was a user's -Drupalversary. - -In this talk, I explain the approach that I took and some and the benefits of -splitting code into separate packages, I'll demo the library itself before -moving on to look at the code for and demo the Drupal modules that leverage it. diff --git a/abstracts/taking-flight-with-tailwind-css.md b/abstracts/taking-flight-with-tailwind-css.md deleted file mode 100644 index 117aed3..0000000 --- a/abstracts/taking-flight-with-tailwind-css.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: Taking Flight with Tailwind CSS -url: https://www.oliverdavies.uk/talks/taking-flight-with-tailwind-css -tags: [css, front-end, tailwindcss] ---- - -An introduction to utility class and component based styling, and how to soar -with [Tailwind CSS](https://tailwindcss.com). - -Things we’ll cover: - -- Advantages and disadvantages to utility based styling and Tailwind. -- How to install Tailwind and add it to your build process using tools such as - Symfony Encore and Laravel Mix. -- How to configure and customise Tailwind for your project. -- How to promote repeating classes into re-usable components for better - maintainability. -- Strategies to control the file size, and using external tools like PurgeCSS. - -Also, if time allows: - -- How to extend Tailwind and add extra classes with community written plugins. -- How to write and test your own custom plugins. diff --git a/abstracts/test-driven-drupal.md b/abstracts/test-driven-drupal.md deleted file mode 100644 index 4e5b72d..0000000 --- a/abstracts/test-driven-drupal.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: TDD - Test Driven Drupal -url: https://www.oliverdavies.uk/talks/tdd-test-driven-drupal -tags: [drupal, drupal-8, testing, php] ---- - -Testing is important. Why? It allows developers to add new features and edit and -refactor existing code without the worry of adding regressions, reduces the -reliance on manual testing to discover bugs, and by taking a test driven -approach, your implementation code is leaner as you only write what is needed -for your tests to pass. - -Drupal 7 includes the SimpleTest module for unit and functional testing, whilst -Drupal 8 also includes and supports PHPUnit - the defacto PHP testing framework, -used by other PHP projects including Symfony and Laravel - making it easier for -people to test their code. And with testing being one of the Drupal core gates -with tests needing to be included with every new feature or bug fix, and core’s -100% pass rate policy, testing has become an essential skill when contributing -to core, or when working on your own projects. - -In this talk, we’ll cover the methodology and terminology involved with -automated testing, and then take a test driven approach to creating a new Drupal -module. diff --git a/abstracts/using-illuminate-collections-outside-laravel.md b/abstracts/using-illuminate-collections-outside-laravel.md deleted file mode 100644 index 0e74148..0000000 --- a/abstracts/using-illuminate-collections-outside-laravel.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -title: Using Illuminate Collections... Outside Laravel -url: https://www.oliverdavies.uk/talks/using-illuminate-collections-outside-laravel -type: short -tags: [php, composer, laravel] ---- - -Laravel's [Illuminate Collections](https://laravel.com/docs/collections) are a -powerful object-orientated way of interacting with PHP arrays, but did you know -that they can be used outside of Laravel, in any PHP project? - -This short talk shows how we can use Composer to include Illuminate Collections -within a non-Laravel project and put them to use within your own code.