Archive

Archive for February, 2008

Writing Website Scrapers in PHP

February 26th, 2008 24 comments

This article discusses about how to write a website scraper using PHP for web site data extraction. The concepts taught can be applied and programmed in Java, C#, etc. Basically any language that has a powerful string processing capability. This article will teach you the basics of website scraping. The article will further cover a tutorial to find web ranking from Yahoo.com search engine.

Read more…

Will "Made in India" Software Products Become a Reality?

February 20th, 2008 10 comments

A discussion with my friends brought about this topic. The discussion initially started with talks on the condition of Software Exports and the amount of revenue it brings to the Indian Economy as a whole. Though the Software Exports business (by way of consulting projects) has been good over the past so many years and have made billions of dollars for companies like Infosys, TCS, Wipro, etc., the question that we all had was about the future of the Software Exports business.

Read more…

7 habits of highly effective freelance programmers

February 18th, 2008 11 comments

I have developed these based on my freelancing experience. Though I have discontinued freelancing, but would like to share my practices with you. These are basic practices and have been developed over time with experience (good and bad). Please feel free to leave your experiences and comment on this article.

Read more…

PHP 5 Tutorial – Handling Exceptions in PHP5

February 14th, 2008 1 comment

In this tutorial we will cover the following:

  • What is an exception?
  • The use of a try…catch block
  • Anatomy of PHP5 Exception class
  • Extending the Exception class
  • A note on unhanded exceptions

Read more…

PHP 5 Tutorial – Final Class and Methods

February 14th, 2008 6 comments

In this PHP tutorial we will understand the following:

  • Meaning of Final Class
  • Meaning of Final Method
  • When to declare a class as final
  • When to declare a method as final

Read more…

PHP 5 Tutorials – Static Data Members and Methods

February 12th, 2008 2 comments

In this tutorial you will learn all about static data members and methods

  • Meaning of static data members
  • Meaning of static methods
  • Defining static data members in PHP5
  • Defining static methods in PHP5
  • Accessing static data members in PHP5
  • Accessing static methods in PHP5
  • Rules to keep in mind for static methods

Read more…

PHP5 OOPS Tutorials – Polymorphism

February 11th, 2008 10 comments

In this tutorial we will learn the following:

  • Meaning of Polymorphism
  • Why method polymorphism cannot be achieved in PHP
  • PHP 5 Object Polymorphism

Read more…

PHP5 Tutorials – Abstract Class and Interface

February 3rd, 2008 8 comments

In this post, we learn what is an abstract class and an interface.

  • What is an Abstract Class?
  • Private methods cannot be Abstract
  • What is an Interface?
  • Defining an Interface
  • Abstract Class v/s Interface

Read more…