Jump to content

Markus Kinzler

Moderators
  • Content Count

    559
  • Joined

  • Last visited

  • Days Won

    6

Posts posted by Markus Kinzler


  1. Quote

    turns SQLite into a real multi-user DBMS 

    Then multible users can access the db at the same time. But I wouldn't call this real muti user.

    Quote


    Advises for using an ORM - only use ORM (Object-Relation Mapping) for the simple CRUD part, but don't map your entire data model into a ORM. Doing the latter is the root cause of all complains about ORM from all the Java, C# and Delphi programmers.

     

    Especially when using a "simulated" multi user system. A DBMS server offers more than just the possibillity to access a db simultaneously. The overhead for the ORM depends on the ORM also.


  2. SQLite is great for single user or on mobile devices. But I prefer FireBird, because it's more powerful an scalable (embedded for single user; Server for multiuser; database file is interchangable).

     

    Is this the project you talking about? Look at the MARS samples. You will also find examples for database access.


  3. @Rudy Velthuis I think you misunderstood me. My concern are only about the automatic invocation.

    Quote

     

    The huge difference between this new constructor and what was previously available for records is the automatic invocation. In fact if you write something like:

    
    procedure TForm5.btnMyRecordClick(Sender: TObject);
    var
      my1: TMyRecord;
    begin
      Log (my1.Value.ToString);
    end;
    

    you’ll end up invoking both the default constructor and the destructor, and you’ll end up with a try-finally block generated by the compiler for your managed record instance.

     

     


  4. Just now, dummzeuch said:

    Building on Lars Fosdal's answer: Let your external program generate the file under a different name (or in a different location on the same drive) and when it is done, rename/move it to where your program expects it.

    That solves not the problem. The graphic file is generated by the external program. The file exists with start of the process. If the finishing cannot be signaled by the external program the name doesn't matter.


  5. The number of members is still rising. The start of the Forum was at november october 26th. We cannot expect that the registering rate being high constantly.

    More important is the number of new topics and posts. Sven asked for a statitics of new users. That was the reason I made this excel chart. When all basics of this forum are done, where be a more meaningful statistic.


  6. The use of a specific library/framework is different than the compilation for different cpus or platforms. Then same compiler is used regardless if it's a vcl or a fmx project. You can even mix up both inside a program.

    With onboard means Vcl is  only available in win32 and win64, but with CrossVCL it can also be used for macOS and Linux targets.

    • Thanks 1
×