For Programmers: Free Programming Magazines  


Home > Archive > PHP Programming > January 2006 > Classes in PHP









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Classes in PHP
Ameen_France

2006-01-27, 3:56 am

Can anybody help me by giving some examples for classes in PHP. please
provide me some simple and understandable classes examples.
regards
Ameen

Carl Vondrick

2006-01-27, 3:56 am

Ameen_France wrote:
> Can anybody help me by giving some examples for classes in PHP. please
> provide me some simple and understandable classes examples.
> regards
> Ameen
>


Try these:
-
http://www.google.com/search?q=php+...:en-US:official
http://www.google.com/search?hs=ntL...les&btnG=Search
-
http://www.google.com/search?hs=dE1...oop&btnG=Search

Carl
Double Echo

2006-01-27, 6:57 pm

Ameen_France wrote:
> Can anybody help me by giving some examples for classes in PHP. please
> provide me some simple and understandable classes examples.
> regards
> Ameen
>


http://www.phpclasses.org

Jon

2006-01-27, 6:57 pm

They're very simliar to that of C++ really. You use the new keyword to
instanciate a class within an application, and class data is handled the
same way as in C++ (for the most part). If you know OO programming, a google
search should be all you need to write PHP classes (just to get the syntax
down).

"Ameen_France" <ameen.pondy@gmail.com> wrote in message
news:1138340785.566362.284920@g44g2000cwa.googlegroups.com...
> Can anybody help me by giving some examples for classes in PHP. please
> provide me some simple and understandable classes examples.
> regards
> Ameen
>



s a n j a y

2006-01-27, 9:56 pm

Ameen_France wrote:
> Can anybody help me by giving some examples for classes in PHP. please
> provide me some simple and understandable classes examples.
> regards
> Ameen
>



well do you have any experience with OO programming? If you do not you
might wanna pick up a OO book. You can even pick up a java or C++ book
and read the classes and objects chapter. PHP classes are based on these
languages anyway.

Sanjay
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2010 codecomments.com