RSSAmplifier

Blog

Juan Treminio - Senior Web Developer Blog

Juan Treminio - Dallas based senior web developer

jtreminio.comRSS feed ↗10 posts

Latest posts

OpenAPI Tutorial Part III: Paths and Basic Request Data

This is Part III of a multi-part series. Below are the links to other parts of this tutorial! OpenAPI Tutorial Part I: Introduction to OpenAPI OpenAPI Tutorial Part II: Common API Example OpenAPI Tutorial Part III: Paths and Basic Request Data The end result of this article can be found at jtreminio/openapi-tutorial branch “part-iii” . You can clone it by doing $ git clone…

OpenAPI Tutorial Part II: Common API Example

This is Part II of a multi-part series. Below are the links to other parts of this tutorial! OpenAPI Tutorial Part I: Introduction to OpenAPI OpenAPI Tutorial Part II: Common API Example OpenAPI Tutorial Part III: Paths and Basic Request Data In the first part of this series we lightly touched on the differences between Swagger and OpenAPI mentioned some things we can do with an OpenAPI…

OpenAPI Tutorial Part I: Introduction to OpenAPI

This is Part I of a multi-part series. Below are the links to other parts of this tutorial! OpenAPI Tutorial Part I: Introduction to OpenAPI OpenAPI Tutorial Part II: Common API Example OpenAPI Tutorial Part III: Paths and Basic Request Data The end result of this article can be found at jtreminio/openapi-tutorial branch “part-i” . You can clone it by doing $ git clone…

All-in-One PHP-FPM + Nginx/Apache Containers

In a previous post, Docker PHP/PHP-FPM Configuration via Environment Variables , I described how to use environment variables to configure PHP FPM and CLI. With my method you can override one of over 650 PHP INI settings. More INI settings are but a PR away! In a more recent post, PHP Modules Toggled via Environment Variables I extended this concept to include modules. You can now easily (and…

PHP Modules Toggled via Environment Variables

In my previous post, Docker PHP/PHP-FPM Configuration via Environment Variables I introduced my new PHP image that uses environment variables to configure its INI settings. The Dockerfile is a beast, to be sure. At over 650 lines it documents my attempt at bringing true flexibility to an immutable PHP image. With it, you can set any number of PHP INI settings without having to rebuild your image:…

Docker PHP/PHP-FPM Configuration via Environment Variables

ed: If you want to run the containers right now, jump ahead to How to Use the Images . For several months now I have been working on PuPHPet.com’s replacement. It is a Docker-based GUI functionally similar to PuPHPet. Docker, like Vagrant, allows sharing directories and files from the host to the container/VM. Unlike Vagrant, Docker images are easy to create, easy to share and easy to configure.…

Setting Up a Static Site with Hugo and Push to Deploy

For several years this blog was generated using the PHP static site generator Sculpin . I switched to Grav before deciding it was not for me. My blog does not contain dynamic data that requires PHP processing, and static HTML with JS is fine. One of the issues I had with Grav was its requirement of both a PHP-FPM and Nginx/Apache service to properly serve content. After researching available…

Running Docker Containers as Current Host User

ed: If you want to jump right to the solution, jump ahead to Ok so what actually works? . Docker is an excellent tool for local web development. It allows creating non-trivial environments without polluting the local system with tools. There are still some things that make working with it just a tad bit harder than necessary. Today’s topic involves running Docker containers using the local host…

Traefik on Docker for Web Developers

Over the last 5+ years I have done all my development on local virtual machines managed by Vagrant and provisioned by Puppet. I even created a fairly well-received FOSS called PuPHPet . At the end of 2017 I started really looking into containers, and as of January started working on what will become PuPHPet’s successor, Dashtainer . While this is not a post on containers in general, or Dashtainer,…

Developing at Full Speed with Xdebug

A quick history ed: If you want to jump right to the solution, jump ahead to Nginx map . Docker for Mac is very slow . It is so slow that I purchased a new Dell XPS laptop and for the first time in 6 years am now using a non-MacOS (Fedora) machine as my daily driver. Not everyone has the luxury of switching their OS, though, and they are stuck on slow Docker. A normal Symfony 2.4 application will…