Angular JS is one of the most popular and robust Frameworks available today to build SPA, Single Page Apps.

Here's a quick tutorial on how to quick install it on Ubuntu 14.04.

Get the latest nodejs and npm packages:

$sudo add-apt-repository ppa:chris-lea/node.js
$sudo apt-get update

Install node.js and its package manager npm:

$sudo apt-get install nodejs

Now, let's install Yeoman angular generator, which is a nice angular project generator, it will handle you project packages, as well as create the initial project structure, folders etc.
Visit the project page for more reference and documentation:

$sudo npm install -g…
Sunday, February 22, 2015

On this tutorial I will show you how to configure Varnish as a proxy server so you can re route you requests to any Apache or Nginx Server. 
Configuring Varnish on Ubuntu on distributed Servers is not a complex task, we just need to download some packages and then we will have to copy/paste the configurations below in order to start. Feel free to modify the provided configurations according to your needs. This post assumes there is another server Apache/Nginx listening on port 80 and running a Drupal site. 
Ok, Let's begin.

Install Varnish 3.0.5 from Ubuntu 14.04 repositories:

$sudo apt-get install varnish

Configure varnish deamon:

$sudo nano /etc/default/varnish

DAEMON_OPTS="-a :80,:…
Tuesday, January 20, 2015

Foundation is one of the latest and most popular responsive frameworks available on the Web nowadays, quite easy to use, fast to learn, the documentation section is really useful and there is also a Drupal version of this framework included as a base theme so you can take good advantage of Foundation in Drupal.

Zurb Foundation is the Drupal base theme that implements this nice framework and offers a lot of advantages for example, creating Modal windows with Foundation is a pretty straight forward task and the base theme makes this task way easier on Drupal by providing a

Wednesday, November 5, 2014

You might have crossed through this error a lot when developing web apps sharing multiple domain names for the same app and it usually triggers when app with domain name A tries to grab images/fonts/audio and somo other files from the same app with domain name B. Cross-Origin Request defines a way for browsers to share content in a secure way preventing your site of Cross Site Scripting attacks. But sometimes you do have apps that require multiple domain names and the resources must be shared between these in the same network so you know that content sharing is secure.

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at This can be fixed by moving the resource to the same domain or enabling CORS.…
Sunday, November 2, 2014

On this post I'll show you some quick steps to install and configure Memcache on Ubuntu 14.04 so you can enable Memcache on your Drupal installation.

First, you need to get some necessary packages from the Ubuntu repository, on a terminal window type:

# sudo apt-get install memcached php5-memcache

This will install the Memcache Server deamon and the PHP Memcache Extension.

Then, on your settings.php file you will need to add this lines in order to activate the Memcache Drupal module, see the module's documentation for more information about extend your memcache functionality.

Saturday, November 1, 2014