PHP TDD (Test Driven Development)

Nowadays almost all back-end developers are familiar with TDD. It has much more upsides and very little downsides once the actual classes and the test are in place. If you are just experimenting with your code and do not need it for a longer term, you may not need TDD in that case. TDD is actually essential if you want to maintain your code base for a long time. So what does the Test Driven Development consist of? Well, there is the unit test that…

Continue reading »

Google Map will not load in hidden tab and switcher

If you embed Google Map in your website or application, you’ll have to place it outside of hidden tab; Or you’ll need to add a trigger in JavaScript to load the map; however, visitors of your website must double click to fully load the map. You can add this trigger like this on the page: google.maps.event.trigger(map0, ‘resize’); Or you can add a function call to Click event of a map tab: $( “#TabIDHere” ).click(function() { google.maps.event.trigger(map0, ‘resize’); }); remove nits

Continue reading »

Project 3 with AW/BT

Given multiple zipcodes of USA, calculate polygon to connect all points together. The results will be returned to a web service to be used by a third party software (clients) How do we do that? Each zipcode can be converted to a Geo point which will include Latitude and Longitude. Yahoo, Google, and Bing Map provide a web service that we can call to convert this value. Now we have the geocodes, let’s sort the arrays of longitudes first. Then loop through to calculate the…

Continue reading »

Project 1 with AW

Integration of Credit Card Payment Gateway by Authorize.Net with AppraisalWorld System. Develop CIM and SIM interface for Sales department, using Authorize.Net API Purpose of this integration: Sales team can charge software customers through an internal Admin interface and storing customers’ credit card information securely on Authorize.Net CIM server Method: SOAP call or REST to get a return of XML string Target date: April 5th, 2010

Continue reading »