first, error and exception handling
1.1 Error types and basic debugging methods?? Error occurrences of PHP programs are generally attributed to the following three areas:
?? Syntax error:?? Syntax errors are most common and easy to fix. such as: A
Draw conclusions from Classname::functionnmae (), instantiation, parent, self
Classname::functionnmae () requires a static method (public mode)
Parent::functionnmae () parent class needs to be static method (public, protected two
Spent several days to study how to use PHP running EXE program under IIS7.5, finally a bit of success, although the operation is successful but a lot of restrictions, such as now only run "pure background" of the program, directly upload the file
0x00 test Environment
Operating system: CentOS6.5 Web server: Nginx1.4.6 PHP Version: Php5.4.26
0x01 Nginx Introduction
Nginx itself cannot handle PHP, it is just a Web server, when the request is received, if it is a PHP request, then sent to
Bundles in the Symfony2
Symfony introduced the concept of bundles in its second edition, and according to my superficial understanding, the bundles here can be seen as an abstraction of the Web service you create. In addition, bundles can also be
A "correction mode" is a matching pattern for a regular expression, similar to a phone's mode (family mode, conferencing mode, and so on):
These include the following:
"Greedy match"-refers to the result when the result of the match is ambiguous
First of all, say something zmq, it's ZEROMQ's initials.
What is ZMQ?This is a socket similar to a series of interfaces, he and the socket is the difference between: the ordinary socket is end-to-end (1:1 relationship), and ZMQ is can be n:m
In order to learn high-performance concurrent server, we intend to study the implementation of Nginx. As it is customary to write a Hello World program at the beginning, the next step is to write a simple HTTP module in the Nginx framework to print "
Focus: In fact, and ordinary a bundle in the same, just the entity address to write all on the line.
Example:
Table Commentone (multi-party)
Table Shopone (one side)
Commentone entity correspondence in Userbundle
Shopone entity
Nginx
as the most popular open source reverse proxy
HTTP Server
, which is used to implement resource caching,
Web Server
load balancing functions, due to its lightweight, high performance, high reliability and other features in
InternetThe project
Long time no blog, in my difficult times, can always find some articles from the online Daniel wrote, solve my problem. Before because of things, are as a request, and then there is time, I will try to write more blog, I encountered the solution of
To work with an Excel table, use the Phpexcel plugin. Since I generally use the CI framework, the CI framework is introduced.
The first thing to do is to introduce Phpexcel files:
$this->load->library (' phpexcel/iofactory '); $this->load->model ('
Accustomed to the use of PHP and MySQL combination, now received the project needs to call the customer offline system software data, with the understanding that the software database is used SQL Server database is often said MSSQL database.
Then
Nginx provides its own atomic operation on a processor that does not support atomic operations, but the atomic operation is simulated using the C language:
Static Ngx_inline Ngx_atomic_uint_tngx_atomic_cmp_set (ngx_atomic_t *lock,
Start of everything: SAPI interface
SAPI (Server application programming Interface) refers to a specific application of PHP programming interface, just like a PC, no matter what operating system installed, as long as the interface specification of
suddenly think of such a function, the user login with a client, the client did the following two things, one is to jump page, return personal information; the second is to return the information to the server, and the server saves the data in the
Pick up an article
3 In-page (in-page) configuration, direct configuration in the interface using CKEditor
In-page configuration
Effect
Features: Configuration items belong to a specific ckeditor instance, not reusable
Comparison of three
With the progress of technology, the field of text messaging has produced three modes in time: BLOCK mode, the text mode based on the AT command, and the PDU mode based on the AT command. The TEXT mode is relatively simple, and a variety of Nokia
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