Sunday, November 16, 2008

New Personal Project

I call it EAV. In the database world, this is short for Entity-Attribute-Value. This concept is one of many solutions for adding, editing, deleting custom fields to a table without altering the existing table. Please read the wiki: http://en.wikipedia.org/wiki/Entity-Attribute-Value_model/ . EAV in this scope is a Site Management System that builds on the EAV database concept.

Already developed some of my recursive thoughts. http://eav.blanquera.com/eav/ this is the documentation of EAV. The actual web application that generates the content for this documentation parses code comments from PHP and JS files in the EAV diractory and is written using EAV. That's a mouthful.

If you live in San Francisco, and are a PHP or JS developer and like to hear my stupid pitch about EAV, I can use all the help I can get.

Monday, November 03, 2008

Drupal 6 Le sigh

Back to work from a long vacation. Work asks me if I know Drupal? I say yes I have used Drupal before back in version 3 or 4.7. They say they have a project for me. Getting back to work was an easy adjustment because while in the Philippines I dreamed about coding.

Here we go!

Case Study:
Client wants to extend create an event functionality to include timezones, the option to choose a duration or an end time and set how many people can RSVP to it. Client also wants me to build an RSVP module in the front end attached to events.

Problem: Extending Drupal Modules; Despite what some people think, drupal is not Object oriented. It relies on virtual function callbacks (not methods) which in PHP cannot be overloaded.

I found this conversation to be really funny.
http://drupal.org/node/15943

I thought "Well maybe Drupal has another way of extending modules?" This is false. Searching on google I came to a consensus that the way to extend module functionality is to customize the module you want added functionality for and when an upgrade comes for that module by the original author, "Good Luck."