mg's blog

28 Mar

Setup your own Drupal in the Amazon EC2

in Amazon, AWS, Cloud, CloudComputing, Drupal, Drupal, Drupal Planet, Drupal Planet, ec2, setup

Amazon AWS + Drupal

(Some familiarity with Amazon AWS is assumed.)

I have always wanted to setup a high performance Drupal on an AWS EC2. There are several advantages of running your website (or web application) on the AWS. Amazon EC2 creates and provisions virtual Linux (or Windows) servers for you and charge you an hourly rate for usage.

With AWS, it becomes easy to distribute and share the Drupal image with others. And of course it is much easier to scale and is definitely cheaper. You can have different virtual servers running the search engine, database and application servers, therefore all scaling independently of each other.

With the introduction of Micro instances and better yet, free micro instances, the barrier to entry for a new user has really dropped. 

I assume you have or can create an Amazon AWS account and use their management console. These aspects are very well covered in Amazon's site and I will not get into the details of creating an account, etc. Amazon has done a great job of creating the documentation and tutorials for getting started.

I will show how to:

1. Setup a LAMP stack on Ubuntu

2. Setup Drupal on the LAMP stack

3. How to install phpmyadmin

4. Configure the database to reside in the EBS instead of the ephemeral instance storage.

19 Mar

New Wedding planet launched with drupal

in 10jumps, Drupal, drupal usage, why drupal

New Wedding Planet

New wedding planet offers video courses and certification for wedding planners. They offer very high quality content to which paid members can subscribe and learn how to plan a wedding professionally. As Silicon Valley software engineers, our team customizes Content Management Systems (CMS) for an international roster of online business, information, and networking organizations. Read more »

21 Jan

Drupal in the cloud Beyond Content management

in Cloud, Cloud, cloud computing, CloudComputing, Drupal, Drupal, Drupal Planet, Drupal Planet, Scalability, scalability

Drupal is widely recognized as a great content management system, but we strongly believe that Drupal offers a lot more than that – a framework, a platform, and a set of technology – to build and run enterprise applications, specifically on the cloud. This post is an attempt to explore the benefits and potential of Drupal on the cloud.

  Read more »

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 »

29 Dec

Drupal introduction - why enterprises should use it

in Drupal, Drupal Planet, Drupal Planet

Drupal Introduction - Why enterprises should use it

Powerpoint presentation about why enterprises should consider Drupal

 

 

View more presentations from manishgarg.
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 2011 10jumps Llc.

copyright 2011 10jumps LLC.