not exist============================================================================A quick instantiation of the Action class libraryB Execution Behavior ClassC Configuration Parameter access methodD Fast instantiation of the Model class libraryF Fast and simple text data access methodL Language Parameter access methodM fast High performance instantiation modelR quickly remotely invoke the Action class methods Fast Cache access methodU URL dynamic Generation and redirection methodW Fast Widget
What's an object?
Object=entity
Objects=attributes+services
Data:the Properties or Status
Mapping
From the problem space to the solution one.
C + + version:1 classpoint3d{2 3 Public:4 5Point3D (floatXfloatYfloatz);6 7 print ();8 9 Private:Ten One floatx; A - floaty; - the floatZ; - - }; - +Point3D A (1,2,3); - +A.print ();
What is the essence of self and parent in PHP object-oriented systems? For the moment, I think self is a constant that represents the essence of self and parent in the PHP object-oriented class name? For the moment, self is a cons
Object-Oriented Design UML practices:"An analysis model is different from a design model. It does not involve developing any characteristics of the system, but aims to capture some aspects and features of the business in the" real world.Generally, the analysis model describes the data processed in the application and various processes of data processing. In traditional analysis methods, these models are rep
When writing js scripts in object-oriented mode, there are two methods to define an instance:
As follows:
Function ListCommon2 (afirst) {var first = afirst; this. do1 = function () {alert ("first do" + first) ;}} ListCommon2.prototype. do2 = function () {// alert ("first do" + first); // an error occurs and you cannot access firstthis. do1 ();}
This. do1 = function () and ListCommon2.prototype. do2 = function ()
New is a frequently used keyword.
Here we only describe the role of the new object () type.
Others are not involved at the moment,
The content in this article is also relatively simple, and some common procedures are listed.
1. When accessing an assembly for the first time (the corresponding program will be loaded, for example, the new
S [0] What is the bottom? (S is a jQuery object) code:
Var s = $ ("p ");
Alert (s. length );
Alert (s [0]);
JQuery objects all have a 0 index by default,
S is the jQuery object
S [0] i
Once a string is assigned or instantiated, it cannot be changed, and if a new value is given it will reopen the memory address for storage.While the StringBuffer class uses methods such as append and insert to change the string value, it simply makes continuous operations on the memory address stored by the original object, reducing the cost of the resource.If yo
overloading : Overloads must be in the same class, with a set of methods with the same name and function similar, but with different parameters.rewrite : In a parent-child class, a subclass has a method with the same name, the same parameter, and the same return type as the parent class, which can change the behavior of the parent class. The parent class plus the keyword virtual virtual method (in order to rewrite the parent class method in the subclass), the subclass to add the keyword override
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.