jump to navigation

Head First E-books February 14, 2008

Posted by ordinarywebguy in Books, Design Patterns, E-books, Head First, JSP, Java, OOP.
3 comments

I frustratingly wished and wanted to have a copy of these books … but these e-books make my wish come true.

Head First Java, 2nd Edition
Head First Design Patterns
Head First Servlets and JSP: Passing the Sun Certified Web Component Developer Exam (SCWCD)

and…

more here.

Got to print them out soon… Hehe!

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”.

My First PHP 5 Class Contribution at phpclasses.org February 13, 2007

Posted by ordinarywebguy in Javascript, MySQL, OOP, PHP, PHP 5.
4 comments

Entry: MySQL Data Abstraction Layer Class and Data Manipulation Class

After getting bored working with PHP 4 and deciding to get my hands dirty with PHP 5 and its OOP capability, it got me to have the classes and example and contribute it at phpclasses.org. I would have to say that its worth messing with it as you’ve be able to define the ranges or scopes of your classes, methods and its properties. Whew! I also have to say that I missed a lot of features of PHP 5 since we’re still using PHP 4 at work. And what I did was to convert the said classes to PHP 4 to be able to ulitize it. There’s only a minor modifications to it, removed access specifiers (public, private and protected) and turn “self::” to “$this->”, “__construct” to “name of class itself” and thats it.

Anyway back to my entry, you can download it here or view demo here. I’m hoping that it’ll be approved within 12 days by phpclasses people and be able helped somebody in learning PHP 5 and OOP.

I Got A New Book! Ho! Ho Ho! (OOP Demystified) December 18, 2006

Posted by ordinarywebguy in Books, C++, Java, OOP.
2 comments

I finally got my new book OOP Demystified for how many months since I’m stacked with PHP programming. Seems to be bored programming the procedural way. :-( Anyway, this was one of my must have this coming Christmas. And I’m very happy to have this at my book shelf since I’m now messing up with java technology. We all know specifically programmers that Java is OOP language so this book will definitely elevate my capacity in my programming career .

Well, also another must have is Java Head First Book and Java How to Program Book. Hopefully Santa will be so kind to give it to me. Whoaaaaaah!

And hopefully everybody will get something special with them this coming Christmas! Ho ho ho! Merry merry merry Programming to all!

Great PHP Frameworks December 7, 2006

Posted by ordinarywebguy in OOP, PHP, PHP Frameworks.
add a comment

I just recently felt the convenience of using such a framework in working PHP/Web Projects. Almost everthing you needed in developing is just a click away. Hail to those who developed it. Now you can focus more on the business logic of the project rather than doing everthing from scratch like database abstraction, query and file caching, benchmarking and among others. And one most reason I really want to use it were the execution of clean code and the OOP approach or manner of it.

The following were my preferred PHP Frameworks.

PHP 4.3.x or newer:
CodeIgniter
Code Igniter is an Application Development Framework – a toolkit – for people who build web sites using PHP. Its goal is to enable you to develop projects much faster than you could if you were writing code from scratch, by providing a rich set of libraries for commonly needed tasks, as well as a simple interface and logical structure to access these libraries. Code Igniter lets you creatively focus on your project by minimizing the amount of code needed for a given task.

PHP 5 or newer:
PRADO
PRADOTM is a component-based and event-driven programming framework for developing Web applications in PHP 5.

One Stop PHP Resources and It’s Peer September 8, 2006

Posted by ordinarywebguy in Ajax, Cool Websites, Java, Javascript, MySQL, OOP, PHP, PHP Blogs, PostgreSQL, Ruby.
1 comment so far

FeedPHP is going to be the largest repository of feeds from PHP and related news sources. This one stop news source parses feeds from thousands other php website and displays the titles. As we know, MySQL, PostgreSQL, AJAX are also relevant to PHP, so FeedPHP collects feeds from those sources as well.

Visit it here: http://www.feedphp.com/

All thanks to Hasin Hayder.