When you first enter the Mountain Gate, you must note the door rules and the entrance to the Mountain Gate.

Source: Internet
Author: User
Tags git commands

When you first enter the Mountain Gate, you must note the door rules and the entrance to the Mountain Gate.

The road to road building is long,

I will try again and again.

Just stepped out of the school and entered the mountain.

Although the mountain door is small, there are different methods for the fairy god and the Buddha.

The boy was included in the team at 11.14,

To 11.27, the door rules are omitted.

Let's take a look ......

 

11.14

When a daily predecessor threw down a command:

1: mybatis data persistence
2: Spring Mvc focuses on Annotation
3: bootStrap
4: jquery-> angularJs (command)
5: Spring boot Spring cloud (microservice)

 

(1) install Intellij IDEA, MySQL, Git, and Maven and build an environment;

(2) learn the basic Git commands:

Git config (user. name, user. email user information, list view configuration information ),

Obtain the git repository of the project (git init initialization, git add tracking, git clone ),

Record updates to the repository (git status to view the current file status, git diff to view temporary updates, git commit to submit updates, git rm to delete, git log to view submission history, git reset to cancel file temporary storage, git checkout cancels file modification, git remote warehouse usage, and git push pushes data),

Tag (git log, git tag)

 

11.15

(1) git Branch:

Git checkout switch branch, git branch create branch, git checkout-B create and switch branch

Git fetch Remote Data Synchronization

Git push local branch

Git merge branch merge and git rebase branch extension

(2) git commands on the server

Git stash, git reset, git fetch, git merge, git log, git relog ..

(3) git operations

Local Initialization Repository

Clone Repository from github

 

11.16

(1) mybatis document Learning

Mybatis configuration file,

Ing configuration files (insert, update, delete, select, resultmap ..),

Delayed loading (association query association, collection)

Cache

Dynamic SQL (if, choose, when, otherwise)

 

11.17

(1) Mybatis

Dynamic SQL (trim, where, set, foreach)

SQL Fragment

(2) springMVC

Web. xml configuration

Dispatchservlet request processing process

Controller implementation (annotation)

(3) Copy two ssm projects on github and view the code.

 

11.20

(1) springMVC Annotation

@ Controller

@ RequestMapping

@ Resource and @ autowired

@ Pathvariable

@ Requestparam Simple Type Binding

@ ModelAttribute data echo

(2) Mybatis

DAO method development (original dao development and mapper Agent Development)

Input ing (pojo)

Output ing (resulttype, resultmap)

(3) copy an ssm project from github to view

 

11.21

(1) Springmvc

Springmvc. xml configuration (annotation and non-annotation)

(2) Integration of mybatis and spring

Applicationcontext. xml configuration

Integration of DAO method development methods

Mapper batch Scan

Reverse Engineering

 

11.22

(1) springmvc and mybatis Integration

Integrate DAO, service, springmvc

Project Structure

Configuration File Integration

Parameter binding (simple type, pojo, set type, list, map)

Exception Handling (custom exception and global exception processor)

Configure File Upload parser multipart

Json Data Interaction

Static resource Parsing

Interceptor

(2) angularJS

Development Environment

Core concepts and features

 

11.23

(1) angularJS

MVC (controller implementation $ scope)

Use noRoute to route between views

Module (ng-repeat iteration array, angular. moudle module defines dependency injection, module splitting (controllers, directives, services, routes, filters ..))

Bidirectional data binding (ng-bind ,{{..}})

Ng-class switch, ng-show, ng-hide switch, and ng-Animate Animation

Route $ routeProvider (import ui-view, # define the status for the Application)

Command:

1) whether to replace the nested template of custom commands (define module, directives, restrict matching mode (AEMC), template (template), and replace (true/false)

2) Compile)

3) Link (call the link function when linking/use it to operate DOM and bind event listener)

4) interaction between commands and controllers (link: function (..){..})

5) interaction between commands (controller: function ($ scope) {.. // external display} link: function (..) {.. // internal use })

6) create an independent scope (scope {}and bind the policy (@ bind a string (scope: {flavor :'@'}), = bidirectional binding, & transfer to a function from the parent scope ))

7) Internal commands (<a> <form> <input> <email> <radio> ..)

8) Expander (expand, custom)

9) Accordion (multiple expansions)

Service and Provider (24 built-in), $ http Service, and service Singleton

$ Filter (dedicated service for data formatting, mymodule. filter ('filter', function ()){..})

AngularJS Startup Process (manual ng-app, automatic start bootstrap, multiple ng-Apps)

 

11.24

(1) angularJS

Provider and injector (inferred injection, declarative injection, and inline injection)

Syringe (providerInjector, instanceInjector)

Injector:

Obtain service, dependency injection, call method, and load Module

Provider:

Can be used to inject provider, service, factory, value, constant

Dependency injection is implemented through the combination of provider and injector)

Acceptable injection function types: controller, directive, filter, service, factory ..

Compile and link functions (processing elements ):

Compile: function (...) {...} converts the instruction template.

Link: function (scope,...) {...} and establish an association between model and view.

Bidirectional data binding (tree structure, one-dimensional structure, two-dimensional structure)

Scopes

(2) Maven

Environment variables, directory structure, archetype plug-in, repository (local, remote, image)

Maven build project

Common Pom. xml elements:

<Project>

<GroupId>

<ArtifactId>

<Version>

<Packaging> (default jar )..

Dependency list:

<Dependencies>

<Dependency>

Coordinate Element

<Type>

<Scope> dependency scope

<Optional> (true/false sets whether dependency is optional)

<Exlusions>

<Exclusion>

.. (Exclude dependency transfer list)

Dependency management:

<DependencyMangement>

<Dependencies>

..

Plug-in list:

<Build>

<Plugins>

<Plugin>

..

Submodule inheritance:

<Parent>

<Modules>

<Module>

..

Scope of dependencies (compilation, testing, and running)

Dependency Transmission

Dependency conflict (short-circuit first, indicating first priority when the path is the same)

Maven aggregation (<modlues> <module> ..)

Maven inheritance

Mvn package

Mvn install

Mvn clean

(3) SpringBoot

IDEA create a project

@ SpringBootApplication startup Annotation

Startup method (mvn spring-boot: run, IDEA start tomcat, mvn install compilation)

 

11.27

(1) SpringBoot

Configuration file application. properties, application. yml

Property configuration (. yml)

Server:

Port: 8080

..

Use different configuration files in multiple Environments

Controller usage (@ RestController, @ controller, @ RequestMapping, @ pathVariable, @ RequestParam, @ GetMapping ..)

Use Spring-Data-Jpa for Databases

Transaction Management (@ Servie, @ Transactional)

Form Verification (@ Entity, @ PostMapping, @ Min ..)

AOP uniformly processes request logs (@ Before, @ After, @ Pointout, LoggerFactor. getLogger (class name), @ AfterReturning)

Unified Exception Handling (Unified error codes and information management for exception capture and enumeration classes ..)

Unit testing (service, controller, servlet testing)

 

Today, the boys know the rules and regulations.

What's more, I heard from mountain ghosts.

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.