JSON of serialization and deserialization
To transfer objects between different programming languages, you need to serialize them into a standard format, such as XML But a better way is to serialize it into JSON, because JSON represents a string that can be read by all languages, stored on disk or transmitted over the network easily JSON is not only standard format, but also faster tha ...
Posted by marty_arl on Fri, 06 Dec 2019 15:27:24 -0800
Using PHPExcel to parse Excel tables
Install class library
Download PHPExcel class library from GitHub
Address: https://github.com/PHPOffice/PHPExcel
After unzipping, move the Classes folder to the extend directory of ThinkPHP and rename it phpexcel
Add references where needed in the project
import('phpexcel.PHPExcel', EXTEND_PATH);
code implementation
<?php
namespace app\ind ...
Posted by tlawless on Fri, 06 Dec 2019 12:37:45 -0800
Zephir for PHP extension development
If you often pay attention to the PHP framework falcon, you should know that the team of Falcon has developed a high-level language for better development of falcon—— Zephir.
Zephir, an open source high-level language, aims to simplify the creation and maintainability of PHP extensions, focusing on type and memory secu ...
Posted by nvidia on Fri, 06 Dec 2019 12:24:58 -0800
Alipay small program crawl Road [1]
Alipay creates personal identity
[if you want to become a small program administrator of the company's project, do not become = = self-developed developer = =]
It can't be set
The cache mechanism of Alipay
setStorageSync [Set local storage]
my.setStorageSync({
key: 'park_id',
data: {
park_id: 1,
}
});
======== ...
Posted by biznickman on Fri, 06 Dec 2019 12:14:01 -0800
Use python to analyze funds! Make money to win in the starting line!
You don't manage money, money doesn't care about you! Can python help you with your finances?
Effect preview
Trend chart of cumulative yield
Basic information results
How to use:
Python 3 + some third-party libraries
import requests
import pandas
import numpy
import matplotlib
import lxml
Configure config.json. Code to configure the fund cod ...
Posted by fingerprn on Fri, 06 Dec 2019 05:31:52 -0800
Learning record remote call (HttpClient,RestTemplate, integrate custom connection pool, integrate SpringBoot test class)
Remote call
1. overview
One project wants to call the functionality of another
"User management system" calls "commodity management system",
We call it "remote call". At this time, "user management system" is equivalent to simulating "browser".
2. Call mode
RPC: the remote call mode of c ...
Posted by callmubashar on Fri, 06 Dec 2019 04:33:48 -0800
New functions | MySQL 8.0 multi valued indexes
As the name implies, multiple secondary index entries can be created for the same Primary key in the index. In fact, the basic functions of array type have been supported, and the secondary index is built based on array. This means that the number of records in the secondary index can be more than the number of records in the clustered index, s ...
Posted by jaret on Fri, 06 Dec 2019 01:35:55 -0800
Element input box with history query record
Requirement description
Add the query box on the page to display the history search record
Realization and pit record
Use the Element input box with input suggestions to achieve this requirement. Usage details Official website
1. Pit 1: cannot return array directly in querySearch, must call callback function cb to process data
Take a look at t ...
Posted by Concat on Fri, 06 Dec 2019 00:26:58 -0800
Introduction guide to spring cloud boot RocketMQ
MAVEN Configuration
Producer Configuration
application.yml Configuration
application.properties configuration
Define Output Binding
Turn on Binding (turn on MQ)
send message
Consumer Configuration
application.yml Configuration
Define Input Binding
Turn on Binding (turn on MQ)
Accept message
...
Posted by will83 on Fri, 06 Dec 2019 00:08:23 -0800
What exactly is AFNetworking like
AFNetworking is a well-known tripartite library for the iOS world and has completely replaced ASI.The latest AFNetworking3.0 has also been switched from NSURLConnection to NSURLSession for ease of use.As an experienced iOSer who is constantly exploring, you should also look at the internal merits of source enhancement.
1. Overview
First, look ...
Posted by Najjar on Thu, 05 Dec 2019 18:46:01 -0800