Zepto source code learning

Recently, I started to learn Zepto source code, share it and learn together. Front end newcomer, poor technology, forgive me a lotReference gitbook addressThank you for your contribution The css selector zepto.qsa of zepto As we all know, most of the time, we use $to get DOM objects, which has a lot to do with zepto.qsa. Get selector[0] If hand ...

Posted on Fri, 08 Nov 2019 09:05:09 -0500 by dancer

The way of real server rendering 04 - redux-01

All the source code, documents and pictures are in the warehouse of github, Click to enter the warehouse Related reading React server rendering road 01 - project infrastructure construction The way of React server rendering 02: the simplest server rendering The rendering road of React server 03 - route The way of real server rendering 04 - red ...

Posted on Fri, 08 Nov 2019 05:11:52 -0500 by jasonmills58

Login function of Vue cli3+Mongodb+express

My project is Vue Cli3+Electron+Antd+Mongodb+express Mongodb and Studio 3T are downloaded and installed.Specific can be Google or Baidu.Then start Mongodb Then open Studio 3T, connect to the database port, right-click to create a new database. The new database I create here is login.user is your own newly created data collection, roughly as fol ...

Posted on Thu, 07 Nov 2019 22:42:00 -0500 by cirene

Front-end technology: how to execute methods in the UI after vuex state management action asynchronous call ends

1. Origin of the problem Recently, when working on the vue.js project, we encountered the problem of communication and interoperability between vuex state management action and vue.js method.The scene is as follows: 2. First Solution For example, when we initialize a page, we need to get data from the server through the API interface. Before th ...

Posted on Thu, 07 Nov 2019 19:11:46 -0500 by snaack

Django xadmin rich text ueditor edit configuration and solve the problem of not displaying pictures

Download DjangoUeditor first: https://github.com/twz915/DjangoUeditor3 Install DjangoUeditor This is to go to the official website to download and install, but it is not compatible with python3 pip install DjangoUeditor Here you choose to download the source code for installation, consider compatibility, enter the c ...

Posted on Thu, 07 Nov 2019 16:10:04 -0500 by deRusett

js object-oriented design pattern inheritance

//Class inheritance // function Father(){ // this.fartherValue = true; // } // Father.prototype.getFartherValue = function () { // return this.fartherValue; // } // function Child(){ // this.childValue = false; // } // Child.prototype = new Father(); // Child.prototype.getChildValue = function(){ // r ...

Posted on Thu, 07 Nov 2019 10:46:46 -0500 by brett

Phpstorm Establishes a database to connect to Wampserver

Phpstorm is a php integrated development environment software, which integrates many functions, including powerful code editing and debugging, as well as connecting to databases.This paper is about how to use phpstorm to build a wampserver database to access the output data for our development. 1. New Database Method 1: Click on the g ...

Posted on Thu, 07 Nov 2019 09:54:41 -0500 by JohnResig

ReactNative[0.60.5] start process of source code parsing (Android)

It's nearly two years since contacting RN development, during which 5 or 6 apps have been developed, and the version of react native is also in rapid iteration. Today, start again, analyze the app startup process from the source code, and the resolution is based on Rn version 0.60.5. Before the start Before starting the analysis, create a new e ...

Posted on Thu, 07 Nov 2019 06:11:17 -0500 by slpctrl

Forged form data part of form builder random vehicle license plate

A few days ago, I recorded the mongodb part of the form data storage structure of the form builder, and then I wanted to forge some data. Why forge data? It's a shame to say that the PC and mobile end of the drag and drop design form and the list corresponding to the form should display which fields and whether they support the search and print ...

Posted on Wed, 06 Nov 2019 23:42:34 -0500 by bow-viper1

Those js that are often used but are not easy to write in the background -- multiple box event

jquery implementation Import jquery file // Online introduction <script src="http://ajax.aspnetcdn.com/ajax/jquery/jquery-2.1.4.min.js" type="text/javascript"></script> html code <div style='width:300px;height:50px;margin-left:300px;margin-right:auto;'> <label>Checkbox: </label> <input type="checkbox" n ...

Posted on Wed, 06 Nov 2019 17:23:34 -0500 by GBahle