A few definitions before diving in (the title is a mouthful): BDD = Behavior Driven Development, which is a more top down approach to Test Driven Development (TDD) Behat = Tool for implementing BDD written in PHP Selenium = open source browser testing tool, which can be used with behat as an addon through the […]
Category Archives: PHP
How to install phantomjs and casperjs on bluehost linux vps
Last week I needed to automate an internet lookup in real time which required a several step login process (no API available). I was having trouble getting it to work with Curl. I had heard good things about CasperJS and PhantomJS so I figured I would try it out. I decided to use my own […]
How to Add a Form in a WordPress Post
This is a simple step by step guide to creating a form that will capture data and store it in a mysql database on your server from within a wordpress post Note: the below example is a live, working form on this page Step 1: Create a simple form for a petition, contact request, or […]
Google Maps API Version 3 Geocoding Example
Today I realized that my location markers were not being displayed in all the google maps implementations I had put into place online, and after digging into it (trying to figure out what a code 610 response meant) I realized that I was using version 2 of the google maps api for retrieving latitude and […]
How to integrate existing website into Amazon Simple Email Service
I was preparing to integrate a client’s business to send emails through AWeber last week when I realized that their api does not support sending transactional emails to one or more people on an as needed basis. I confirmed with AWeber’s tech support that their API is read only, it does not allow the sending […]