Wechat applet development pit filling record
Recently, I need to help my girlfriend implement a wechat app, so I went to learn about the development of the app. For the development of wechat applets, I haven't been in touch with it before (but I have some experience in front-end development). As a complete novice, the starting materials must be We ...
Posted by umasankar on Thu, 13 Feb 2020 07:09:59 -0800
jq of linux tools
brief introduction
In the daily development under linux, we often need to process and analyze the json format data. jq Is an open source JSON format data processing tool, it provides a lot of flexible syntax, very powerful.
install
macOS:
brew install jq
Ubuntu
apt-get install jq
Other reference Official website
jq syntax
Basic usage
Suppose t ...
Posted by AudiS2 on Wed, 12 Feb 2020 09:42:18 -0800
Dynamic load user menu
The process is that the user enters the module page after logging in, clicks on different modules, and enters the menu page (different modules, different menu contents)
Problems encountered
1. The menu data is stored in the store and the page is blank after refreshing
Solution: initialize the menu every time in the global navigation guard ...
Posted by vandalite on Wed, 12 Feb 2020 07:16:43 -0800
ArcGIS api for javascript accesses server's security services by registering token with IdentityManager
Available environment: A stand-alone server environment that is not federated with a portal.Enprise Environment Access Security Services see two other articleshttps://blog.csdn.net/qq_40376439/article/details/104227280https://blog.csdn.net/qq_40376439/article/details/104217511Scenario for use: When we p ...
Posted by manyamile on Tue, 11 Feb 2020 18:08:44 -0800
Django rest framework source code analysis -- version
Version 1.
1. Create a new project Myproject and an app named api
(1)api/models.py
from django.db import models
class UserInfo(models.Model):
USER_TYPE = (
(1,'Ordinary users'),
(2,'VIP'),
(3,'SVIP')
)
user_type = models.IntegerField(choices=USER_TYPE)
usern ...
Posted by shazam on Tue, 11 Feb 2020 09:13:08 -0800
[note 4-commodity module] independently completed the development of enterprise Java e-commerce website (server side) from 0
Classification management module
Data table structure design
Classification table
CREATE TABLE,mmall_ category' (
'id' int(11) NOT NULL AUTO_ INCREMENT COMMENT ' category Id',
'parent_ id' int(11) DEFAULT NULL COMMENT 'Parent category id When id=0 Time description is the root node,Class I' ,
'name' varchar(50) DEFAULT NULL COMMENT ' Category n ...
Posted by monk.e.boy on Mon, 10 Feb 2020 23:55:06 -0800
electron packages front-end projects into desktop applications
electron integrates nodejs with chromium.So it also "inherits" chromium's logic for handling js and rendering pages, and what you now know is that it supports multiple process modes.The node environment needs to be configured first.
Pre-environmental setup and testing can be referred to ht ...
Posted by php-phan on Mon, 10 Feb 2020 19:22:13 -0800
Alibaba cloud SMS out of the box
brief introduction
Use SpringBoot to automatically assemble and simplify the docking of Alibaba cloud SMS.
A small tool, welcome to use and Star support, if you encounter problems during use, you can raise Issue, I will try my best to improve the Starter.
Version basis
aliyun-java-sdk-core:4.1.0
How to use
Maven
<dependency>
<grou ...
Posted by daddymac on Mon, 10 Feb 2020 07:06:34 -0800
Download files through jQuery.Ajax
I have a struts 2 operation on the server side for file download.
<action name="download" class="com.xxx.DownAction">
<result name="success" type="stream">
<param name="contentType">text/plain</param>
<param name="inputName">imageStream</param>
<param name="contentDisposition ...
Posted by Greaser9780 on Mon, 10 Feb 2020 03:04:08 -0800
Build your own tool library (similar to lodash) from 0 to a series and publish it to npm
By 2020, we need to try to build our own tool links to make things even more lazy_development_
Final example
@magic-zhu/helper This is a demo package we published to npm by ourselves
Then use it in your project
npm install @magic-zhu/helper
const helper = require ('@magic-zhu/helper')
let {typeOf} = ...
Posted by ClyssaN on Sun, 09 Feb 2020 18:52:14 -0800