Manual wheel building -- RPC framework dotnetcore RPC based on. NetCore

preface Since there are not so many restrictions between internal services, the most simple and clear way is the most appropriate way. I prefer the way of using Dubbo. I separate the interface layer as the contract of the service. The server provides the service with this set of contract, and the client uses this set of contract to call the se ...

Posted by CanMan2004 on Sat, 13 Jun 2020 04:10:01 -0700

VSCode installation, ECMAScript 6 syntax

Article catalog Front end development VSCode Initial settings 1. Chinese interface configuration 2. Plug in installation 3. Create project 4. Save workspace 5. New folders and pages 6. Preview web page 7. Set font ...

Posted by VisionsOfCody on Sat, 13 Jun 2020 01:59:37 -0700

vue stage 2

filter format <div id="box"> <p>{{Data entering the filter data| Filter name('Parameter 1','Parameter 2') }}</p> Vue.filter('Filter name',function (input data data,Parameter 1,Parameter 2) { return pass; }) <body> <div id="box"> <p ...

Posted by The Wise One on Sat, 13 Jun 2020 01:49:09 -0700

Ordering system - buyer side - order

Article catalog DAO layer design Service layer design Controller layer design DAO layer design 1. Write two entity classes, OrderMaster and OrderDetail. Because it involves the update of the order modification time, add the annotation @ DynamicUpdate, that is, modify the time data during the upd ...

Posted by joshmaker on Fri, 12 Jun 2020 21:32:50 -0700

Mybatis powerful result mapper ResultMap

1. Preface The resultMap element is the most important and powerful element in MyBatis. It frees you from 90% of JDBC ResultSets data extraction code, and in some cases allows you to perform operations that JDBC does not support. In fact, when writing mapping code for complex statements such as conn ...

Posted by neoson on Fri, 12 Jun 2020 00:27:50 -0700

Deep source analysis and application introduction of Java collection Properties

                        . 1 overview of properties public class Properties   extends Hashtable<Object,Object>    Properties, from the collection class of JDK 1.0, ...

Posted by maliskoleather on Thu, 11 Jun 2020 23:31:10 -0700

Django form form upload file

File upload of Django's form form When generating input tags, you can specify the type of input tag as file type <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> <h4>{{ error_message }}</h4> <form action="/index/" method="pos ...

Posted by phpnewbieca on Thu, 11 Jun 2020 22:50:09 -0700

es6-ES6 Concepts & New Grammar & Extension of Built-in Objects

ES6 Syntax target Ability to say the characteristics of using let keywords to declare variables Ability to extract values from arrays using deconstruction assignments Ability to say what an arrow function has Ability to receive remaining function parameters using remaining parameters Ability to spl ...

Posted by magicmoose on Thu, 11 Jun 2020 19:24:50 -0700

JS Design Mode 5 - Creative Design Mode: Prototype Mode, Policy Mode, Agent Mode

Article Directory Prototype mode Policy Mode Example Different salaries for employees with different performance mtween slow motion animation proxy pattern Protection Agent and Virtual Agent Example: Virtual agent for lazy picture loading Meaning of agency: principle of single responsibility Cac ...

Posted by drew010 on Thu, 11 Jun 2020 19:20:29 -0700

[C x.net addendum] 04: reflections you have to know

It will take about three minutes to read this article. In general, reflection is used to dynamically obtain information such as object types, properties, and methods. Today, I'll take you to play with reflection to summarize various common operations of reflection and find out if there's anything you don't know. Get members of type The GetM ...

Posted by shalinik on Thu, 11 Jun 2020 01:13:22 -0700