Wechat applet + php authorized login, complete code

First map          Implementation process: 1. The authorized login button and the body information are placed on the same page. The login button is displayed when the user is not authorized, the login button is hidden when the user is authorized, and the body information is displayed. Of course, the authorization and the body can be separat ...

Posted by Dixen on Tue, 12 Nov 2019 23:52:35 -0800

15. Spring MVC for json interaction

Spring MVC for json interaction json data format is commonly used in interface calls and html pages. json format is simple and easy to parse. Request json, output json. It is not convenient for the front page to convert the requested content into json. Request key/value and output json. This method is commonly used. Environmental preparation ...

Posted by jpraj on Tue, 12 Nov 2019 06:16:30 -0800

vue ssr server-side rendering - preliminary development environment construction

vue ssr server-side rendering: the construction of development environment for beginners Preface By default, you have understood the basic content and implementation of ssr. If you are not familiar with it, you can read it first vue ssr server rendering There are not many articles about the construction of ssr development environment on the Int ...

Posted by Fastback_68 on Tue, 12 Nov 2019 02:22:00 -0800

Introduction to cloud development of applets demo

I. premise preparation 1. Open wechat web developer tool; 2. Create a project and select cloud development; 3. Click cloud development side by side with simulator, editor and compiler to open cloud development console; 4. Click to open for the first time, and create an environment after opening; 5. Select the cloudfunctions fo ...

Posted by blackwidow on Mon, 11 Nov 2019 15:31:03 -0800

Using vue+node+koa+sequlize to realize the background management system

mkdir AceNode && cd AceNode vi package.json Add the following to package.json { "name": "ace-node", "version": "1.0.0", "description": "backend for ace", "main": "./src/app.js", "scripts": { "start": "nodemon node ./src/app.js", "build": "babel ./src/app.js -d dist" }, "keywords": [ "koa", "async" ], ...

Posted by phorcon3 on Mon, 11 Nov 2019 14:28:22 -0800

It's not over. Keep talking about spring cloud stream and kafka

Last article I talked about how to integrate kafka with spring cloud stream and run a demo. If I publicize the article of spring cloud stream this time, I can do it here. But in fact, engineering is never a simple problem of technology or not. In the actual development, we will encounter a lot of details (referred to as pit). In this article, w ...

Posted by DeathStar on Mon, 11 Nov 2019 00:51:55 -0800

Vue development summary and some best practices (Updated)

Basic development environment Project created by vue-cli3, vscode as a coding toolvscode plug-in recommendations: vscode plug in configuration Article directory Introduction to project directory structure UI framework selection main,js processing Axis request secondary encapsulation 1. Project directory structure ├── public // index.html ├── ...

Posted by anser316 on Sun, 10 Nov 2019 08:40:09 -0800

Using typescript to write react-redux and redux-thunk, and the implementation of thunk and other middleware

General steps for using react-redux Provider, as the provider of the top-level global state, needs to pass a parameter, the global state store import { Provider } from 'react-redux'; <Provider store={ store }></Provider> Stores are created by the createStore function and need to pass the reducer pure function as a parameter impor ...

Posted by amberb617 on Sat, 09 Nov 2019 22:09:38 -0800

Summary of practice on getting started with Golang unit testing

Background: When writing a Golang program for a long time, I didn't consciously write unit tests until I later wrote an independent project. I slowly found out how efficient and convenient it is to write unit tests for a function. Then I'll review the tests in Golang together. UnitTest Unit testing is a relatively efficient self-testing metho ...

Posted by MrNonchalant on Sat, 09 Nov 2019 16:51:58 -0800

Highcharts learning notes

Highcharts is a chart library written in pure JavaScript. It can easily add interactive charts to Web sites or Web applications, and it is free for personal learning, personal websites and non-commercial use. The chart types supported include line chart, curve chart, area chart, bar chart, pie chart, scatter chart, ins ...

Posted by XiaoRulez on Sat, 09 Nov 2019 13:02:55 -0800