jump to navigation

2nd Contribution at PHPClasses.org (EasyGoogleMap) March 29, 2007

Posted by ordinarywebguy in GMaps, Google Maps, Javascript, PHP.
4 comments

The class generates necessary JS and HMTL codes that resembles like my last post regarding google maps. It was approved earlier than I expected. Thanks again to the people of phpclasses.org.

This was to make a life of a PHP Developer easier with the integration of GMaps within their websites. But as of now the GClientGeocoder() class only geocode addresses in France, Italy, Germany, Spain, Portugal, Japan, Australia, New Zealand, Canada, US, and the Netherlands.

For more info regarding GClientGeocoder() class: http://code.google.com/support/bin/answer.py?answer=62668&topic=10946

You can download EasyGoogleMap Class here:
Tar: http://www.phpclasses.org/browse/package/3801/download/targz.html
Zip: http://www.phpclasses.org/browse/package/3801/download/zip.html

Happy EasyGoogleMapping!!!

I am a Ruby Language!?!! March 14, 2007

Posted by ordinarywebguy in Cool Websites, Programming.
add a comment

Surprisingly this was the result of the quiz “Which Programming Language Are You?”.

Try it also here: http://www.bbspot.com/News/2006/08/language_quiz.php

Web Developer Cheatsheets March 13, 2007

Posted by ordinarywebguy in Cheatsheets, Cool Websites.
add a comment

A great collections of cheatsheets  exclusively for web developers.

Grab it all here:
http://www.smashingmagazine.com/2006/10/30/cheat-sheet-round-up-ajax-css-latex-ruby/

What is Method Overloading in OOP? March 8, 2007

Posted by ordinarywebguy in Java, OOP.
2 comments

Different OOP programming languages were strong typed language such as Java and C++, it means that methods and variables type should be defined (int, float, double, string, etc.) that’s the reason why there is method overloading. Method overloading is having methods in a class that have same method name but different in parameters. It is a form  of Polymorphism.
For example in this code:

class Compute{

public void Add(int param1, int param2) {
//do addition computation here…
}
public void Add(float param1, int param2) {
//do addition computation here…
}
public void Add(int param1, float param2) {
//do addition computation here…
}
}// end class

Now, if we talk about numbers its data type could be a int, double or float. Right? In the code we could then pass those types in method “Add()” to be able to execute addition.

class MyClass{

public static void main (String[] args) {

Compute comp = new Compute;
comp.Add(1,1);
comp.Add(5.5,1);
comp.Add(10000000000000,999999999999999);

}

} // end class

That’s it the “Method Overloading”.

Dare to Learn Javascript? From Basic to Advanced Video Tutorials by Douglas Crockford March 7, 2007

Posted by ordinarywebguy in Javascript, Videos.
add a comment