Ads

Friday, July 24, 2009

0 comments | Read more...
PHP is one of the mostly used language on the net. Why is it preferred by most web developers? Well, to give a brief reason why I love PHP most and why it is widely used I am sure of and few of the reasons why I love PHP: It is free, easy to use, secure and extremely fast. PHP before and today have a very big difference since PHP today is on Object Oriented approach though some other ways can still be used but the best thing is that in PHP’s handling of objects has been completely rewritten, allowing for better performance and more features. Using Object Oriented PHP is a lot way more easier and easier to trace codes rather that putting all together the codes in on PHP file.
To have a better look on which is easier to use here is one simple Object Oriented PHP sample:
< ?php
$x = 1000;
$y = 2000;
$z = $x + $y;
echo $z;
?>
Before, programming is done this way and it really is a very big pain especially when the same operation is needed on another PHP file. So I need to re-declare again the values and the operation needed in order to achieve the same result. Compare the big difference between the two:< ?php
class operation{
function add($x,$y){
$z = $x + $y;
return $z;
}
}
$op = new operation();
echo $op->add(5,7);
?>
Easy right? So every now and then all I need to do is include the file which contains the class and the functions. For example if we name the file as class.operation.php and we want to use the functions in that class all we need. This will play a very big difference to all the programmers out who wanted to develop web based software and gain some extra income.
Anyway speaking of programming contest, I saw this site while I was surfing on the net searching for extra income. Well I got lucky when I came across this site that gives $1O,OOO for a “Super Sexy” Mortgage Calculator. I will just grab this chance to share to all the programmers to join this mortgage calculator contest in the Mortgage Loan Place. What is in this calculator that makes it Super Sexy? Each mortgage calculator should contain a minimum amount of functionality. Mortgage calculators traditionally compute the value of a monthly payment based on principal, interest, taxes and insurance. To have a clearer view of what the contest is all about you can visit their site on the link given above. This is also not a problem if you don’t know how to create one, all you need to do is refer them and gain $1000. Easy money, isn’t it?

Blogger news

Blogroll

About