PHP provides a series of functions that allow you to capture any output that should be sent to the browser so you can do something else with it (or ignore it). In this article, we’ll go over a couple use cases for how you can use PHP’s output buffering.Read More
Book cover copyright Martin Fowler
Why an Asynchronous Book Group?
As a team bonding and educational process I try to get the programming teams I’m part of to read a book together every quarter. As I’m currently a team of one, this process has been more difficult. I thought I would take this process to the Internet so at the very least I would have to think critically about the book and write up my thoughts and the things I found most interesting.
Why This Book?
I’m a follower of Martin Fowler and his work and if you’re not already a follower of his blog (https://martinfowler.com/) you should be. I’ve been slowly working my way through his books but a couple months ago he posted that the 2nd Edition of Refactoring: Improving the Design of Existing Code (Amazon Link) had been finalized and would be available soon. I immediately ordered the book and was happy to see it arrive just before Christmas. I’ve been slowly working my way through the book (the holidays and small children make it a slow process sometimes :-)) and it’s been enjoyable and full of helpful information so far.
How is This Going to Work?
The book contains 12 chapter so for the next twelve weeks I’m going to post a new post on Friday. I will write down the one thing I found most interesting/helpful and then anyone who wants to can add a comment with something they’ve found interesting. The plan is to complete the following chapters on the following dates.
- January 11th - Chapter 1: Refactoring: A First Example
- January 18th - Chapter 2: Principals in Refactoring
- January 25th - Chapter 3: Bad Smells in Code
- February 1st - Chapter 4: Building Tests
- February 8th - Chapter 5: Introducing the Catalog
- February 15th - Chapter 6: A First Set of Refactorings
- February 22nd - Chapter 7: Encapsulation
- March 1st - Chapter 8: Moving Features
- March 8th - Chapter 9: Organizing Data
- March 15th - Chapter 10: Simplifying Conditional Logic
- March 22nd - Chapter 11: Refactoring APIs
- March 29th - Chapter 12: Dealing with Inheritance
I hope you’ll join me in this process.
January’s links.Read More
Happy 2019 everyone! As I normally try to do this time of year it’s time take a little retrospective on what’s been done over the last year and what I want to accomplish in the coming year.Read More
Ever since version 5.2, PHP has provided the amazingRead More
DateTimeclass that makes it a lot easier to work with dates and times. This article will provide an overview of the class and how it can be used and show some of the other classes that are related to the
Sublime text provides two helpful features that will make pasting text a lot easier.Read More
December’s links.Read More
I’m not a huge fan of installing the latest and greatest version of anything until it’s had a chance to bite other people when it breaks. So I was a little annoyed when I finally updated to Mojave (10.14) and received the following error:
This post exists to hopefully provide help to other people when they run into this issue.Read More
Every so often it’s a good idea to see where your server’s used hard drive space is going. You can use
dfto troubleshoot but it’s also nice to have a quick query to see which tables are using the most space. With this information you can determine what to do to fix it (if anything).
Please note: All examples in this article were written using MySQL 5.5 and done in a development environment. Please do not try this in a production environment unless you are sure of the ramifications.Read More
November’s links.Read More
subscribe via RSS