Object Modeling in PHP
I've been a procedural programmer for a long time, and I have started working in OO PHP specifically, and Perl to a lesser extent.
My query deals with a best approach and basic skills in object modeling, with the two languages mentioned above in mind. Most of the books I find out there deal with languages that I have no interest in or experience with Java, and I really would like to know if anybody out there is reading one right now, or know of one that is in the works.
I found the book Object-Oriented PHP and have started reading it, but you have to read it from start to finish, and in the end it does not really help me “ponder and identify objects” when des开发者_StackOverflow社区igning programming work-flows using UML, for example. My understanding and usage of UML is also not so good.
It would be nice if I could learn how to:
- identify requirements from a system analyis point-of-view
- determine an approach to design the object
- create a business model representation using UML
- fill out properties and methods à la PHP
Any ideas or suggestions? Thanks much.
I'm not sure I see what answer you are looking for, but you definitely want to check out Moose, the new Perl OO system.
The Moose manual is a very good tutorial.
精彩评论