Skip to main content

Gdata-Backed Applications

So, after a few trial runs, I am seriously considering Gdata as the Data-Access layer for my next project: An appointment booking and review site for my tutor students.

I first tried it out on this site. I didn't want to develop a database and an admin for this website, and I didn't want to just settle for blogger, which does labels, but doesn't seem to have the cool categorization functionality that I was really hoping for. None of the weblog alternatives were looking good either.

Enter Gdata. I learned of this nifty API that Google provides for query and CRUD operations for all of their applications, including Blogger. After poking around for a bit, I also learned that it is super-duper easy to use (if you are a programmer). As it's already feeling very late tonight, I'll just post the link, and you can see for yourself:

GData Blogger API Overview

Now, with very little programming, I was able to suck the blogger data onto these pages, quite seemlessly, and separate them into categories, like I was wanting to do.

Just days later, I was realizing that, for my t-shirt website, I needed to have a reminder go to my phone three-days after an order was placed to remind me, "Hey, if you haven't shipped this order, yet, you better get a move on!" All I did was, at the end of each order, use Gdata again to create a new calendar item on my Google Calendar, which defaults to remind me via my phone. That wonderful piece of integration took only a couple dozen line of code.

Lest everything look like roses, there was one problem, but it was web host related. I speak of the curl proxy that GoDaddy requires all secure requests to go through. Having a curl proxy is not a big deal, but the fact that it doesn't accept POST requests is astonishing. So, there was a little bit of hacking, but the problem had already been solved by people much smarter than I. I gladly accepted their generosity. :)

This, I believe, is incidental to GoDaddy, though. Otherwise, both times GData was very easy and just right for what I needed.

Now, for the tutoring appointment and review site. I'll use Blogger to log records regarding tutoring visits, the Calendar for appointments, etc. I'll build a presentation layer that will give the booking functionality on top of the normal free-form scheduling, and I'll probably use labels for the individual tutoring students. Perhaps, I will try to do the billing letters through Google Docs, but I'm a bit wary that this might be more work than it's worth.

Anyway, I look forward to trying it out.

Comments

Popular posts from this blog

How Many Teeth Does The Tooth Fairy Pick Up Each Night in Utah?

Somebody asked me a question about my Tooth Fairy post the other day that got me thinking. How many baby teeth are lost every day in Utah?

I began with Googling. Surely someone else has thought of this and run some numbers, right? Lo, there is a tooth fairy site that claims that the Tooth Fairy collects 300,000 teeth per night.

That's a lot; however, when I ran the numbers, it started to seem awfully low.

Let's assume that the Tooth Fairy collects all baby teeth regardless of quality and we assume that all children lose all their baby teeth. The world population of children sits at 2.2 billion, with 74.2 million of them in the United States. Of those, approximately 896,961 of them are in Utah. This means that somewhere around .04077% of the world's children are in Utah.

If we assume that kids in Utah lose teeth at the same rate as all other children in the world and that each day in the year is just as likely as the rest to lose a tooth, then we have that of the alleged …

I don't know you from Adam OR How to Tie Yourself Back to Adam in 150 Easy Steps

Last Sunday, I was working on my genealogy on familysearch.org, a free site provided by The Church of Jesus Christ of Latter-Day Saints for doing pretty extensive family history. While looking for information about a Thomas Neal, I found an individual who had done a bunch of work on his family including is tie into the Garland family, which tied in through Thomas's wife.

So, while I was pondering what to do about Thomas Neal (who's parents I still haven't found), I clicked up the Garland line. It was pretty cool because it went really far back; it's always fun to see that there were real people who you are really related to back in the 14th century or what not.
As I worked my way back through the tree, I noticed it dead-ended at Sir Thomas Morieux, who, according to the chart, was the maternal grandfather-in-law of Humphy Garland (b. 1376).  The name sounded pretty official, so I thought I'd Google him. I learned from Wikipedia that Sir Thomas Morieux married Blanc…

Twas the Night Before Pi Day

Twas the Night Before Pi Day
by Joshua Cummings

Twas the night before Pi Day, when Archimedes, the muse,
Went to pay me a visit whilst I took a snooze.

I'd visions of carrot cake, candy, and cheese
When dashed open my window and entered a breeze
That stirred me to consciousness, albeit in time
To see my face plastered in pie of key lime.

And once I'd removed the fruit from my eyes
And put on my spectacles did I realize
That before me presented a most divine spectre
Who clearly possessed the Key Lime Projector.

"It's a fulcrum, you see!" he began to explain,
"All I use is this crank to cause the right strain,
"Then releasing its fetter it launches sky high
"The juiciest pie of key lime in your eye!"

I sat there immobile for what seemed a year,
As the spectre protested I his genius revere,
When clearly it came, the fine revelation,
Of his piety, honor, achievements, and station.
With his little old catapult, so lively and quick,
I knew in a moment that this must be …