• Getting started with springboot: 02 – Implementing MVC


    In the previous article, we have created entity classes and mapping interfaces. The next thing we need to do is to implement the service layer for processing business logic and the controller layer for controlling process. Create business logic layer Create a service directory in the project and create a new directory UserService.java File: package […]

  • [blockchain] tendermint: local single node deployment


    Tendermint Due to work reasons, I started to contact hyperledger fabric two years ago, and its community is still very active. It has developed from v0.7 to v2.0 now. But we have to say that the volume of fabric is still very large, which is difficult for secondary development. So recently, we started to turn […]

  • The implementation of DDD in the cooperation field of Devops project in Jingdong


    DDD is domain driven design. It comes from the very influential book “Domain Driven Design – taking complexity in the heart of software” published by Eric Evans, a famous modeling expert. It was first widely used in traditional software architecture design. In April this year, InfoQ released a trend report on software architecture and design. […]

  • Build from scratch Node.js Enterprise web server (1): interface and layering


    Layered specification Starting from this chapter, we will enter the core content of enterprise web server. Generally, a complete business logic is defined and implemented by view layer, control layer, service layer and model layer, as shown in the following figure: From top to bottom, the level of abstraction gradually deepens. From the bottom up, […]

  • Integration of springboot and Shiro privilege management


    Subject: user principal (give the operation to the security manager)Securitymanager: Security Manager (associated realm)Realm: a bridge for Shiro to connect data rely on Shiro dependency <!– https://mvnrepository.com/artifact/org.apache.shiro/shiro-spring –> <dependency> <groupId>org.apache.shiro</groupId> <artifactId>shiro-spring</artifactId> <version>1.3.2</version> </dependency> Thymeleaf integrates Shiro permission label <!– https://mvnrepository.com/artifact/com.github.theborakompanioni/thymeleaf-extras-shiro –> <dependency> <groupId>com.github.theborakompanioni</groupId> <artifactId>thymeleaf-extras-shiro</artifactId> <version>2.0.0</version> </dependency> Integrating mybatis dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> <scope>runtime</scope> </dependency> <!– https://mvnrepository.com/artifact/com.alibaba/druid […]

  • Even with async / await, native promise is still very important for writing optimal parallel JS


    Original texthttps://medium.com/@bluepnume… along withes2017It’s coming,async/awaitThe time of the new era is not far away. In previous articlesI suggest that you fully master promiseBecause it’s builtasync/awaitIt’s the foundation of the project. Understanding promise will help you understand the basic concepts of async / await and help you write better async functions. But even if you’ve followed […]

  • There may only be a distance of flutter MVVM from web development to app development


    As a developer, it is particularly important to choose a handy development framework to improve productivity and pleasant coding experience. In the past two years, I have shifted from back-end development to web-end development, and the focus of development has changed from the previous data level to the present presentation level. There are many excellent […]

  • Analysis of promise in angular with $Q example


    I believe those who have some development experience should know that promise is very important for JavaScript and can always be used in development. Therefore, it is a must to master it. I wrote an article before,Work summary: deferred object of jQuery advanced application, introduce promise in jQuery, so the basic introduction of promise will […]

  • Vue3. X starts from scratch (2) — Rethinking Vue components


    Vue 3 updates the syntax of many components, including lifecycle, filter, setup, teleport, etc In order to introduce these features, you need to understand the basic play of Vue components The content of this article is basically based on the syntax of Vue 2, only some details are adjusted   1、 Single file component adoptVue.createApp()Create […]

  • E-commerce projects from December 1, 2020 to December 11, 2020


    Work content on December 11, 2020 Complete the logical analysis and implementation of receiving address 1. Display and cache information of provinces and cities Three level interaction of provincial and urban areas The core is to store the information of provinces, cities and counties in a table, and use self association to query data Prepare […]

  • Dewu (poison) app, 8-digit lottery code demand, this is not the math homework left for me by the product!


    Author: Xiao Fu GeBlog:https://bugstack.cnGithub:https://github.com/fuzhengwei/CodeGuide/wiki Precipitation, sharing, growth, so that they and others can gain! 1、 Preface Why is your code a mess? In fact, there are so many from you, why do you write code like this! Why do you have so many for loops in your code? Because there is no reasonable data structure […]

  • Analysis of react hook


    Words written in the front According to the official document of react, hook is a new feature of react 16.8, which allows you to use state and other react features without writing class. So why do we use hook when we have a class component? Under what circumstances should hook components be used? React component […]