Vagrant Up your Drupal Development

Vagrant is around for quite a time now and people prefer to work on virtual machine running locally for a faster performance. But I personally despise working on a Virtual Box mainly because it is a big pain setting it up for each project and if something screws up do it all over again. Though the performance was really shooting sky when I ran a Drupal project running in a Virtual Box. But Vagrant made my life easier. And with PuPHPet, well it is just a cherry on top.

Continue reading

TIL – Access object properties via variable

Have been struggling a lot since morning doing a simple stuff. Goal was to create a node object by adding the node field object properties dynamically. Everything looked fine but it was not working. After nearly burning around 4 hours I finally got the mistake and seriously makes me feel like a noob 😦 Continue reading

Setup a Virtual Host for Your site in XAMPP

In my previous blog I explained how you can setup a Drupal site in you local environment using XAMPP. As I already mentioned there that it is great to run a website in a local machine  using http://localhost but it have a drawback. By default you have a single domain and you have to pull all your work under the same domain in different directories. This isn’t very real and can cause problem while using server side includes and root relative links. But there is always a solution to every problem.

Continue reading

There is no place like 127.0.0.1

No matter where you go if you have your localhost running then you got a home. A local server is like a playground for developers. Don’t have an internet connection, want to test out dummy lorem ipsum text for content, want to constantly upload photos, these doesn’t matter when you are working on 127.0.0.1 aka “localhost”. With a few clicks you can easily setup your own website using the champ Drupal. The local server is the legs with which a Drupal website can start running like Forrest Gump.
Continue reading