phparch

September 26, 2020

The Workshop: Real World PDF Generation - php[architect] Magazine September 2019

Last month we covered the basics of PDF generation by focusing on the FPDF library. We generated a custom PDF by placing cells on the page and adding data to those cells. FPDF is a relatively low-level library in comparison to modern libraries which may do more of the heavy lifting for you. This month we’re going to pick up where we left off with our example application which you can...

learning phparch writing php

Read

September 24, 2020

The Workshop: Introduction to PDF Generation - php[architect] Magazine August 2019

In early July 2019 I asked Reddit What questions do you have about generating PDFs w/ PHP? (Research for an article) : PHP and I was pleasantly surprised at the genuine answers and feedback I received (as opposed to the normal nonstop trolling that Reddit is usually known for). One comment listed 19 different questions! Many of the comments mention different libraries and services and I believe...

learning phparch writing php

Read

September 10, 2020

The Workshop: Run Amazon Linux Locally - php[architect] Magazine July 2019

Amazon Linux 2 is the current generation of Linux provided by Amazon Web Services (AWS) specifically for use in its ElasticCloud (EC2) platform. Amazon Linux evolved out of the Red Hat Enterprise Linux and CentOS ecosystems. If you have used either of these distributions you will feel right at home. Amazon Linux also has the added benefit of support directly from AWS as well as security...

learning packages phparch writing linux

Read

September 5, 2020

The Workshop: The Road to 7.3 (Part 2) - php[architect] Magazine February 2019

Last month we explored the world of static analyzers Phan and PhpStan to find compatibility issues any several other common issues in our PHP Easy Math code base. This month we’re going to review our code base and implement new and recent features from PHP 7.x One of the best features of new PHP versions is the performance boost. With every PHP 7 release we have enjoyed some amount...

learning packages phparch writing php

Read

September 4, 2020

The Workshop: The Road to 7.3 (Part 1) - php[architect] Magazine January 2019

Last month as I was writing “The Workshop: Producing Packages (Part 3)” I had a feeling I would end up regretting the line “This will be the third and final installment in this series”. Sure enough I have one more topic I want to cover: upgrading to a new PHP version. Upgrading PHP versions is enough to be its own “The Workshop” series however since 7.3 was just released...

learning packages phparch writing php

Read

September 3, 2020

The Workshop: Producing Packages (Part 3) - php[architect] Magazine December 2018

Over the past two months we've been building PHP Easy Math a purposely simple example library to demonstrate how to build a reusable package for the PHP ecosystem. Make sure to check the previous issues if you're just now joining us! This will be the third and final installment in this series. This month we're going to cover triaging and managing issues users may open as well as pull...

learning packages phparch writing php

Read

September 2, 2020

The Workshop: Producing Packages (Part 2) - php[architect] Magazine November 2018

Last month we started building PHP Easy Math, a small library which can be included in PHP projects to provide simple methods to do basic addition and subtraction. We're using this as an example library to focus on what makes a library "good" we are less worried about the practical need for and usage of our package. If you have not yet read Part 1 pause here and go read The...

learning packages phparch writing php

Read

September 1, 2020

The Workshop: Producing Packages (Part 1) - php[architect] Magazine October 2018

This month we are diving into creating PHP packages and ensuring our packages are held to a high standard of having tests, license information, and other best practices for creating and maintaining high quality PHP packages. Composer changed the entire PHP ecosystem by giving us Composer, a fantastic package manager and Packagist, the public repository of libraries. PHP developers can...

learning packages phparch writing php

Read

August 27, 2020

The Workshop: Describe Your Tests with Kahlan - php[architect] Magazine September 2018

This month we're covering a full featured unit and behavior driven development (BDD) test framework named Kahlan. Kahlan is similar to Rspec (Ruby) and JSpec (Java) using BDD style syntax where you describe the behavior your application should have. We already have tons of PHP testing frameworks readily available in the PHP ecosystem such as PHPUnit, phpspec, Codeception, Behat, and...

learning phparch writing testing php

Read

August 26, 2020

The Workshop: Make PhpStorm Work for You - php[architect] Magazine August 2018

This month we're going to dive into using PhpStorm and cover configuration from personal preferences to obeying standards and day to day usage. PhpStorm is practically the de facto integrated development environment (IDE) for PHP development. It's a paid product from a company named JetBrains. Jetbrains develops and maintains several IDEs for specific languages such as WebStorm for...

learning packages phparch writing php

Read

August 24, 2020

The Workshop: CakePHP Part Two - php[architect] Magazine July 2018

Last month we covered the basics of CakePHP and how to get started creating routes, controllers, database tables, and retrieving data. This month we're going to dive into returning HTML views, creating and validating forms to create new widgets. We are going to start off by refactoring the routes code we built in the previous article "The Workshop: CakePHP, Part 1". You can find the code...

learning packages phparch writing cakephp

Read

August 23, 2020

The Workshop: CakePHP Part One - php[architect] Magazine June 2018

Welcome to the first installment of The Workshop, a column where we try out new tools and techniques to hone our craft as developers. We'll be covering frameworks, packages, tools, and exploring topics related to the PHP development ecosystem. This month we're going to jump into CakePHP. CakePHP has recently released version 3.6 of their full stack framework. CakePHP started out as a...

learning packages phparch writing cakephp

Read

August 19, 2020

The Workshop: System Management with Ansible php[architect] Magazine December 2019

Ansible is an IT automation tool used for configuring systems and deploying applications. Ansible is open source is supported in the enterprise by RedHat. Ansible communicates over SSH so there is no need to install any extra software on the remote systems. Ansible allows us to version control our infrastructure in YAML files and supports Jinja templates allowing flexibility in how we can...

learning packages phparch writing ansible

Read

August 22, 2014

php[architect] Magazine published my article "HTML Form Processing with PHP"

Back in February 2014 I was contacted by php[architect] magazine about turning one of the talks I submitted to php[tek] 2014 (among many other conferences) into a magazine article. I'm proud to say that you can now read that article in the August 2014 Issue of php[architect] Magazine!

php phparch security

Read