You are not logged in.
Pages: 1
I'm starting with Delphi.
I have found some confidence with RAD and written some Object Pascal code.
Now, I would like to invest my time by learning, from the beginning, how to use an ORM. So I invested a few hours reading mORMot's documentation and running the Samples code on GitHub.
What I need is a very simple program to store customers orders (namely: basic CRUD operations and edit data in master-detail mode using a FMX grid).
Are there any examples closest to my needs? (I ask for that because I suppose this is a common needs ...)
Thanks.
Offline
Hi,
You need to study all samples embedded and learn how all layers of mORMot works. Your project is one of the easiest projects to achieve, but we can't help you to write all the code for it.
You need server side (the most important thing) a REST Server with persistence SQLite3 for example (you can implement TSQLRestServerDB with a TSQLHttpServer). And on the client side you will need a consumer TSQLHttpClient.
Offline
Thanks for your answer turrican.
study all samples
...
write all the code
I didn't ask for "all the code". I asked for "one sample". And I asked for it because it is a common need (even better if, as you said, it is easy to implement for an expert).
But... no problems, and thank you again
Offline
What you ask for is not that easy ... ;-)
A good master-detail design with decoupling of logic and (Grid-)GUI (MVC) asks for considerable effort, even for an expert.
mORMot has a MVC example.
And a Grid.
Offline
absolutly not easy, i try convert ExtJS 4 sample to ExtJS 6 and cant do it(((
Hope any member mormot forum, sometimes create simple sample with ExtJS 6 based on MVVC
Last edited by noobies (2017-06-23 09:35:52)
Offline
Pages: 1