Basic knowledge Sharing: Php Basics Learn

Source: Internet
Author: User
Tags php basics
What is PHP?

PHP is an abbreviation for hypertextpreprocessor, and the PHP scripting language is an embedded HTML. PHP syntax is a unique mix of the C, Java, Perl, and PHP types of the new syntax. The purpose of this language is to allow web developers to quickly write * * pages.

What is PHP?

Phpprogrammer means writing PHP programmers

What is a model?

mode, that is, mode. is one way to solve the problem. You put the method to the conclusion of some sort of problem, the theoretical level, which is the model.

What is a framework?

Frame, the framework. Some of the semi-finished applications are a set of components that you can choose to complete your own system. To put it simply is to use someone else's good stage. In addition, it is generally a mature framework that constantly upgrades the software.

What is a template?

PHP templates since the development of the Perl template. Templates, can improve the structure of the site, can change the appearance of the entire site in a few seconds, abstract design, no garbage HTML code, designers do not need to care about all the fuzzy code, run faster, easier to reuse the old template (normal form and)

What is a user of CGI?

Commongatewayinterface CGI (Public Gateway Interface), abbreviated web host and external computer programs are used by a standard of information exchange. When writing an external program can be used to perform a web host operating system supported by any one of the programming languages.

What is a resource database?

A resource is a special variable that is saved to a reference to an external resource. Resources are set up and used through specialized functions. See the PHP Manual for all of these features and the appropriate resource types.

What is a class?

A class is the definition of an object. It contains information about the object's motion pattern, including its name, method, properties, and events. In fact, it is not an object itself, because it does not exist in memory. When the code runs a new instance of a reference class class, or an object, it is created in memory. Although there is only one class, it can create multiple objects of the same type in memory from this class.

What are the features?

The function provides a handy programmer, usually in a complex program design, always according to the function complete, the program is divided into some relatively independent parts, each part writes a function, so that each completely independent part, single task, program clear, simple, easy to read, easy to maintain.

What is object-oriented?

Object-oriented method (Object-Orientedmethod) is an object-oriented idea used in the software development process, guiding the development activities of the system approach, hereinafter referred to as OO (object-oriented) method, the concept of object-based methods. Objects are made up of data and allowed action scenarios, and are directly related to objective entities, similar to each class that defines an object property for a set of objects. And a way to share the properties and operations of each inherited hierarchy class. The so-called object-oriented concept, object-centric, class and inheritance mechanism structure, knowledge, understanding and description of the objective world and design, build the corresponding software system.

What is a session?

The session is interpreted as a session in China. The session period begins when the user enters a URL for a website to leave the scene.

What is a socket?

sockets, commonly referred to as sockets, are used to describe the IP address and port, which is a communication chain processing. An application typically requests or responds to a network request through a socket.

What is PECL?

PECL is a warehouse packaging system via pear PHP extension library.

What is a variable?

In PHP variables with variable names and a dollar sign. Variable names are case-sensitive.

What is a constant?

A constant is a simple identifier (the name). As the name implies, this value can be changed during script execution (in addition to the so-called magic constants, they are not actually constants). Constant is case-sensitive by default. Constant identifiers are always capitalized in accordance with practice.

What are global variables?

A constant is a simple identifier (the name). As the name implies, this value can be changed during script execution (in addition to the so-called magic constants, they are not actually constants). Constant is case-sensitive by default. Constant identifiers are always capitalized in accordance with practice.


  • 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.