Tag:hump

  • 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 […]

  • Web store writes Vue and react to convert the naming of large hump components into short bar naming

    Time:2021-7-30

    hello everyone! I am papaya too fragrant, proficient in webstorm and common front-end technology engineers, occasionally in B station to do some webstorm skills teaching, today brings to you is the big hump small hump fast conversion short bar name or underline the way of naming. During development, we may encounter such a demand. When […]

  • Spring boot: mybatis returns null when querying underlined fields

    Time:2021-5-12

    Problem description MyBatisUnable to query data with different property name and database field name. That is: the attribute name and database field name areHump namingandUnderline namingThe data found out in the survey areNULL。 problem analysis MyBatisThe default is one-to-one correspondence between the attribute name and the database field name   Database table column: user_ name […]

  • PHP writing specification (for reference only)

    Time:2021-3-31

    General principles Semanticalization:What you see is what you get Prefix:isIt means whether (is + Adjective + noun),getIt means reading,setExpress write Singular and plural:Like a usergetUser, multiple usersgetUsers Avoid redundancy:Try not to use itdata、list、infosuffix Use common name with caution:Use with cautioncommon、util、functions、class、object、basicIt’s difficult to maintain the common name, such as string, etc.; to get an accurate name […]

  • Swift personal learning notes – 08: classes and structures

    Time:2021-3-24

    This article is purely a Chinese version《The Swift Programming Language》So most of the content is in the article. This article is my study notes, not a formal and systematic record. For reference only There are still a lot of incomprehensible and uncertain points below, which I will point out with “doubtful” notes. Thanks to the […]

  • Vscode configure spell checking

    Time:2020-12-20

    Install the plug-in code spell checker first Modify the extensions settings for this plug-in, settings.json It is amended as follows: { “workbench.editor.enablePreview”: false, “cSpell.enableFiletypes”: [ “javascript”, “css”, “vue” ] } Modify the extensions settings of this plug-in. In UI mode, remove the check box of “C spell: allow compound words”. That is, continuous words are […]