#1 mORMot 1 » offline or briefcase mode » 2013-11-25 19:15:00

fletcher
Replies: 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.

#2 mORMot 1 » REST server for XE5 Firemonkey ? » 2013-11-25 19:09:53

fletcher
Replies: 2

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.

#3 Re: mORMot 1 » XE4 and FireMonkey » 2013-11-06 09:09:32

I'm confused.  As usual.  When should we use U2S/S2U and in what Delphi versions?

ab wrote:

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).

#4 Re: mORMot 1 » XE4 and FireMonkey » 2013-10-29 09:50:28

Your samples show always RawUTF8string, not String.  Also lots of U2s, S2U.  Is that no longer needed?

#5 Re: mORMot 1 » XE4 and FireMonkey » 2013-10-29 00:19:46

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

Board footer

Powered by FluxBB