Hello,
I have been programming in PHP for a while, but always the classic function
oriented approach. I would like to learn how to program in PHP with an
object oriented approach, but so far have found little resources. I would
prefer to find a paperback book that explains this approach in a clear way,
without it being too simple or too advanced. Can anybody recommend me some
good resources on this matter?
Thanks,
Kris 2 1646
Krimgelas wrote: Hello,
I have been programming in PHP for a while, but always the classic function oriented approach. I would like to learn how to program in PHP with an object oriented approach, but so far have found little resources. I would prefer to find a paperback book that explains this approach in a clear way, without it being too simple or too advanced. Can anybody recommend me some good resources on this matter?
Thanks,
Kris
Hi Kris,
Maybe not very surprising: http://nl2.php.net/manual/en/language.oop.php
for php4
and http://nl2.php.net/manual/en/language.oop5.php
for php5
should be a good startingpoint.
ALso, I would suggest to check www.oreilly.com and related sites as www.onlamp.com.
They have excellent searching implemented, including searching for books.
eg: http://www.onlamp.com/pub/a/php/2002...undations.html
My rule of tumb: If I need to learn a new technic, I buy a (recent) book by
O'Reilly on the subject.
I did that many times by (me old :P) and I was never disappointed.
:-)
(No, I don't work for them)
Hope that helps.
Regards,
Erwin Moller
Maybe not as a first introduction to object oriented programming, but I
recommend "Refactoring: Improving the Design of Existing Code" by Martin
Fowler. There's a nice example of how to transform a procedural style
program to an object-oriented one.
Best regards
Krimgelas wrote: Hello,
I have been programming in PHP for a while, but always the classic function oriented approach. I would like to learn how to program in PHP with an object oriented approach, but so far have found little resources. I would prefer to find a paperback book that explains this approach in a clear way, without it being too simple or too advanced. Can anybody recommend me some good resources on this matter?
Thanks,
Kris This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: DrUg13 |
last post by:
In java, this seems so easy. You need a new object
Object test = new Object() gives me exactly what I want.
could someone please help me understand the different ways to do the
same thing in...
|
by: Stephen Tyndall |
last post by:
I'm not sure whether this counts as off-topic, but here's a huge list of
books about C++ that I've found highly recommended (kind of slanted towards
game programming because that's what I'm looking...
|
by: Stephen Tyndall |
last post by:
This is the updated version of the resources list posted last month.
Updates:
-Now application-neutral. The old list had video game-related programming
books.
-Required reading section added....
|
by: Mike Tyndall |
last post by:
Sorry I'm late, everybody! I'll try to post it nearer the start of the month
next time.
Updates:
-Books added:
C++ Coding Standards (Required Reading - upcoming)
Memory as a Programming...
|
by: Mike Tyndall |
last post by:
Whoops, way late this time. Sorry again, things have been hectic.
Updates:
-Books added to the "Other C++ books" section:
Inside the C++ Object Model
-Books added to the "General programming"...
|
by: Dale |
last post by:
I've searched Amazon and read probably 100 reviews but can't find what seems
to be any book that is widely accepted as the definitive book on object
oriented programming design and techniques. And...
|
by: shamirza |
last post by:
· When was .NET announced?
Bill Gates delivered a keynote at Forum 2000, held June 22, 2000,
outlining the .NET 'vision'. The July 2000 PDC had a number of sessions
on .NET technology, and...
|
by: ajba74 |
last post by:
Hi fellows,
I am reading some books to learn the C programming language, and
sometimes I have the feeling that when somebody becomes a C expert, he
must learn a more modern and object-oriented...
|
by: virtualadepts |
last post by:
I have code here that explains my object oriented design model. I've
been reading about other design models from what is documented on
wikipedia about the key book on the subject:...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| | |