Yii Framework official guide series 19-use forms: create forms

Writing the login view is very simple. we start with a form mark, and its action attribute should be the URL of the login action described earlier. Then we need... Writing the login view is very simple. we start with a form mark, and its action

Yii Framework official guide series 30-cache: FragmentCaching)

Fragment caching refers to caching a webpage clip. For example, if a page displays the annual sales summary in the table, we can store the table in the cache to reduce the time for each request to be re-generated. To use fragment cache, go to the

Yii Framework official guide series 25-database use: ActiveRecord

Although YiiDAO can process almost any database-related tasks, it is very likely that we spend 90% of the time writing SQL statements that execute common CRUD (create, read, update, and delete) operations. And we... Although Yii DAO can process

Yii Framework official guide series 38-define specific states (Fixtures)

Automatic testing needs to be executed many times. to ensure that the test process can be repeated, we would like to perform the test in some known states. this state is called a specific state. for example, test document creation in a blog

Yii Framework official guide series supplement 39-Test: UnitTesting)

Because the Yii testing framework is built based on PHPUnit, we recommend that you read the PHPUnit document before understanding how to write a unit test. Next we will briefly summarize the basic principles for writing a unit test in Yii: a unit

Yii Framework official guide series 28-cache: overview

apc

Cache is a simple and effective way to improve the performance of Web applications. By storing relatively static data to the cache and retrieving the cache when receiving the request, we save the time required to generate the data. Using cache in

View "recursion" from memory usage of Infinitus classification"

By simple application of recursion in the infinite classification, we can deeply analyze the inherent recursion. In PHP's infinite classification, many of the methods used are recursive, but our understanding of recursion is still vague. next we

Yii Framework official guide series 47-topic: WebService

Webservice is a software system designed to support cross-network access between computers. In a Web application, a set of APIs can be used to access and execute the requested service on a remote host. System host... Web service is a software

Notes about LaravelRoute redirection

This article mainly introduces you to the notes about LaravelRoute redirection. the detailed sample code is provided in this article. if you need it, you can refer to it for reference. let's take a look at it. Problems found Recently, I found a

Yii Framework Official Guide Series 51-topics: Security measures)

1. prevent cross-site scripting attacks (XSS), that is, web applications collect user data from users. Attackers often inject JavaScript, VBScript, ActiveX, HTML, or Flash code into vulnerable web applications to confuse them... 1. prevention of

Php obtains/sets the language for accessing the page.

User‑ageclass gets the page Language set for user access. if the user does not set the access Language, the Accept-Language is read. Display the corresponding page (English, Simplified Chinese, Traditional Chinese) according to the Language selected

Phpzip file content comparison class

PHPzip file comparison class, compares the content of two zip files, returns the add, delete, and the same file list. Currently, only one layer is supported. Php zip file comparison class, compares the content of two zip files, returns the add,

Yii Framework official guide series 44-topics: Theming)

Theming is a system that customizes the appearance of a webpage in a Web application. By adopting a new theme, the overall appearance of Web applications can be changed immediately and dramatically. In Yii, each topic is represented by a directory,

PhpTimer page running time monitoring class

PHPTimer page running time monitoring class, you can monitor different running time according to different keys Php Timer page runtime monitoring class, which can monitor different runtime according to different keys Timer. class. php GetKey ($

Php automatically generates thumbnails based on URLs and handles high concurrency issues

Advantage: The required thumbnails have been generated during the upload, and no judgment is required during reading, reducing the cpu operation. Disadvantage: When the thumbnail size is changed or the new size is added, all the thumbnails need to

Php filters html tag attributes

Ihavesearchformanytimeaboutthisaspect, butthereislittleaboutit, notletussharemyworkaboutdoit. thetheoryaboutdllissimple, buttodoitbyhanditsnotsoeasy.1first, thefile: Php filters html tag attributes HtmlAttributeFilter. class. php Array ('href ',

Phpclickcaptcha verification code class

Currently, most common form verification codes require user input, which is inconvenient for mobile users. If a mobile phone user accesses the website, the verification code can be confirmed by clicking a location, which is much more

PHP single sample mode and factory mode

The Singleton mode refers to the design mode in which the entire application class has only one object instance. Concept of Singleton mode The Singleton mode refers to the design mode in which the entire application class has only one object

Php file Upload category

This article mainly introduces php file Upload classification GetExt ($ filename); return in_array ($ ext, $ this-> allowExt );} /*** check whether the file size exceeds the limit * @ param int size * @ return bool whether the file size exceeds

Php class and constructor analysis

Everyone has some knowledge about classes. here we only introduce the class worth noting in php. everyone has some knowledge about the class. here we only introduce the class worth noting in php. ---- Create a class ---- Php creates a class with

Total Pages: 12780 1 .... 9214 9215 9216 9217 9218 .... 12780 Go to: GO

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.