Ajax parameters in jquery detailed description
Name of parameter
Type
Describe
Url
String
(Default: Current page address) sends the requested address.
Type
String
(Default: "Get"
Selector is a very important concept of CSS learning, today and everyone to share is the use of CSS selectors, together to see it.HTML tag Definition...P {attribute: property value; Property 1: Property value 1}P can be called a selector, defining
CSS centering method is very much, according to the actual situation of the work to adopt the appropriate method, it is desirable to a multiplier effect.Some of the common centering methods are organized as follows:The code is as follows: Front-end
Chrome Frame:Let IE have a chrome heart, looks good, but I did not delve into this thing.Http://www.google.com/chromeframe?hl=zh-CN&quickenable=truehttps://developers.google.com/chrome/chrome-frame/Webkit.netIt's been a while since no one has
Reading configuration parametersAfter setting the configuration parameters, you can use the Get method to read the configuration, for example: echo config: :get ( ' configuration parameter 1 '); The system defines an assistant config , the
Naming conventionsThinkPHP5FollowPSR-2Naming conventions andPSR-4Automatically load specifications, and note the following specifications:Directories and files
Directory does not enforce the specification, hump and lowercase + underline
Thinkphp is based on the MVC (Model-view-controller, model-View-Controller) pattern and supports multilayer (multi-layer) designs.Model LayerThe default model layer is composed of models, but with the increase of the project and complexity of the
thinkphp 5.0 starting with the trait function (php5.4+) as an extension mechanism, it is easy to implement the multiple inheritance problem of a class library.
Traits is a code reuse mechanism that is prepared for PHP-like
Syntax Structure one:Copy CodeThe code is as follows: $ (selector). Data (Name,value)Parameter list:
Parameters
Describe
Name
The stored data name.
Value
Any data that will be stored.
The Math object is used to perform math tasksProperties of the Math object:Methods for the Math object:Common Properties and methods:Math.PI----------------return pi 3.14 ...Math.ceil (x)------------rounding up the value xMath.floor
The environmental requirements of THINKPHP5 are as follows:
PHP >= 5.4.0
PDO PHP Extension
Mbstring PHP Extension
CURL PHP Extension
Strictly speaking, thinkphp does not need the installation process, the installation is
What is the HTTP protocol
Hypertext Transfer Protocol (hypertext Transfer Protocol-HTTP) is a protocol designed to enable clients and servers to communicate smoothly
HTTP works with Request-response protocol (Request-reply protocol)
1, chain-type programmingChained programming Example:. html (' V '). Text (' V ');Note:$ (' div '). html (' Set Value '). Val (' Set value '); This is possible, but $ (' div '). html (). text (); This is not true, because getting the value returns
Dommanip This function has a long history, and has existed since the jquery 1.0 version, until the latest version of jquery. is an elder tool function.The main function of Dommanip is to implement the insertion and substitution of the DOM. Total of
Font stylefont-family Setting the font nameFont-size setting the size of a fontFont-style Setting font style Normal default value. The browser displays a standard font style. The Italic browser displays an italic font style. Oblique The browser will
URL Designthinkphp a 5.0 Typical URL access rule without routing enabled is:
http://serverName/index.php (or Other application entry File)/module/controller/operation/[parameter Name/parameter value ...]
support switching to
OverviewThinkPHP5.0 really implements On-demand loading, all class libraries take the automatic loading mechanism, and support class library mapping and automatic loading of composer class Libraries.The implementation of the automatic loading is
Environment variables are allowed to be configured, and the precedence level is higher than in the configuration file, as the configuration parameter is read first to determine if the configuration exists in the environment Variable.During the
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