Jump to content

Mohammed Nasman

uniGUI Subscriber
  • Posts

    340
  • Joined

  • Last visited

  • Days Won

    19

Posts posted by Mohammed Nasman

  1. I had problem with them with one of my clients, he's in Germany, but the VPS became very slow after few months of using, when I contact the support they didnt give any solutions, I had to cancel that VPS because it was really very slow, while CPU & ram usage are low for the client.

    But I have another 2 VPS with them, and they seems ok so far,

  2. The batch file as following:

    Backup.bat

    set datestr=%date:~6,4%-%date:~3,2%-%date:~0,2%
    
    "C:\Program Files\MySQL\MySQL Server 8.0\bin\mysqldump.exe" -uUser -pPassword --databases DB1 DB2 > f:\bk\Backup_%datestr%.sql;
    exit

    Then create a job on Windows Task Scheduler to run the batch file on daily basis, if the database on linux, create a cron job for it.

     

  3. 1 minute ago, picyka said:

    With all these options, the only way would be for the user to have an open browser, right?

    Sure, you are developing web application and it's only works when running inside browser.

     

    2 minutes ago, picyka said:

    And the simplest way would be to use a timer, right?

    Yes, if you found a firebase implementation, it will be so easy, for mobile apps, it's just few lines of code and everything will work fine.

    Take a look at this article:

    Quick And Easy Way To Integrate Firebase Into Your Delphi Apps

  4. This is what's called "Push Notifications", this done via different ways, the most popular one by using Google Firebase

    I'm not sure if some one has implemented that with Unigui, but we use it with mobile apps,

    The second options to implement this via websockets, as the Mohammed did.

    Last & less option via timer (heartbeat).

    • Like 1
  5. 2 hours ago, SergioFeitoza said:

           try

            SQL.Text := 'SELECT * FROM t_lastcalc';

            Open;

            Append;

              FieldByName('Fuel').AsString := tipo_projetoSTR;

              FieldByName('TypeOfPlant').AsString := tipo_plantaSTR;

            Post;

          finally

            Free;

          end;

     

    I use the same method with VCL & Unigui without problem.

    Actually, I have large application, built as VCL desktop, then I have create Unigui application, that share most of code with same DataModule shared between two application without problem.

     

    If you can attach a test case, I will look into it to see if you have any issue with your code

     

    PS: I use Unidac not  Mydac.

  6. Hello,

    I have Hyper_Server.dll running under IIS, the older build was 1539, and when I go to

    myserver/Hyper_serve.dll/server

    Everything is fine, I have tried to upgrade to newer 1545 version, the system running fine, but when I want to go to server details as:

    myserver/Hyper_serve.dll/server

    it raise this error:

    "uniSyncObj.xEncode is not a function"

    image.png.40e47708aee2089d59ed713496a91c46.png

     

    Both of them are 32bit dlls, I have restarted the server but the problem remain, but users can log to system and work without problems.

     

     

  7. On 8/13/2020 at 5:26 PM, RobertoLopes said:

    Must not be dificuult. I use sockets on my unigui applications all the time !

    @RobertoLopes, that was not what I meant, I was saying that I would like to Unigui implement NetCom as communication library to replace indy in Unigui, it will make it more scalable and faster.

  8. There's a new communication library for Delphi, and it claim to be much faster than indy, I may not sure if it's possible to add support with it to Unigui

    Quote

    The fastest communications possible.

    This is version 7.2 of the NetCom package. In this version, the NetCom package is now multi-platform! You can compile your apps under all platforms in FireMonkey!

    This set of components is the fastest possible implementation of socket communications, in any language; this is an extremely optimised code on TCP/IP sockets. Forget using a thread per connection: With this suite you can have as many concurrent connections to your server as you like. Threads are used per request and not per connection, and are maintained in a very fast thread pool class.

     

    https://github.com/DelphiBuilder/NetCom7

     

    • Like 1
×
×
  • Create New...