J2EE Series Spring 4 Learning Notes (7) -- AOP Details (AOP Introduction)

Here AOP profile refers to Baidu Encyclopedia: Aspect Oriented Programming(AOP) is a hotspot in software development and an important part of Spring framework. AOP can isolate all parts of business logic, which reduces the coupling between the parts of business logic, improves the reusability of programs, and improves the efficiency of devel ...

Posted on Sun, 06 Jan 2019 15:27:10 -0800 by localhost

leetcode Some questions of Edit Distance

leetcode72 Edit Distance subject Given two words word1 and word2, find the minimum number of steps required to convert word1 to word2. (each operation is counted as 1 step.) You have the following 3 operations permitted on a word: a) Insert a character b) Delete a character c) Replace a character Analysis This is a ty ...

Posted on Sat, 05 Jan 2019 13:03:10 -0800 by virtuexru

Some tips for using Git efficiently

On Version Control Version control is a system that records changes in the contents of one or more documents for future reference to revisions to specific versions. Local Version Control System One of the most popular is called rcs, which basically saves and manages file patches. File patches are text files in a specific format that record cha ...

Posted on Tue, 01 Jan 2019 12:09:09 -0800 by melittle

Long Way To Go Python 1

What is Python?   Dynamic Interpretative Strong Type Definition Language. (Understand the ball, slowly understand.... Programming languages have some subtypes: compiler and interpreter Static Language, Dynamic Language Strong Type Definition Language and Weak Type Definition Language      Compiler type: (C/C++) Complie: There is a program respo ...

Posted on Tue, 01 Jan 2019 00:27:08 -0800 by gilbertwang

Akka (41): Http: DBTable-rows streaming-database table row exchange

In the previous discussion, we introduced file exchange through http. Because the content of the file is represented by a bunch of bytes, and the data part of the HTTP message is also byte type, we can read the file directly with Source[ByteString,] and put it into HttpEntity. We also mentioned that if database data exchange is needed, the rows ...

Posted on Sat, 29 Dec 2018 09:36:07 -0800 by deadparrot

The generic delegated Action<>,Func<>, Predicate<>.

When we customize Delegate, we often find that Delegate must be globally visible in order to be used where needed. For private delegate objects, it seems inconvenient to use it in this class. Next let's look at the traditional Delegate writing: public delegate void MyDelegate(string name); public class MyBlogBase { private M ...

Posted on Wed, 26 Dec 2018 16:18:06 -0800 by Mistat2000

JavaScript Object-Oriented Encapsulation (demo by ES5, ES6, TypeScript)

By default, you have read the author's previous article. JavaScript Object-Oriented Abstraction Why encapsulate? Encapsulation is to hide the internal attributes and methods of an object. External code can only access the object through a specific interface, which is also part of the idea of Interface-oriented programming. Encapsulation is a ve ...

Posted on Wed, 26 Dec 2018 16:03:07 -0800 by bruceleejr

Aspect Oriented Programming with Spring

Aspect Oriented Programming with Spring 1. introduction AOP is a different program structure from OOP. In OOP programming, the unit of module is class; however, in AOP programming, the unit of module is aspect. In other words, OOP focuses on classes, while AOP focuses on aspects. Spring AOP is implemented in pure Java. Currently, only method ...

Posted on Mon, 24 Dec 2018 22:54:06 -0800 by Deadmeat

go linxu environment installation, web server development and how go language calls shell scripts

go language background introduction The Go language is the second open source programming language released by Google in 2009. The Go language is specially optimized for the programming of multiprocessor system applications. Programs compiled with Go can be as fast as C or C++ codes, and it is more secure and supports parallel processes. On J ...

Posted on Mon, 24 Dec 2018 03:30:06 -0800 by chigley

Akka(27): Stream:Use case-Connecting Slick-dbStream & Scalaz-stream-fs2

In previous blog posts, we introduced Slick, which is a kind of FRM (Functional Relation Mapper). Different from ORM, FRM is characterized by its functional grammar which can support flexible object composition to achieve large-scale code reuse, but at the same time, these characteristics affect the acceptance of FRM by programmers and prevent ...

Posted on Sun, 23 Dec 2018 16:33:06 -0800 by stephfox