From 22a8c5d19bd4b01da6644275f6279469182db13c Mon Sep 17 00:00:00 2001 From: Junwei Zhao Date: Wed, 13 Jun 2018 13:12:06 +1000 Subject: [PATCH] Show all the images --- categories/database.md | 6 +++++- categories/java.md | 26 ++++++++++++++++++-------- categories/ruby.md | 14 ++++++++++++-- categories/software-design.md | 8 +++++++- categories/team-work.md | 7 ------- categories/testing.md | 18 ++++++++++++++++++ 6 files changed, 60 insertions(+), 19 deletions(-) diff --git a/categories/database.md b/categories/database.md index 843362d..55069c7 100644 --- a/categories/database.md +++ b/categories/database.md @@ -32,10 +32,14 @@ - will impacted by time zone - index by timestamp will be faster than datetime due to 4 bytes. +## SQL join diagram + +![sql join diagram](https://raw.githubusercontent.com/wahyd4/knowledge-mind-mapping/master/Knowledge.mindnode/resources/FC67BE77-F837-4207-B3C4-45205F7C9C40.png) + # Message Queue # Rabbitmq # activeMQ -# Redis \ No newline at end of file +# Redis diff --git a/categories/java.md b/categories/java.md index 0f806c1..4d6e607 100644 --- a/categories/java.md +++ b/categories/java.md @@ -10,6 +10,7 @@ - System.gc() ## JVM + - Method Area - Class name, Constant, static Constant, Class object - Heap @@ -25,6 +26,8 @@ - Native method stack - program counter +### JVM insight +![jvm insight](https://raw.githubusercontent.com/wahyd4/knowledge-mind-mapping/master/Knowledge.mindnode/resources/0AF6D004-6074-4396-94A0-6141B398BC94.png) ## Spring - Spring boot - Rest controller @@ -79,13 +82,20 @@ - event listener - [https://stackoverflow.com/questions/6270132/create-a-custom-event-in-java](https://stackoverflow.com/questions/6270132/create-a-custom-event-in-java) -## JAVA se -- modifier - - public - - no modifier - - protected - - priivate -- NIO +## JAVA SE + +### modifier + + * public + * no modifier + * protected + * priivate + +### Java modifier diagram + +![Java modifier diagram](https://raw.githubusercontent.com/wahyd4/knowledge-mind-mapping/master/Knowledge.mindnode/resources/AF058A2F-FEB9-4C6A-837C-2DFF0950CA6C.png) + +### NIO - Channels - A channel is a kind of stream, from the channel data can be read into a buffer. - channel implementations @@ -135,4 +145,4 @@ - Selectors - A selector allows a single thread to handle multiple Channels - - [http://tutorials.jenkov.com/java-nio/index.html](http://tutorials.jenkov.com/java-nio/index.html) \ No newline at end of file + - [http://tutorials.jenkov.com/java-nio/index.html](http://tutorials.jenkov.com/java-nio/index.html) diff --git a/categories/ruby.md b/categories/ruby.md index cda984e..09a44dd 100644 --- a/categories/ruby.md +++ b/categories/ruby.md @@ -1,3 +1,7 @@ +# Objects inheritances + +![objects](https://raw.githubusercontent.com/wahyd4/knowledge-mind-mapping/master/Knowledge.mindnode/resources/0F278DB4-4103-44BA-BCBF-EB702C63D097.png) + # Background jobs - Resque - Single threaded process @@ -66,8 +70,14 @@ - GC.stat # Web frameworks -- Sintra -- Ruby on Rails +## Sintra + +## Ruby on Rails + +### How Rails application works + +![Rails flow](https://raw.githubusercontent.com/wahyd4/knowledge-mind-mapping/master/Knowledge.mindnode/resources/01193273-3E02-4AB0-ADE9-037F1577CCB0.png) + - ORM - Active record - Mongoid diff --git a/categories/software-design.md b/categories/software-design.md index 1fc2eec..a932167 100644 --- a/categories/software-design.md +++ b/categories/software-design.md @@ -100,6 +100,12 @@ In his book "Object Oriented Software Construction," Betrand Meyer introduced th - many_to_many - one to many +![example](https://raw.githubusercontent.com/wahyd4/knowledge-mind-mapping/master/Knowledge.mindnode/resources/18F27D1D-F7CB-4E8B-BE47-90847CAEBC91.png) + +## One UML example + +![uml](https://raw.githubusercontent.com/wahyd4/knowledge-mind-mapping/master/Knowledge.mindnode/resources/656E28B3-4CCA-40F8-A95A-0F901E61AFA1.png) + # Java Design pattern @@ -115,4 +121,4 @@ In his book "Object Oriented Software Construction," Betrand Meyer introduced th - about exection - concurrency - dealing with lots of things at once - - about structure \ No newline at end of file + - about structure diff --git a/categories/team-work.md b/categories/team-work.md index c12b0c1..cacb07d 100644 --- a/categories/team-work.md +++ b/categories/team-work.md @@ -72,10 +72,3 @@ - One Delivery team - High spped - Team members can address problems more quickly - -# Test - -- unit test -- integration test -- functional test - - selenium diff --git a/categories/testing.md b/categories/testing.md index 41c70ab..8ead448 100644 --- a/categories/testing.md +++ b/categories/testing.md @@ -1,6 +1,24 @@ # Testing +## Types of testing methodologies + +- unit test +- integration test +- contract test +- smoke test +- functional test + - selenium + - cucumber # Test layers ![Good tests layers](https://raw.githubusercontent.com/wahyd4/knowledge-mind-mapping/master/assets/images/test_layers.png) + + +## Functional test + +### Selenium + +#### How does selenium works + +![selenium](https://raw.githubusercontent.com/wahyd4/knowledge-mind-mapping/master/Knowledge.mindnode/resources/3D938731-E99C-4E75-B2A2-B4B96870EFAB.png)