comparison
Subversion (svn) Best Practices
Subversion (SVN) is a version control system initiated in 2000 by CollabNet Inc. It is used to maintain current and historical versions of files such as source code, web pages, and documentation. Its goal is to be a mostly-compatible successor to the widely used Concurrent Versions System (CVS). Subversion official website Svn Best Practices View [...]
Regular Expression Validations – javascript
Regular expression can be used efficiently to validate inputs from user and as regex is widely supported in many languages, it can also be used in javascript. Below are some regular expressions to test few types of input from user in javascript. 1. Date (yyyy-mm-dd) var regexp = /(19|20)[0-9]{2}[\- \/.](0[1-9]|1[012])[\- \/.](0[1-9]|[12][0-9]|3[01])/; regexp.test(’string_to_test’); 2. [...]
Enable compression (gzip compression) – Apache Server (httpd)
If you are transporting enough textual data from server to browser, Enabling compression can do some thing for you in making your website faster. It works for any sites from a small one with few visitors, to a large one like the gumtree free stuff pages that get tons of traffic. A good example is [...]
Comparison Functions and Operators – MySql
Some non popular but useful MySql comparison functions and operators: BETWEEN … AND … Check whether a value is within a range of values mysql> SELECT 1 BETWEEN 2 AND 3; -> 0 mysql> SELECT ‘b’ BETWEEN ‘a’ AND ‘c’; -> 1 COALESCE() Return the first non-NULL argument mysql> SELECT COALESCE(NULL,1); -> [...]
Choosing web technology
I have been working in Java/J2EE from almost six years and from last one year i found trends are changing for web development. Probably people doesn’t want more complexity when it is not required and also I guess the most important aspect is prototyping. When you want to create some thing new quickly and through [...]
