8.5 Study Notes

1. Object Oriented

 

Object-oriented: a class obtained by the function package

Nature or function of a class: Remarks

1. Each class (function) has a natural property of a prototype, this prototype is an object

This object has a constructor (the constructor) is a class attribute value of the attribute itself

  

  1. All of our new class, when in fact it is to call the constructor, the constructor is private property, constructor of this is an instance of an object,

 

  1. On each object has a natural __proto__, point to the class prototype

 

 

 

Prototype and __proto__

  1. prototype is a class or function, the __proto__ is subject
  2. Prototype is a storage mechanism for programmers to implement, __proto__ is to find the mechanism (a browser)

Zhangsan.name

zhangsan this object first look at the name is private it is the direct use not just by __proto__ to its class prototype the look, there are the direct use not just keep looking up, until you find the base class Object no is undefined   there is direct using this lookup mechanism called the prototype chain

 

Special Function

  1. class
  2. function
  3. Objects
  4. Each object is born with a return value, return what is is, what if no return is undefined

 

Dos command

  1. Window open command  window + r input cmd
  2. In the corresponding file hold down the shift right-click the mouse to find the open command window here

 

instruction

  1. View network information command ipconfig
  2. Terminal modification instruction background and color Color help view the color configuration Color 5 representative of the background color of the terminal   6 on behalf of font color,
  3. Create a folder md

   md folder name md aa

  1. Edit folder command ren oldaname newname ren aa dd
  2. Cls clear the current terminal
  3. Ctrl + c to terminate the current program
  4. Cd into the folder command cd name
  5. cd .. go back one level
  6. dir   view the current file and folder directory
  7. Del   Delete files can only delete files can not be deleted folders
  8. Rd   delete folders command
  9. Tab   retrieves the corresponding file
  10. A copy instruction ↑

 

Installation phpstudy Integrated Development Environment

Network address structure

\https://www.baidu.com/

A network address: there is an agreement http / https + domain www.baidu.com/172.16.26.59+ port ( 80 can save)

http//127.0.0.1:8088

 

 

Why you do not need to install front-end environment?

For html css js browser runtime environment give these things can be run directly in the browser but would not be such a background language: PHP the Java Python , etc. will not work is because the browser is not their environment have to install the corresponding operating environment 

 

http://127.0.0.1:8088/8.5/index.html?name=zhang#aa

 

/ Call path path? Query parameter # hash value

 

Guess you like

Origin www.cnblogs.com/ymlo/p/11305079.html
8.5