Monday, September 27, 2010

Object-oriented programming concepts and guidelines



Object-Oriented Programming (OPP) is a programming language model, it is organized around "objects", rather than around the "behavior"; around the data, rather than logic. In the past, a program seen as a logical process to receive input on the input value processing, and then produce an output value. How to write program logic be regarded as challenges, rather than how to define the data. Object-oriented programming with the view that we are really concerned about is to operate the object, not the object of logic operation. Include a range of objects, ranging from human (with name, address, description, etc.), down to the building and the floor (all the attributes to describe and manage the objects, or even your computer desktop widgets (such as buttons and scroll bars) .

OOP in the first step is to define the action you want all the objects and how to establish links between them, the most common application is data modeling. Once you define an object, you use an object class to summarize it (imagine Plato's "ideal state" concept, the chair on behalf of all the chairs, which means that each class of things has its common characteristics), define it contains data type and any logic to operate its program. The logic of each different procedure is considered a method. Real instance of a class is called (it was no surprise) an "object", or in some environments is called an "instance of the class." Object or class instance is what you want to run on your computer. It means providing computer instructions to provide the corresponding data object properties. You and the object communication - the object were to communicate with each other - with clearly defined interfaces called messages.

Object-oriented programming concepts and criteria used to bring the following important benefits:

The concept of data type definition of data objects makes it possible subclasses, which subclasses can share some or all of the parent class attributes. As inheritance, OOP, this feature increased the thoroughness of data analysis, reduce development time and improve coding accuracy.

As a class only defines the data it needs to involve, as an instance of the class (an object) at run time, the code will not accidentally access other program data. The data hiding features to enhance the system security and data to avoid unintentional contamination.

The definition of a class is not only the initial re-create its procedures, and by other process-oriented reuse (in view of this reason, the network distributed applications much easier)

The concept of data classes allows a programmer to create any of the language has not yet been detailed in the new data types. The first one object-oriented computer language called Smalltalk. C + + and Java is now the most popular object-oriented language. Java programming language to corporate network and the Internet specifically designed for distributed applications.







Recommended links:



Hopson Zhu Meng v. United States, according to the country involved?



Across threads in C # Winform control access



guangzhou 2010 asian games winning software



DVR-MS To MPEG



QuickTime to MPEG



MKV To Xbox 360



Find driving force BEHIND IPv6



Improvement of the current financial report



Articles about CATALOGING



Recommend Audio Players



Easy to use Mathematics Education



Epson ink cartridge patent new alternative to the situation of domestic supplies of unknown



Third Eye training



Top SHELL Tools



Zhou Chengyu Court hematemesis: die in the end to fight a lawsuit



Thunder has more than 100 million users targeting NASDAQ



Thursday, September 16, 2010

Gartner: Mac OS bad luck into the next start spyware threat


According to the "Computer World" reported Symantec warned that because OS X operating system will quickly become the target of hackers and viruses, causing uproar in the Mac world, after just over one week, Gartner reliant on the Mac to prevent "rampant spyware "enterprise
Issued a warning.

Garnter Dataquest vice president Martin Reynolds said recently that, despite the Mac user base is relatively small, but as long as there is a vulnerability exploit could cause trouble. Reynolds wrote in a research report: "Macintosh user group is relatively small, in the current system, only about 3% of the running Mac OS. Mac OS is a more difficult targets. However, if there is a weakness to be use can cause problems. "he added, not only for Mac worm that spreads very rapidly, but may also prepare a further attack not only attack Microsoft's Windows operating system, Mac mix of worms.

Reynolds said: "If an infected Macintosh attempts to spread a worm, 97% chance it encountered a resistance to worm propagation system. Both Mac OS and Microsoft Windows-oriented worms could be developed, but such an attack more difficult to organize. "

He was concerned with Mac OS as the target of spyware may record widely before its foothold.

Reynolds said: "Despite the Mac platform today, almost non-existent spyware, but spyware problems may occur. Spyware can hide deeper in the system, becoming both harder to detect and harder to remove. Do not assume that your Macintosh systems are immune viruses and other malicious code. "





Recommended links:



Jinshan Jinshan Nu Pi Typing Through Repeated Fake "Li Gui," Poisonous Pit Users



FIREWALL And Proxy Servers comments



Using a password reset disk recover lost XP passwords



Convert Mpg To Ipod



E-cology in the Pan Micro Series 27



"Jingdong model" kept short board



Recommend Source Editors



mkv



VC ENVIRONMENT created in the symbian build EXE project questions



Convert .flac to .mp3



GUIDE Cursors And Fonts



BI, in the M & A growth?



Quicktime mkv



Kabbah: Careful Tuxedo (Tux)!



Directory Dial Up And Connection Tools



Details determine success or failure: Lean Manufacturing (6)