Solid Design Patterns – Open Closed Principle Open Closed Principle In object-oriented programming, the Open Closed Principle states “software entities (classes, modules, functions, etc.) should be open for extension, but closed for modification”; that is, such an entity can allow its behaviour to be extended without modifying its source code. Quick recap, SOLID stands for five…

Read More Solid Design Patterns – Open closed principle

Solid design patterns – Single responsibility principle Here we are going to discuss “Single responsibility principle”. Single responsibility principle: “A class should have one and only one reason to change, meaning that a class should only have one job.” Recently I was reading a book “Clean Code” by Robert C Martin. It is a really…

Read More Solid Design Patterns – Single responsibility principle

Some how to using Htaccess: How to protected SVN Directories with HTACCESS File This line in the “.htaccess” file will protect all SVN directories (“.svn/”): <IfModule mod_rewrite.c> RewriteRule ^(.*/)?\.svn/ – [F,L] IfModule> The flag “F” means forbidden, and the “L” flag means the last rule to be used if this rule is used. “-” is…

Read More Some how-to using Htaccess

Rail Budget: Not a single thing for Udaipur (Mewar) Nobody mention of Udaipur-Ahmadabad gauge conversion Rail Ministry, which had been a highly politicized department of the Central Government for past couple of decades, presented its Indian rail budget today. It was bound to be a complex situation for the Rail Minister Sadananda gowda not only…

Read More Rail Budget: Not a single thing for Udaipur (Mewar)