Cpmaster.net

Web Dev, SEO, Technology and Me.

General Programming

Test Driven Development – Simplified

Where TDD Came From? What is Test Driven Development? Simple Example What to test TDD Pros TDD Cons It seems that Test Driven Development is the latest buzz word in the Software world. Case studies shown that teams who used TDD reduced the amount of pre-release defect density by 40% to 90%. (Full Case Study) [...]

, , , , , , ,

Mechanize – Screen Scraping in Rails

As a part of one of my projects, I needed to scan a webpage and get certain parts of it to my application. I found a nice gem with allows to do screen scraping in very convenient way. The gem called Mechanize and it’s actual target is to automate interaction with websites. So, for my [...]

, , , , , ,

WordPress Mod rewrite equivalent in Nginx

As more and more people are making the move from Apache to Nginx, Nginx seems not to have the apache mod_rewrite power. Well, it has it, differently. Let’s assume you have a wordpress blog and you want to customize the url structure of the posts in the blog. In WP Dashboard you have an option [...]

, , , , ,