Category

PHP Clone and Shallow vs Deep Copying

Looking through the PHPExcel library recently I saw how Mark Baker overrides the magic __clone method with comments about ensuring that cloning will perform a deep copy instead of a shallow one. This is a topic with which I had not had much experience so I did some research and experimenting to learn what happens when you use clone and the difference between a shallow copy and a deep copy.

TimeIPS

From October 2010 to February 2015 the majority of my development focus was with my employer TimeIPS. We made a time and attendance system which is used by thousands of companies around the world.

Implementing OOP

Back in June 2014 I gave a presentation to devICT about how to use Object Oriented Programming in PHP and Ruby. I chose this topic when I was explaining inheritance to a friend and realized others would be interested. I chose PHP and Ruby for examples because I was already familiar with OOP in PHP and I wanted to learn more about Ruby’s object model.

Templating In PHP With Twig

In November 2013 I gave a short presentation to devICT about the PHP templating engine Twig. The talk covered the basics of installing/configuring Twig, rendering templates, and writing templates.

find.torrent

At home my desktop PC acts as a UPNP media server and is the box I use to download torrents. This machine was inconveniently located in my basement. There were many times when I would want to start a download but the only device nearby is my phone. I found that finding and downloading a torrent file then getting it to my torrent machine was a cumbersome process. Furthermore, many sites that index torrent files contain advertising that ranges from annoying to inappropriate to explicit.

Geocommunicator API Client

I have a friend who travels around the country servicing natural gas pipelines. As part of his duties he has to translate latitude / longitude coordinates into state, township, range, and section information. He was doing this by hand dozens of time per day. I found an API from the Department of the Interior’s Bureau of Land Management which accepts coordinates and responds with the exact information my friend needed.

Natural Organic Warehouse

Natural Organic Warehouse (NOW) is a distributor of organic products for farming, gardening, and landscaping purposes. Their slogan is “better, cleaner, sustainable choices.” Through my consulting company Tortugas Consulting, LLC I helped to develop their online presence.

Norris Training Systems

Norris Training Systems provides pre-licensing and continuing education training to insurance agents. My consulting company Tortugas Consulting, LLC developed their e-commerce website which allows agents to purchase and schedule classes. Additionally agents can download documents associated with their course and take related quizzes to prepare for their state license exam.