I’ve been struggling with creating an API for some of my web sites. Recently I stumbled upon FRAPI (http://getfrapi.com) which is based on the Zend Framework to help expose your web app. Their video (see below) is a great tutorial on how to get started very quickly with FRAPI but I suggest really comb through the documentation how to get everything setup correctly.
I wanted to get started with something easy that didn’t need much of an extravagant database. So I had a project from my junior class advisor, I work at a school district, who wanted a better way to keep track of who is currently at prom instead of the people taking the tickets and putting a check mark by their name on a printed excel file. All the tickets are numbered and have the students on them with a printed label. Right away in my mind I thought why add a barcode on the label that is simply just the ticket number. Then when the students come to the prom we can just scan the barcodes with a device and have them as “checked in” to the prom. They also “check out” of the prom so we know that they have left dance. When the student checks out of the prom the have 40 minutes to get back for post-prom otherwise they are not allowed to attend. This logic has to be used with the app too so they must be also check into post-prom and also check out so we know they left. The junior class advisor thought this would be perfect so I got started.
I will be posting on how to use FRAPI and ZBar in later post.