Php Overrview
来源:互联网 发布:智能电网通信网络 编辑:程序博客网 时间:2024/05/19 04:28
Php is more simple script language for developing server.
The base refer:
http://www.runoob.com/php/php-datatypes.html
s Maybe you need to learn base data type , class , simple programmer(the programmer with like to javaScript) , but as server develop language , more important is learn that the build server , just like sql , secrity , redis ..
Below list some base programmer with compare to js:
.1 const.
//true is tag php detect lower case and capital default value is true.js const a = 1; = php -> define('a',1,true);
.2 php base data type:
php have seven base data type:
string,integer,float,boolean,array,object,null
.3 php String
you can use “.” stitching many String .
.4 php super global variable that can use anywhere.
$GLOBALS$_SERVER$_REQUEST$_POST$_GET$_FILES$_ENV$_COOKIE$_SESSION
.5 PHP ::
In php use :: call static variable or static method.
.6 Php OOP
php oop as same as java , class , abstract class , extend …
.7 $request
.8 php ajax
php ajax use xhrHttpRequest , you can use jq ajax replace it .
* .4
maybe because php use “.” add String , so when you wanna use some attribute from Object you need by “->”.
In summary:
Php is more simple than java web , and logic as same as javaWeb servelet , if you have developed webserver , you php will be easy for you . Good luck and wish you will enjoy.
The programmer is use all kind of api that operate data , so any language all common .
- Php Overrview
- PHP
- PHP
- php
- php
- PHP
- PHP
- php
- php
- php
- PHP
- php
- php
- php
- PHP
- PHP
- php
- php
- js比较时间
- Elasticsearch在后台启动
- android:descendantFocusability用法简析
- 阿里云服务器:挂载数据盘
- 58 同城 iOS 客户端组件化演变历程
- Php Overrview
- Prime Path POJ
- 浅谈组件之间的通信—EventBus
- Gulpfile.js 详解
- kafka安装配置
- Vue的模板语法
- Linux内核调用设备驱动
- mysql5.7 Yum方式安装
- leetcode 413. Arithmetic Slices(medium)