Tag:hump

  • Front end specification JS, CSS, HTML, Vue, folder and other naming specifications

    Time:2022-3-8

    Document part folder: Small hump, try to be concise, and you can see what is useful at a glance. Example:user, userSetting File name (JS / CSS / Vue / JSX / PNG): Small hump, example:userSetting.js/css/vue/jsx/png JS part Module, component, class name: Large hump, example:MyTestName JS constant: Capitalize, underline multiple words, example:MY_TEST_NAME JS method name: Small […]

  • Simple tutorial of spring boot (V) use of mybatis for database connection

    Time:2022-3-5

    Use of mybatis Mybatis is an excellent persistence layer framework, which supports customized SQL, stored procedures and advanced mapping. Mybatis avoids almost all JDBC code and manually setting parameters and getting result sets. Mybatis can use simple XML or annotations to configure and map native information, and map interfaces and Java POJOs (plain old Java […]

  • Recommended basic code specifications for team development

    Time:2022-3-1

    Mind map General prefix verb meaning Return value can Can you perform an action boolean has Include a value boolean is Is it a situation boolean get Get a value any set Set a value Empty or modified value change Changing a value is generally used to modify the opposite Boolean value Empty or modified […]

  • Javase03 – variables, constants, and naming conventions

    Time:2022-2-15

    catalogue 1、 Variable 2、 Constant 3、 Naming conventions 1、 Variable variable: variable quantity Java variable is the most basic storage unit in the program, and its elements includeVariable name, variable type and scope。 int i = 1; char x = ‘x’; double pi = 3.14; String name = “Zhang San”; be careful: Each variable must […]

  • Python naming conventions

    Time:2022-1-12

    variable Generally all lowercase _ Underline segmentation Private variable_ Begin with an underscore Name without type information num_ list name = ‘jeck’ student_name = ‘cc’ for _i in range(10): pass constant uppercase _ Underline segmentation MAX_COUNT = 10 function All lowercase _ Underline segmentation Private function_ Begin with an underscore def call(): pass def call_name(): […]

  • JQuery source code series (17) CSS related operations

    Time:2021-12-14

    WelcomeMy columnView a series of articles. Style operation is also a common operation of jQuery. As far as I am concerned, this CSS function is used too much. I feel a little silly. The main reason is that I don’t understand the real meaning of CSS in JS. But not now. Before we start, let’s […]

  • [Specification] front end development specification 1.0

    Time:2021-12-6

    1、 Project directory structure src — Assets — static resource file js css Images — classify pictures according to the newly created folder of the module Components — global public components HTTP — request file Api.js — interface storage Http.js — request method encapsulation URL — test / online address JSON data — local JSON […]

  • Online underline to hump, hump to underline tool

    Time:2021-10-19

    Online underline to hump, hump to underline tool Online underline to hump, hump to underline tool This tool can convert string underscores to humps or humps to underscores for pure client calculation. Camel case, also known as hump naming, is a set of naming rules (conventions) in computer programming. As its name camelCase indicates, it […]

  • [go] golang exercise item – addition, deletion, query and modification of Gorm and MySQL

    Time:2021-10-1

    The following code is placed in users.go under the models package The table structure is consistent with the struct field. Change the underline of the table field into a hump named with capital letters Create, find, delete and update users. See the following specific methods   package models import ( _ “github.com/jinzhu/gorm/dialects/mysql” ) type User […]

  • The. Net core handles webapi JSON and returns annoying null and empty

    Time:2021-9-7

    preface In project development, annoying nulls will be encountered in both the foreground and background. If the fields in the database table allow null values, the corresponding field type in the code entity class is nullable < >, such as int?, DateTime?, The values returned from the serialization of null value fields are null. The […]

  • Integrating mybatis in springboot

    Time:2021-8-23

    New project For the time being, just check the webjar package Import. SQL database Prepare database tools~~~~ Connect to database Add jar package file <?xml version=”1.0″ encoding=”UTF-8″?> <project xmlns=”http://maven.apache.org/POM/4.0.0″ xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:schemaLocation=”http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd”> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.3.4.RELEASE</version> <relativePath/> <!– lookup parent from repository –> </parent> <groupId>com.jt</groupId> <artifactId>springboot_demo2_mybatis</artifactId> <version>0.0.1-SNAPSHOT</version> <name>springboot_demo2_mybatis</name> <description>Demo project for Spring Boot</description> <properties> […]

  • Common bean copy frameworks underline hump to hump extension support

    Time:2021-8-17

    Last blog postUsage posture and performance comparison of common bean copy frameworksThis paper introduces the usage posture and performance comparison of several bean copy frameworks, which are mainly applicable to the copy with the same attribute name and type. In the actual business development, the conversion of hump and underline is often used. This paper […]