Connecting the dots…

Thoughts on Web Development, Scalability and Application Architecture

Tag: development

Mass Virtual Host using VirtualDocumentRoot

Recently I required to update my development environment such that I can quickly setup virtual hosts, without needing to update the httpd.conf file everytime. It turns out that Apache supports a directive called VirtualDocumentRoot which allows you the map your host directories based on the domain name. I wanted to setup domains like project-name.user-name.devserver.name, hence [...]

PHP CodeSniffer and common errors

I am currently writing a wrapper for PHPUnit for my employer which makes writing Selenium test cases for developers far easier. It would abstract them from the details of knowing server, urls, browser versions, reporting etc. All they now need to do is just write a basic test case for the functionality they added in [...]

Symfony development process

My development process involves using doctrine and svn. Documenting my development steps to make sure I can put this is some sort of build script in future. Creating svn directories svn mkdir -m "create default directories" http://svn.clients.rajatpandit.com/project-name/trunk http://svn.clients.rajatpandit.com/project-name/tags http://svn.clients.rajatpandit.com/project-name/branches Checkout these directories locally: svn co http://svn.clients.rajatpandit.com/project-name/ . Move to the trunk directory cd trunk Creating [...]

Enabling HTTPS support in curl installed through MacPorts on OSX

While doing development just noticed that if you have installed php with curl support using macports it does’nt install ssl support in curl by default which is quite frustrating. Especially I just spent 30mins of my life trying to debugging what had gone wrong. This is what you would get if you have a similar [...]

using svn for development in symfony

The recent project that I am working on for a client has taught me more about svn than I ever did because of the complex nature of the product. It has been going through a proper product development cycle which involves quick iteration of features and sometimes, such dramatic changes that can make the entire [...]

GIT – version control system

Having used CVS, SVN and GIT, GIT clearly seems like my preferred choice of version control system, esp for my symfony projects, its amazing how fast it is and how easy it is to use for most of the basic operations and even for other slightly complex operations like branching and merging. I have previous [...]