From 5062fc347f18aeaf45d8b7f3963ae45cfb90b031 Mon Sep 17 00:00:00 2001 From: Robert von Burg Date: Sat, 23 Jun 2018 17:20:41 +0200 Subject: [PATCH] [New] Added strolch searches documentation and blog entry --- li.strolch.website/www.strolch.li/blog.html | 38 ++++- .../documentation-searches.html | 159 ++++++++---------- 2 files changed, 96 insertions(+), 101 deletions(-) diff --git a/li.strolch.website/www.strolch.li/blog.html b/li.strolch.website/www.strolch.li/blog.html index 71dcb8e15..cc6435f83 100644 --- a/li.strolch.website/www.strolch.li/blog.html +++ b/li.strolch.website/www.strolch.li/blog.html @@ -57,6 +57,26 @@
+ +
+

Strolch Searches

+ + + +

Strolch queries are deprecated!

+
+

Strolch has had once again many changes, and fixes etc. One important thing to note is that we have + removed support for transactional mode and have rewritten how models are searched. Thus the search + API was born.

+ +

Go check out the Strolch Search documentation and then go + rewrite your searches =)).

+ +

Strolch tag 1.6.47 has all those juicy changes!

+ +
+ +

Wow, the many changes!

@@ -622,18 +642,18 @@
  • Google+
  • -
    - - - + - + + + diff --git a/li.strolch.website/www.strolch.li/documentation-searches.html b/li.strolch.website/www.strolch.li/documentation-searches.html index cbc15c7fe..ea2eb9971 100644 --- a/li.strolch.website/www.strolch.li/documentation-searches.html +++ b/li.strolch.website/www.strolch.li/documentation-searches.html @@ -51,112 +51,87 @@
    -

    As is custom for every framework, querying, or searching, the model must be possible. Strolch searches are implemented using - the StrolchSearch class and one of its concrete implementations: ResourceSearch, +

    As is custom for every framework, querying, or searching, the model must be possible. Strolch searches are + implemented using the StrolchSearch class and one of its concrete implementations: ResourceSearch, OrderSearch, ActivitySearch.

    A Strolch element always has two identifiers: Type and Id. The type is important as it classifies an element. So if a car and a house would be modelled in Strolch, then those would both be a Resource, but one of type Car and the other of type House. Both would - have different parameters.

    + have different parameters. Thus when searching for objects, the first thing to do is define the type of + object being searched.

    -