PHP Name Dictionary

Source: Internet
Author: User
PHP name dictionary what is PHP?
Php is short for Hypertext Preprocessor, and php is a script language embedded with HTML. The unique syntax of PHP is a mixture of new c, java, perl, and PHP syntaxes. The goal of this language is to allow web developers to quickly write dynamic web pages.

What is PHPer?
PHP programmer is a PHP programmer.

What is a mode?
Pattern. It is actually a methodology for solving a certain type of problems. You sum up the methods for solving a certain type of problems to the theoretical level, that is, the mode.

What is a framework?
Framework. In fact, it is a semi-finished product of an application, that is, a group of parts for you to choose to complete your own system. Simply put, you can use a stage set up by others to perform performances. In addition, the framework is generally mature and constantly upgraded software.

What is a template?
PHP templates are developed from Perl templates. Templates can improve the website structure and change the appearance of your entire site in a few seconds; abstract programming without spam HTML code; designers do not need to care about all the "fuzzy" Code; faster running; easier to reuse old templates (for common forms)

What is a CGI user?
CGI is the abbreviation of Common Gateway Interface (Common Gateway Interface). It is an information exchange standard used between a Web host and its external computer program. When writing external programs, you can use any programming language supported by the operating system that runs the Web host.

What is a resource database?
A resource is a special variable that stores a reference to an external resource. Resources are created and used through specialized functions. For all these functions and their corresponding resource types, see The php Manual.

What is a class?
Class is the definition of an object. It contains information about the object action method, including its name, method, attribute, and event. In fact, it is not an object because it does not exist in the memory. When the code of the referenced class is run, a new instance of the class, that is, an object, is created in the memory. Although there is only one class, multiple objects of the same type can be created from this class in the memory.

What is a function?
Functions provide convenience for program designers. during a complex program design, programs are always divided into relatively independent parts based on the functions to be completed, write a function for each part, so that each part is fully independent, the task is single, the program is clear, easy to understand, easy to read, easy to maintain.

What is object-oriented?
Object-Oriented Method (object-oriented Method) is a system Method that applies the object-oriented Method to software development and guides development activities. it is short for the Object-Oriented (OO) Method, is a methodology based on the concept of "object. An object is an encapsulation body composed of data and permitted operations. it directly corresponds to an objective object. an object class defines a group of objects of similar nature. Each inheritance is a way to share attributes and operations of classes with hierarchies. The so-called object-oriented is based on the object concept, object-centered, class and inheritance as the construction mechanism, to understand, understand, portray the objective world and design, and build the corresponding software system.

What is session?
The session is interpreted as the session period in Chinese. A session starts when a user enters a website and ends when he leaves the website.

What is socket?
The so-called socket is also called "socket". it is used to describe the IP address and port and is a communication chain handle. Applications usually send requests to or respond to network requests through "sockets.

What is pecl?
PECL is a PHP Extension library repository through the PEAR packaging system.

What is a variable?
Variables in PHP are represented by a dollar sign followed by the variable name. Variable names are case sensitive.

What is a constant?
A constant is the identifier (name) of a simple value ). As its name implies, this value cannot be changed during script execution (except for so-called magic constants, they are actually not constants ). Constants are case sensitive by default. By convention, constant identifiers are always capitalized.

What is a super global variable?
A constant is the identifier (name) of a simple value ). As its name implies, this value cannot be changed during script execution (except for so-called magic constants, they are actually not constants ). Constants are case sensitive by default. By convention, constant identifiers are always capitalized.

What is reference?
Referencing in PHP means accessing the same variable content with different names. This is not like the pointer of C. Instead, the reference is the alias of the symbol table. Note that in PHP, the variable name and variable content are different, so the same content can have different names. The closest analogy is the Unix file name and the file itself-the variable name is a directory entry, while the variable content is the file itself. A reference can be considered as a hardlink in a Unix file system.

What is serialization?
PHP does not support permanent objects. in OOP, permanent objects are objects that can maintain the state and function in the references of multiple applications, this means that you have the ability to save objects to a file or database and can load objects later. This is the so-called serialization mechanism. PHP has a serialization method, which can be called through an object. the serialization method can return the string representation of an object. However, serialization only saves the member data of the object without the package method.

What is a constructor?
Constructor is a special function in a class. when you use the new operator to create an instance of a class, the constructor will automatically call it. When the function and the class name are the same, this function will become a constructor. If a class has no constructor, the base class constructor is called, if any.

What is destructor?
PHP 5 introduces the concept of destructor, which is similar to other object-oriented languages, such as C ++. The Destructor is executed when all references to an object are deleted or when the object is explicitly destroyed.

What is Cookie?
Cookie is a mechanism for storing data in a remote browser and tracking and identifying users. You can use the setcookie () or setrawcookie () function to set the cookie. Cookie is a part of the HTTP header. Therefore, the setcookie () function must be called before other information is output to the browser. This is similar to the limitation on the header () function. You can use the output buffer function to delay the script output until all cookies or other HTTP headers are set as needed.

What are LAMP and WAMP?
LAMP is an open resource network development platform based on Linux, Apache, MySQL, and PHP. PHP is a programming language that is sometimes replaced by Perl or Python. This term comes from Europe, where these programs are often used to assemble and sometimes serve as a standard development environment. The name comes from the first region of each program. Each program complies with open resource standards in its ownership. Linux is an open system, Apache is the most common network server, and mySQL is a relational database with an additional network management tool; PHP is a popular object scripting language. it contains excellent features of most other languages to make network development more effective. In Windows, developers use the tools in these Linux environments as WAMP.

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.