A couple years ago, I wrote a simple chat application. I did some research and found out that Facebook chat and notifications used a technique called long polling. So I wrote the application utilizing that methodology, and it worked pretty well. However, while I was writing the application, I kept seeing references to WebSockets, but ...
I wanted to test out the new php7.0 alpha release in my local environment. I currently am running Windows 8.1 with Wamp Server installed. Wamp Server obviously doesn’t have a version to download yet with php7 so I figured I would try to get it to work myself. Here are the steps I took to ...
So when I first started using MVC frameworks in PHP the first framework I really dove into was Yii. One of the coolest things about Yii is they have a code generator called Gii. Gii would look at your database and create Models, Controllers, and even Views for basic CRUD automatically. Laravel has something similar ...
Recently I was working with someone who decided to use First Data as their payment processor. I like First Data and normally highly recommend them to people looking for credit card processing. However, in the past everyone I have worked with used a different payment gateway like Authorize.net so I have never worked with First ...
The other day I need to be able to detect if an IP address was an Amazon EC2 IP address for a project I was working on. I couldn’t find any code but I did find this: https://forums.aws.amazon.com/ann.jspa?annID=1701 Which is a list of all the ip ranges for Amazon EC2 servers. So first a wrote a ...