Posts from — September 2010

Tuning MySQL Server Settings

The default configuration file for MySQL is intended not to use many resources, because its a general purpose sort of a configuration file. The default configuration does enough to have MySQL running happily with limited resources and catering to simple queries and small data-sets. The configuration file would most definitely need to be customized and tuned if you intend on using complex queries and when you have good amount of data. Most of the tunings mentioned in this post are applicable to the MyISAM storage engine, I will soon be posting tunings applicable to the Innodb storage engine. Getting started…

September 30, 2010   Views: 42,850   16 Comments

A definitive guide to setting up your own Mail Server – Part 1

Setting up a mail server, in itself, is not that difficult a task, but there are integrations that can really mess up with your time and mind. Integrations such as SMTP authentication, setting up virtual users and virtual mailboxes, setting up spam-filtering and antivirus filtering can really be a pain if not configured properly. Hence, I decided why not share my own experiences in the form of a tutorial. May be this will help out someone trying to setup a mail server. I have divided this tutorial into several parts, so that I can explain as we go about setting…

September 26, 2010   Views: 10,915   21 Comments

For the beginners – Creating quality code – Part 4

Welcome back to the series of articles, where we work our way from the scratch to creating an application with quality code. This is a continuation from the previous article where we finalized the application layer for a ticketing system, In this part, we will create the second layer of code, which we will call process layer

September 26, 2010   Views: 7,288   5 Comments

Bluehost web hosting – a big no no for websites with decent traffic!

I had recently started my blog and chosen Bluehost as my hosting provider. The reason for choosing Bluehost was that I had hosted many static and low traffic websites on their servers previously and also because Bluehost was featured on wordpress.org under the hosting tab. A side-note, for professional work I have always been working on dedicated servers or VPS, so didn’t have much experience of hosting decent traffic web apps on shared hosting. Initial thoughts Now initially it didn’t really go all that bad, my blog was up and running in no time. There wasn’t much traffic initially. I…

September 12, 2010   Views: 19,201   55 Comments

For the beginners – Creating quality code – Part 3

Welcome back to the series of articles, where we work our way from the scratch to creating an application with quality code. This is a continuation from the previous article where we created an initial application for a ticketing system, by designing and writing application layer code. In this part, we will improve that code to enhance security, maintainability and make it more extensible for future use.

September 7, 2010   Views: 4,980   2 Comments

For the beginners – Creating quality code – Part 2

Welcome back to the series of articles, where we work our way from the scratch to creating an application with quality code. You will learn how to quickly improve your coding habits and style to write easy to understand and manageable code.

September 7, 2010   Views: 8,879   1 Comment

For the beginners – Creating quality code – Part 1

One of the things that I have encountered frequently in my development experience is totally messed up and hard to read code by fresh programmers. Although it takes years of experience and continuous optimization that makes your coding skills great, there are a few simple tricks that beginners can apply to quickly shape up their coding styles and standards.

Read along to find out the tricks and the techniques that can make even a beginner like you a Pro in no time!

September 4, 2010   Views: 13,915   2 Comments