Showing posts with label php. Show all posts
Showing posts with label php. Show all posts

Tuesday, December 23, 2014

Weather for your business?

A beautiful iPhone app before the year end. It is a business analytics app.
In App Store:

Wednesday, September 24, 2014

VW Interactive Ad Unit

Built the API services for an Ad unit that is personalized for each CBS fantasy football team.
  • Each team plays 10 unique questions each week and earn points. 
  • Leader board for each league. 
  • History for last week's score. 

Tuesday, April 15, 2014

How to install ImageMagick with MAMP

1. Install Homebrew
ruby -e "$(curl -fsSL"
2. Install ImageMagick for the PHP version your MAMP is running.
brew search imagick
brew install php55-imagick
After installation, the ImageMagick PHP extension is created in /usr/local/Cellar/php55-imagick/3.1.0RC2/
3. Disable the DYLD_LIBRARY_PATH variable in Apache's environmental variables.
vi /Applications/MAMP/Library/bin/envvars
Comment out the following line:
4. Update php.ini to include
vi /Applications/MAMP/bin/php/php5.5.3/conf/php.ini
Add the following line.
5. Restart MAMP
6. Check if imagick is included in phpinfo()

Monday, March 3, 2014

A simple copying directory function

function recurseCopy($src, $dst, $excludeFileType=array()) {
    $dir = opendir($src);
    mkdir($dst, 0755, true);
    while(false !== ( $file = readdir($dir)) ) {
        if (( $file != '.' ) && ( $file != '..' )) {
            if ( is_dir($src . '/' . $file) ) {
                $this->recurseCopy($src . '/' . $file, $dst . '/' . $file, $excludeFileType);
            else {
                $filePathInfo = pathinfo($file);
                $ext = '';
                    $ext = $filePathInfo['extension'];
                if(empty($ext) || !in_array($ext, $excludeFileType)){
                    copy($src . '/' . $file, $dst . '/' . $file);

Tuesday, February 25, 2014

A Target campaign

A micro site that allows user to get a free mp3 download after Facebook authentication. The site is written in PHP with MySQL database.
Application features:
  • Limits one download per user. 
  • Integration with real-time music purchasing and download.
  • Location restriction by user IP address.
  • Integration with Email injection services.
  • Twitter, Instagram and Facebook user authentication process.
  • Works on both desktop and mobile web browsers.
  • Supports high volume of traffic.

Tuesday, July 2, 2013

A little taste of Symfony

Needed to work on a Target application that was built using Symfony. I am not convinced that I should leave Codeigniter.

Thursday, June 20, 2013

VW Merge & Purge campaign

This application uses Javascript framework backbone and several APIs built using PHP. I was working on the backend PHP with MySQL. The one major component is PHP GD image. All the Facebook feed images are generated with dynamic information using GD.

Tuesday, October 5, 2010

A Nightmare on Elm Street Fankit

Yeah! my Fankit framework lives on.
Site URL:

Anthem Connects

This site is built using the CodeIgniter PHP framework. Very happy with this framework so far. It does everything I wanted a framework to do.

The site is mostly static content except the Health Footprint and 10-day boost sections.

The Health Footprint Calculator is heavy on Javascript. The front-end experience was built using jQuery. The back-end is driven by PHP and MySQL. Users can register account, take the quiz and track their scores. A admin tool was also included. It allows the admin to add new questions, answers, weight for each answer,
The 10-day boost is simple. List of youtube videos plus some social elements.

Development time: 3 weeks
Site URL:

Wednesday, March 17, 2010

Clash of the Titans Fankit

I worked on a Fankit web application for Harry Potter back in July 2009 while I was at Crew Creative. It was created in a way that it can be reused for other sites easily. Today I saw Clash of the Titans Fankit site is up. I'm happy that Warner Bros likes the application and decided to use it again. This means a lot to me.

Tuesday, March 2, 2010

ReBuildUS, my first startup experience

After Crew Creative closed down, I decided to join a startup company( that is building a online foreclosure marketplace platform. The company has a great business model and mission statement.
  • To put distressed residential properties back into productive use.
  • To rebuild communities by filling the holes left by foreclosure.
  • To create jobs and the opportunity for financial independence.
  • To give hard-working Americans a new way to buy a house.
  • To rebuild the American Dream.
After some nights and weekends, the site is launched today. Check it out, you may find a house you like.

Friday, July 10, 2009

Harry Potter Muggle Hub

One of my biggest project. Harry Potter Muggle Hub is a central place for fans to find interesting things to put on their own web site or social site profile. It is built from ground up like most of the projects I did. It comes with a nice CMS which allows the admin to control almost everything on the site including each module's content and their display order. The admin can create different Muggle Hub for different territory using the CMS. Admin can import content from different territory to reduce redundant work.

Time spent: 6 weeks
Programming: PHP, MySQL, Smarty
Site URL:

The Wendy Williams Show

The official site for The Wendy Williams Show. It is built using WordPress which is an excellent tool. I like it better than Drupal. Lots of plugins, user friendly admin tool. Easy to create a customized PHP page using template tags.
Time spent: 3 weeks
Programming: PHP, MySQL, WordPress

Wednesday, April 22, 2009


A job posting page plus a simple tool that allows administrator to view and download resumes.

Programming Languages: PHP, MySQL, Smarty

Monday, February 23, 2009

Crew Labs

A project for Crew Creative. Crew Labs has a 10 steps entry form. Each step has complex validation logic. It also includes a tool for the judges to rate the film and keep track of submission status and results.

Programming Languages: PHP, MySQL, Smarty, PEAR, jQuery

Thursday, January 29, 2009

Filmmakers Destination

Filmmakers Destination is built using a powerful CMS Drupal. Here are some Drupal modules I think it is a must have. CCK, Views, Pathauto.

Programming Languages: Drupal, PHP, MySQL

Thursday, October 23, 2008


I DO! is a community site that encourage people to vote NO on Prop 8 on Nov. 4th. You register, complete your profile and spread the words by sending invitations to all the people you know. I coded the site from scratch including the Database. GD image was used to resize user uploaded avatars.

Programming Languages: PHP, MySQL, Smarty, PEAR

The Secret Life of Bees Facebook App

It is a re-skin of the Get Rambo'd app plus upgrade to the new Facebook API. It is a good project for me to catch up with the new APIs.
Programming Languages: PHP, MySQL, Smarty, PEAR

Tuesday, August 12, 2008

Crew Newsletter CMS

It's an internal project. I did it for Crew so they can put up a company wide newsletter easier and faster every month. The difference between this CMS and the previous ones are Ajax file uploading and jQuery. I switched from prototype to jQuery and I liked it better. It is lightweight, fast, easy to use, better error handling and more plug-ins.

Language: PHP, MySQL, Smarty, jQuery

Sunday, June 29, 2008

Planet Green G-Quiz Facebook App

A Facbook application which has a daily quiz, leader board and newsletter opt-in. It also has a CMS that allows the admin to input all the quizzes and day of the tips.

Language: PHP, MySQL, Smarty