Parcourir la source

Update readme

stdio il y a 8 ans
Parent
commit
3732fe8144
1 fichiers modifiés avec 14 ajouts et 9 suppressions
  1. 14 9
      backend/README.md

+ 14 - 9
backend/README.md

@@ -39,6 +39,7 @@ in most projects this is also fine, but ends up later to some recoding in differ
 
 Also in regular .NET web projects we have 
 
+
 ```
 Persistence:
 	Proj.Data.Contacts   
@@ -51,14 +52,16 @@ Logic:
 	Proj.Web
 		Controllers
 		Views
-
+```
 as Views are Processed and sent to browser,
 Controllers receive request and go to ModelBO retrieving Contacts, it return a view which are processed and sent back to server
 
-```	
+	
+
 
 The goal
-Create independent contexts:
+Create independent contexts:  
+
 ```
 Persistence:
 	Pkg.DataStore - persistence
@@ -70,6 +73,7 @@ ImageService:
 	Pkg.ImageLogic
 ```
 
+
 The caller must be independent from browser, we can create different front ends such as CLI.
 
 Service can require more than one Querier, we can create virtual DB with tables
@@ -90,18 +94,19 @@ Service performs logic, validation, authorization
 Communication receives
 
 
+
 tests
-------
+----
 
+With independent services we should have a maincore:   
 
-With independent services we should have a maincore:
 
 ```go
-	Core will prepare the database, session etc
+//Core will prepare the database, session etc
 
-	core.Session();
-
-	core.User().Login etc
+core.Session();
+core.User().Login etc
+```