Mohammed Nasman
-
Posts
340 -
Joined
-
Last visited
-
Days Won
19
Content Type
Profiles
Forums
Events
Posts posted by Mohammed Nasman
-
-
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,
-
If you still interested on getting ExtjS/Unigui developer, I'm interested, I have converted many UI/UX design into Unigui & ExtJS.
-
كل عام وأنت بخير
ينعاد علينا وعليكم بالخير والبركات إن شاء الله
- 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.
-
10 hours ago, SergioFeitoza said:
My Unigui code is running as a service i tne web. It uses a small MySql database . How to do a code to backup dayly the database, for example a a *.sql file ?
I use a batch file that uses mysqldump.exe & Windows Task Scheduler.
-
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
-
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).
- 1
-
Great, glad that your problem has been solved ;-)
- 1
-
Are you using CachedUpdate property?
May you have a transaction without commit?
As I said before, calling Query.Post will save data immediately to Mysql from Unigui app.
try to start new project with one form that add data to one table on mysql, and try to see if it will do the update or not, if not, please post here so we can check it with you.
-
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.
-
Yes, that's the problem
I installed it, but was no recycled the pool, after recycling it worked fine.
I thought I can use newer Hyper_Server version without the newer runtime, because the application still compiled with older version.
-
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"
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.
-
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.
-
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
QuoteThe 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.
- 1
-
Hello, I have used approach 2, but moved to 3.
I'm using forms but embedded inside panel as it a frame, I only use frames for static data that will be shared across many forms.
Forms has much more features and events, for example I use OnShow event to prepare some data
- 2
-
اهلا عبد الله وعوض
-
The support for Delphi 10.4 just released
- 1
-
Removing ARC, will not affect the current win32/win64 compiler, only for mobile and Linux.
10.4 removed ARC ,this may means a lot of codes need to check.......
-
I found the problem
It related to property: "BrowserOptions"-> boDisableMouseRightClick
It was set to true on both my application & AllFeaturesDemo
But still not sure why it was working fine on iOS but not on Android :-/
Anyway, it's good they can now copy & paste :-D
- 1
-
The problem only exist with classic controls when they used by last versions of Chrome and edge on Android.
-
It's offline too.
Are you building it using modern or classic?
-
Seems it's offline.
You can test on unigui samples online
http://prime.fmsoft.net/demo/desktop/mdemo65.dll
Just find any form that has textboxes and try to copy the text inside it.
-
1 hour ago, Farshad Mohajeri said:
How about "any" web app running in Chrome?
I tested it on many application, even with Extjs samples like Kitchen sink and others, the copy & paste working fine with all, except with Unigui applications :-/
-
Salamat Mohammed,
Even without any code it doesn't work, just try any sample from Unigui.com and see.
Separate uniGUI application and database server
in General
Posted
I do the same with Unidac from DevArt.
I have dedicated server for hosting, and another server for Mysql server.