Posted on February 26th, 2008 by admin
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 […]
Filed under: PHP, PHP Code Examples, Programming | 8 Comments »
Posted on February 18th, 2008 by admin
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.
[…]
Filed under: Management, Programming | 6 Comments »
Posted on November 16th, 2007 by admin
Programming is an art and science and like all art and science the only way to learn is from mistakes. I have made many… and I would like to share with you the mistakes that I have made over my journey with development.
[…]
Filed under: Programming | 12 Comments »
Posted on November 14th, 2007 by admin
I have developed a function that you can embed in your PHP applications that will help you extract email addresses from a given piece of text.
I have tested this on a string of (actually 4 - 5 paragraphs) text and this has performed very well.
Please feel free to use this code in your applications and […]
Filed under: PHP, PHP Code Examples, Programming | 4 Comments »
Posted on October 31st, 2007 by admin
Many of us in the field of programming and development go through a phase where we completely blank out. Our minds don’t work, our logic seems to have lost its track and we are not able to make any progress with projects. If this has happened to you and continues to happen to you… then […]
Filed under: Programming | 4 Comments »
Posted on October 25th, 2007 by admin
PHP5 provides a magic method by the name of __toString() (double underscore followed by toString()) which is useful for debugging purposes.
The __toString() method is automatically called when an object in PHP5 is converted into a string for the purpose of display or concatenation.
[…]
Filed under: PHP, PHP Tutorials, Programming | 3 Comments »
Posted on October 23rd, 2007 by admin
Swapping 2 variables requires a third temp variable, this is how it is implemented with 3 variables (I have implemented this in PHP, the same logic can be used in any language):
<?php
$a = 5;
$b = 7;
$temp = $a;
$a = $b;
$b = $temp;
echo “$a : $b”;
?>
[…]
Filed under: Programming | 5 Comments »
Posted on October 16th, 2007 by admin
I write this article to share my experience that I had in fixing bugs on live site. With users live on your site and transactions worth 100s of dollars ready to be executed, you cannot risk down time to fix the bug and get live again. So what do you do? You definitely cannot keep […]
Filed under: Programming | No Comments »
Posted on October 2nd, 2007 by admin
Need help to improve your programming logic and were afraid to ask? Read this article to help you identify what you need to do in order to improve your programming logic.
Filed under: Programming | 10 Comments »