Verification Solution of vuelidate for vueJs2.0

introduce In back-end projects like our Laravel framework, we have our own validation mechanism for form validation, which integrates validation into FormRequest. We just need to rely on injecting our own instantiated validation classes into our methods, and of course we can also directly validate form data in our methods. And in our front-end ...

Posted on Thu, 11 Apr 2019 22:00:31 -0400 by seanmayhew

Performance Analysis of PHP Magic Function

Preface I remember that Brother Laruence mentioned that "magic method" was not recommended. Since then, when it comes to the use of magic method, I will subconsciously think about it. Is it really good to write this way? Since I have been busy working and learning new knowledge for one to two years, I have been in a daze without furth ...

Posted on Thu, 11 Apr 2019 19:24:31 -0400 by lucifer27

Understanding and Introduction of PHP Closure

Having read many explanations about closures in PHP, each document has roughly the same meaning, but it's hard to understand. I describe them according to my own understanding and have a better understanding, please point out. As we all know, the closure of PHP is function () use () {}; This paper is divided into three steps.1: Explain the use ...

Posted on Thu, 11 Apr 2019 17:27:31 -0400 by webent

Comparison of native session and session in redis

I read an interview article shortly after graduation. The link of the article was not clear. I mentioned the storage mode of session on the server. I emphasized that native session is stored in the form of file on the server. So it has some shortcomings on disk io. Then the article specifically mentions that it is not recommended to put sessio ...

Posted on Thu, 11 Apr 2019 01:42:31 -0400 by runthis

Custom configuration of datatable - Output result & Sort & Jump to specified page number

Custom Output Results My needs: We all know that data tables are returned in columns after querying data, but sometimes we use the tables of data tables, but we do not need to display data by columns. What I want to achieve is to query data by columns from the database when querying data, but when displaying data on the page, display many ...

Posted on Wed, 10 Apr 2019 16:00:30 -0400 by met0555

Zabbix 3.2 Installation Notes

I. Installation of Virtual Machines Virtual Machine Configuration: 1 Core 2G, 20G Hard Disk Service packages selected at installation: Select base, large systems performance, legacy unix compatibility in base system Select mysql database client, mysql database server in database desktops full selection Select Chinese support in language ...

Posted on Tue, 09 Apr 2019 21:57:32 -0400 by macpaul

Deep Understanding of Part 2 of the ajax Series - Form Submission

Front words In the past, the main way for users of websites to interact with the backend was through the use of HTML forms. Forms were introduced in 1993, because of their simplicity and ease of use, until the advent of e-commerce has maintained an important position. Understanding form submission is good for a deeper understanding of ajax. Th ...

Posted on Tue, 09 Apr 2019 01:39:32 -0400 by Anthony_john5

Date and Time of Front-end PHP Learning

Front words Time plays an important role in the development of Web programs. It is not only the participation of date and time in data storage and display, but also the development of many functional modules. Page static needs to determine the cache time, page access time needs to be calculated, according to different periods of time to provid ...

Posted on Tue, 09 Apr 2019 00:18:31 -0400 by peter11

Use examples of pdo classes

stay PHP In the development process, mysql or mysqli are the most commonly used database connection methods. stay PHP5 It has already begun to exist. PDO Yes, it is said that in the next version of PHP 6, PDO It will be used as the default database linking tool. Whether it is true or not, PDO will be used as another way to connect database in ...

Posted on Sun, 07 Apr 2019 23:54:31 -0400 by barbs75

Basic knowledge of PHP (2)

PHP String First, let's distinguish the following two strings: echo "hello"."world"; echo "hello","world"; Note: Here the first one is a string, and the second one is two strings. String lookup strpos(); command Usage: strpos (string to be manipulated, character to be searched) returns the location of the character to be searched ...

Posted on Sun, 07 Apr 2019 23:24:31 -0400 by dennyx