PHP 中的对象建模
我已经成为一名过程程序员很长时间了,并且我已经开始专门从事面向对象的 PHP 工作,并且在较小程度上开始使用 Perl。
我的查询涉及对象建模的最佳方法和基本技能,并考虑到上面提到的两种语言。我在那里找到的大多数书籍都涉及我对 Java 不感兴趣或没有经验的语言,我真的很想知道是否有人正在阅读一本,或者是否知道正在编写的一本。
我找到了面向对象的PHP这本书并开始阅读它,但是你必须从头到尾阅读它,并且例如,在使用 UML 设计编程工作流程时,它最终并不能真正帮助我“思考和识别对象”。我对UML的理解和使用也不是很好。
如果我能够学习如何:
- 从系统分析的角度确定需求
- 确定设计对象的方法
- 使用 UML 创建业务模型表示
- 填写 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 designing 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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我不确定我是否看到您正在寻找的答案,但您肯定想查看 Moose,新的 Perl OO 系统< /a>.
Moose 手册是一个非常好的教程。
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.