PT OnDemand offers bespoke personal training videos to a global audience. Users can pay for a series of workout videos using PayPal and track their progress over time using a workout tracker.
I was brought in after the previous developer failed to deliver the requirements. The project required a complete rewrite. I created unique features from scratch while using open source libraries to handle common elements like email validation with the EmailAddressValidator class and controller/view separation using Savant3 native-PHP templates.
PayPal integration was important to enable videos to be purchased. My system is a succinct object-orientated version of their name-value pair examples. Unfortunately PayPal provided verbose functions that were intrinsically linked with their examples. I halved their example code using inbuilt functions like
The videos had to be available and fast to download from all target countries. Amazon CloudFront provides world-wide performance with reduced start-up costs compared to excellent but expensive CDNs like Edgecast.