What is the real OOP?

iheshi 2004-03-10 09:18:30
看了一段时间的JAVA了(Think in Java)。语法、一些常识性的东西已经了解了。
自己也写了一些小的练习的小程序,可是到了现在,我还是没有真正了解OOP的思想。

OOP的思想就是:
世间万物都是对象。Reference是控制对象的钥匙。然后是堆和栈。

那么,再进一层呢?
...全文
29 7 打赏 收藏 转发到动态 举报
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
AdvancED ActionScript 3.0: Design Patterns AdvancED ActionScript 3.0 is a fresh look and new approach to utilizing valuable, structural techniques and methods that are commonly used in the field of rich interactive application development. With each method broken down into different strategized explanations, you’ll find the approach most suitable for you. Whether it is an example you can utilize as-is, or one you can start with and develop further, you will have a glossary of definitions and organizational concepts at your fingertips. Object-oriented programming (OOP) and design patterns are not new to the field, but can often be overlooked in their value. They are, at times, not only overwhelming to learn, but difficult to put into practice. However, they are useful because they create a structure that can be broken down, rebuilt, and reused. Provides the building blocks required for the implementation of OOP Addresses problems and concerns regarding OOP Offers solutions on how to approach and utilize OOP What you’ll learn Understand the benefits of OOP How to structure code Explore new techniques Recognize patterns used by professionals in the field Feel more confident about using OOP in your development Think of coding in a new light Who this book is for AdvancED ActionScript 3.0 is for Flash and/or Flex developers seeking a better understanding of object-oriented programming and the knowledge to utilize it in a manner practical to the language itself. 目录 Summary of Contents Object-Oriented Programming: What it is & What it isn’t Design Patterns The Basics Coding Styles Decision Making and Planning Review/Quiz Get Real Architecture and Principles Frequently Used Patterns Structural Patterns Behavioral Patterns Creational Patterns 关于作者 About the Author Ben Smith is an accomplished Flash developer with years of experience creating advanced rich Internet applications (RIAs) for well-known digital agencies. He has contributed articles to both InsideRIA and the Adobe developer community. Ben began his career in Connecticut, but spent several years working in New York before he moved to Florida, where he currently resides. He is passionate about higher learning, which he believes comes from experimentation and experience. With more than 10,000 hours of experience with Flash, he does not consider himself a master of Flash, but a student of what Flash required him to know.
Programming in the modular manner is always encouraged for bigger systems―it is easier to achieve scalability with modular programming. Even JavaScript developers are now interested in building programs in a modular pattern. Modules help people who aren’t yet familiar with code to find what they are looking for and also makes it easier for programmers to keep things that are related close together. Designing and implementing applications in a modular manner is highly encouraged and desirable in both simple and enterprise level applications. This book covers some real-life examples of modules and how we can translate that into our world of programming and application design. After getting an overview of JavaScript object-oriented programming (OOP) concepts and their practical usage, you should be able to write your own object definitions using the module pattern. You will then learn to design and augment modules and will explore the concepts of cloning, inheritance, sub-modules, and code extensibility. You will also learn about SandBoxing, application design, and architecture based on modular design concepts. Become familiar with AMD and CommonJS utilities. By the end of the book, you will be able to build spectacular modular applications in JavaScript. What You Will Learn Understand the important concepts of OOP in JavaScript, such as scope, objects, inheritance, event delegation, and more Find out how the module design pattern is used in OOP in JavaScript Design and augment modules using both tight augmentation and loose augmentation Extend the capabilities of modules by creating sub-modules using techniques such as cloning and inheritance Move from isolated module pieces to a cohesive, well integrated application modules that can interact and work together without being tightly coupled See how SandBoxing is used to create a medium for all the modules to talk to each other as well as to the core Use the concepts of modular application design to handle dependencies and load modules asynchronously Become familiar with AMD and CommonJS utilities and discover what the future of JavaScript holds for modular programming and architecture

62,614

社区成员

发帖
与我相关
我的任务
社区描述
Java 2 Standard Edition
社区管理员
  • Java SE
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧