12 Jan

Mac OS X + Eclipse + PDT + Xdebug + MAMP

in debug, Drupal, Drupal Planet, Drupal Planet, xdebug

I had written about setting up php debugging environment with Eclipse on windows.

Well, turns out, setting up the debug environment on Mac OS X is also a little tricky since the library files do not always work. Read more »

03 Jan

5 steps to help you with your internet marketing!

in Uncategorized

We have made big jumps in the Internet marketing techniques in the last decade. In the past the banner advertising worked well and very little was known about the search engine optimization until Google came up.

The right formula for a perfect online presence of any business is:

Internet marketing success = perfect business model+ awesome website+ Great website traffic

Now if we try to focus then we can summarize the above in 5 comprehensive steps. Read more »

27 Dec

How is Netflix changing the game with Cloud

in Cloud, cloud computing, CloudComputing

You are probably familiar with the movie renting and now movie streaming site Netflix. If you are a subscriber, you might have noticed that Netflix is transitioning to a movie streaming site and is probably the leader in that space. However, with the move in this business direction also came massive technical challenges for Netflix.

Their existing data centers were simply not sufficient to meet the spikes in growing demand, storage and computing requirements. Netflix published a very informative paper illustrating their problems and how they are addressing the needs by leveraging the cloud (especially Amazon AWS).

The paper talks about two very interesting aspects:

1. How they are using the cloud as a infrastructure (Amazon EC2) and a platform (Amazon Simple DB).

2. How they manage to sync the data between on premise and on the cloud storage.

At large companies like SAP there are similar challenges to address where the customers have large amounts of data and want to migrate gradually to the cloud. Netflix achieved this with their in house bi directional data replication system called IR (Item replication). Data replicators like the one from Sybase are a good fit for such a use case.

The data would have to be modeled to sit as key value instead of highly normalized RDBMS data sets.

Netflix paper also covers some fundamentals which are important for any cloud architect. Specially the application of the CAP theorem.


So if you are thinking about how to leverage the cloud for the next generation architecture, this paper is a good starting point with enough technical architecture pointers as well as a great use case.

25 Dec

How to implement a AJAX autocomplete with Drupal (in 5 minutes)

in AJAX, autocomplete, Drupal, Drupal, Drupal Planet, Drupal Planet

Sure there are modules for getting an auto complete textfield in Drupal. But where would the fun be then :)

Here I will show you how to write your own auto complete AJAX textfield. It is surprisingly easy and we will walk through all the steps from defining a text box to writing a SQL query to fetch the results to display. Read more »

03 Dec

Drupal database abstraction layer - Part III

in database abstraction coding module development, Drupal, Drupal, Drupal Planet, Drupal Planet

This is the part III of the Drupal Database Abstraction Layer

In part I of the database series we saw how to

1. Creating and deleting the tables when a module is installed or uninstalled.

2. Updating the table structure once the module is in use. So the users can apply a patch easily

In Part II we visited 

1. Ways to write secure database calls that can eliminate SQL injection

2. Reading from the database and iterating over results

  Read more »

30 Nov

Drupal database abstraction layer - Part II

in Drupal, drupal database abstraction coding module development, Drupal Planet, Drupal Planet

In the previous blog we saw how to

1. Create and delete tables when the modules are installed or uninstalled

2. Updating a table once the module is in use. This allows for applying patches easily

In this blog we will see two other aspects of the Drupal database layer

1. Writing secure SQL to avoid SQL injection

2. Reading from a database and iterating over results Read more »

29 Nov

Drupal database abstraction layer - Part I

in coding module development, Drupal, drupal database abstraction, Drupal Planet, Drupal Planet

If you develop modules in Drupal you know what I am talking about here. However for the uninitiated, this might be useful.

Drupal provides an abstraction on the database and whether you are using mysql or postgres, you write only one code and call drupal's in built functions. 
11 Nov

how user_hook() will change from drupal 6 to drupal 7

in Drupal, Drupal, drupal modules, Drupal Planet, Drupal Planet

Hooks is the central mechanism which allows Drupal its extensibility. New functionality can interact with or extend existing functionality using hooks. Use hook, don't hack is a standard way to write code in Drupal.

user_hook() is a hook which is called when an activity is performed on the user. e.g. A user logs in, logs out, clicks on user profile, etc..  Read more »

copyright 2012 10jumps Llc.

copyright 2012 10jumps LLC.