Monday, March 4, 2013

Code Review: Earvin Gemenez


Dyed brown hair with the Asian-pop haircut, pink stuff, v-necked shirts, and Havaianas. That's how Earvin looks like on any given day. Those who don't know him would never in a million years think that his passion is coding, mainly because he looks so far removed from the "programming geek" image we have in our brains.

But that, he is -  a programming geek. He proves this time and time again by constantly turning in projects that make his clients happy.

Earvin is now currently working on a project where he is assigned to a task that will integrate the user account with their social networking site accounts like Facebook, LinkedIn, Pinterest, and Instagram. Aside from linking them, he is also making these possible: enable the users to edit and enhance their profile page; adding helpful user stuff like enabling the user to edit basic and general info, Micro-foundation's connection, user profile picture upload, and adding contact information.

In his code review last February 20, he shared how he integrated to Facebook.

He says, "I used Facebook API to get the user's data and generate his/her profile page link. I didn't use the Django-Facebook app even though the site I'm working on is built in Django. Instead, I used the Facebook Graph (using url links to get request data) because right now the site doesn't call for the use of most of the features in the Django-Facebook app."

According to Facebook, the Graph API is the primary way that data gets in or out on FB's social graph. The social graph is a low-level HTTP-based Application Programming Interface than can be used to query data, post new stories, create check-ins, among other tasks done by a social app. The Open Graph, on the other hand, allows you to define new objects and actions in a user's social graph that enables a user to create new instances of actions and objects through the Graph API.(Facebook.com, 2013)

Earvin also shared his basic coding principles and best practices in writing code to the team. A topic necessitated by his experience of having to rewrite a big portion of a project he handled because someone else turned in a sloppy job. He says to always be aware of the readability of one's code, as well as the proper order of things so that there would be lesser confusion and a more efficient flow.

Even when handling challenges like he encounters in his projects, he shared that "it feels good to share my work to others especially when they can relate to it and knowing I am always solo on my projects, I really felt great that people give good comment and notice my work positively."

1 comment:

  1. This article is such a nice and interesting one, I'm very satisfied with the provided contents. I hope more excellent articles would be posted in your website. Thank you so much for this and keep sharing. Nissan 370Z

    ReplyDelete