Composer installation, composer
Install Composer via Composer Mirror
Make sure that PHP is installed correctly.
Partial installation
A partial installation is to install composer under the current directory (such as installing to the project root),
Annotation specification, code comment specification
@access
Scope of Use: Class,function,var,define,module
The tag is used to indicate access rights for the keyword: private, public, or proteced
@author
Specify the author
@copyright
Scope of Use:
Case analysis of Carraydataprovider and Cactivedataprovider differences in Yii, Carraydataprovider
This paper describes the differences between Carraydataprovider and Cactivedataprovider in Yii. Share to everyone for your reference, as follows:
1,
Implementing the PHP Framework series article (6) MySQL database method,
Issues to consider in implementing a MySQL database encapsulation
1. Ease of Use
Use direct SQL statement operations. As long as the SQL statements are written, there will be
PHP Object-oriented Programming, PHP object-oriented
The basic principles of object-oriented programming:
Single duty: A class, only need to do a good thing
Open closure: A class that should be extensible, not modifiable
Dependency
thinkphp use smarty third-party plug-in method summary, Thinkphpsmarty
The examples in this article describe how thinkphp uses smarty third-party plug-ins. Share to everyone for your reference, as follows:
If you do not want to use the thinkphp
Those years studying together PHP (a), Learning PHP (
PHP, is the abbreviation of English Super Text preprocessing language hypertext preprocessor. PHP is an HTML embedded language, is a server-side implementation of embedded HTML document
Update PHP to 5.3 tutorial WDCP environment, wdcp5.3
In the current version of Lanmp/wdcp/wdos, the default PHP is the 5.2.17 versionIf you need to upgrade to php5.3, you can use the following script to upgrade( Note: This upgrade is not a security
PHP mysql\mysqli\pdo (i) mysql,mysqlipdo
Original link: http://www.orlion.ga/1140/
Work in the database operations are encapsulated, these how to use quickly forget to simply write a blog review, and later if you forget to read this article.
PHP 5.
YII2 related learning records, customizing the GII template and referencing JS, CSS (iv) in vendor, Yii2gii
The background template framework above is already set up, but it's still somewhat uncoordinated, like there are two user titles, or we want
PHP CI Gets the code for multiple INPUT element values with the same name in the form, ciinput
Sometimes the foreground page allows you to dynamically add/Remove multiple values for an attribute, such as adding a book to a bookshelf, to dynamically
File cache, PHP file cache
Not much to say, look at the code
head.php
Phpdefine ('Cache_expire',1800); Set expiration time define ('Cache_path', $_server['Document_root'].'/cache/'); Set the cache directory define ('Refresh_expire',Ten); Is_dir
Composer installation of Yii framework using composer installation of Yii framework
The examples in this article describe the method of installing the Yii framework using composer. Share to everyone for your reference, as follows:
It is now popular
The processing method of the null-participating operation of PostgreSQL null value
When a value of a field is null (NULL) in a numeric subtraction operation, the result of the output tends to disappoint us, not getting the value we expect, and we
PHP creates the file and writes the data to the file, overwriting, appending the implementation code,
Create a file we use the function
fopen (string filename, string mode)parameter filename to create file nameParameter mode for how to open file
PHP Programmer's technical Growth plan, PHP programmer planning
According to many PHP/LNMP programmer's development trajectory, combined with personal experience, abstract a lot of programmers on the future of the mist, especially the blind and
Too many questions about the session file in PHP,
PHP default mechanism: Every PHP request, there will be a 1/100 probability (the default) trigger "session recycling." If "Session recycling" occurs, then the/tmp/sess_* file is checked, and if the
Introduction to PHP Extension development, Getting started with PHP extensions
Original:http://www.orlion.ga/1090/
Write one of the simplest functions to capitalize all the strings:
Now we are developing a PHP extension that implements
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