You are not logged in.
Pages: 1
How do we handle adding records offline or in briefcase mode ? There will be conflicting ID's when posted to main database.
I suggest make the ID as LargeInt. High 4 bytes are hash of the workstation name, low 4 bytes are the date/time or autoinc, then you'll never have an ID conflict.
Can someone please show a simple sample of accessing Mormot server via Indy with authorization. Ideally the Mormot server would return something that could be quickly parsed into a clientdataset or other memory structure. Also, how to do CRUD this way ?
Having a lot of fun learning what Mormot can do.
I'm confused. As usual. When should we use U2S/S2U and in what Delphi versions?
Using U2S/S2U is the best way for performance, and for pre-Unicode version of Delphi.
But it is not mandatory, for Unicode version of Delphi (Delphi 2009 and up).
Your samples show always RawUTF8string, not String. Also lots of U2s, S2U. Is that no longer needed?
I love your Mormot design and attention to performance.
I can't use it for 2 reasons.
Too much U2S, S2U everywhere. Very confusing and a PITA.
I wish we could declare our object using standard Delphi type: String.
Need XE5 and Firemonkey support for future.
Have you benchmark against kbmMW ?
Regards,
Rob
Pages: 1