From 233b2bc08c240dacdc2de9d3e78f03bea7a038fc Mon Sep 17 00:00:00 2001 From: Shautvast Date: Wed, 29 Oct 2025 22:53:06 +0100 Subject: [PATCH] more updated readme --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index ba229e9..25de68b 100644 --- a/README.md +++ b/README.md @@ -15,15 +15,13 @@ - built-in types for dates and uuid for example - collection literals - ease of use for CRUD operations, like automatic mapping from sql rows to json -- a simple, yet powerful language -- urls are made up of directories and filenames +- urls are made up of directories. - a controller sourcefile is a file named web.crud - likewise: - service.crud for services - db.crud database access code - util.crud utilities -- it is not mandatory to have services. You can put all your logic in a controller. -- there is a strict calling hierarchy. A service cannot call a controller. It can only go 'down'. +- it is not mandatory to have services. If you want, you can put all your logic in a controller. - and it can only access functions in its own subtree. Generic code should be put higher up in the tree. - Therefore, services cannot call other services, because that is the recipe for spaghetti. Refactor your logic, abstract and put lower level code in utilities. - openapi support