

Mats Olsson
Forum Replies Created
-
Mats Olsson
MemberDecember 3, 2024 at 4:46 am in reply to: Recommended Cloud Architecture for OmnisIf you have further hints, please feel free to let me know!
Use Webmin for an admin interface on your VPS. And in some cases systemd can be helpful to start and restart services automatically.
-
Mats Olsson
MemberNovember 30, 2024 at 7:42 am in reply to: Recommended Cloud Architecture for OmnisI need recommendations for a suitable architecture to run an Omnis Server, a Web Server and a Postgres Server ‘in the cloud’, i.e. on a dedicated server, virtual server or a cloud infrastructure as AWS.
I recommend UpCloud as it has very predictable pricing from USD 3.3, nice admin interface and you can use “internal IP-addresses” (which IONOS does not offer in some plans). And upon this UpCloud is GDPR compliance, that not either Google, AWS or Azure can offer AFAIK. And they have servers in Germany as well. And IONOS have an admin interface from the last century.
Would you rather recommend containerized services for Web server, Omnis Server and Postgres, or a straight installation of these 3 programs on server
Using Docker is good, but I think it is overkill IMO. Docker adds an extra complexity not needed in many cases. Using Nginx as load balancer directly may be way simpler.
MS Windows Server, or what blend of Linux? Apache, IIE or NGINX?
I have tried both Windows and Linux Debian. And comparing them is like comparing a big slow truck and Tesla. Running Debian for 10 years without needing for restart. Windows server I had to restart every fortnight. The Debian release life cycle encompasses five years, the first three years of full support followed by two years of Long Term Support (LTS).
And I am using Nginx. Smaller, faster and simpler than Apache. And you can use Nginx as load balancer, rate limiter and proxy.
Or is there already a ready-made container for 3-in-1?
Web apps are IMO safer if they are split up in different VPS (containerization plus). And I am experimenting with several separate servers. One for the application. One for the API and one for Postgresql. Only the Web app is reachable via internet. API and database are completely locked for external access. Only via internal IP-addresses. Which is less vulnerable. And gives lower latency. And this is possible on my UpCloud servers. Not possible in my IONOS servers (used for testing purposes only).
-
This reply was modified 8 months ago by
Mats Olsson.
-
This reply was modified 8 months ago by
-
Mats Olsson
MemberJune 15, 2024 at 5:35 am in reply to: How to Improve Page Load Times in Omnis Studio Web Applications?“What strategies or techniques have you found effective in improving page load times in Omnis Studio web applications?”
I am exploring SPA right now. Which means that you only redraw parts of the page when you need.
And putting Cloudflare in front of your app may cache your pages better.
FWIW…
-
I was told to avoid inline styling. But maybe it is not possible to link a stylesheet in Omnis?
https://jsfiddle.net/osac0g6x/
-
This reply was modified 1 year, 8 months ago by
Mats Olsson.
-
This reply was modified 1 year, 8 months ago by
-
And this forum prohibits from edit more than once? So another option is to temporarily store the image on the disk and read this image from within Omnis.
Sharing variables across languages is possible but harder, using cookies is one way. Store a cookie using Javascript and read it from Omnis? But this way is not suitable for big images.
-
This reply was modified 1 year, 8 months ago by
Mats Olsson.
-
This reply was modified 1 year, 8 months ago by
Mats Olsson.
-
This reply was modified 1 year, 8 months ago by
Mats Olsson.
-
This reply was modified 1 year, 8 months ago by
-
I cannot speak about Omnis, as I still am in the thick world. But generally you have two options to get a picture. Link or embed.
Link means a linking to a “bild.png” in a folder like /img/bild.png
Embed means to store it within Omnis in $userinfo or similar (ask Götz or Andreas about this)
-
This reply was modified 1 year, 8 months ago by
Mats Olsson.
-
This reply was modified 1 year, 8 months ago by
-
And your Javascript question was?
-
“Weiß jemand, wie ich, den vom Programm selbstgenerierten CSS-Code abstellen kann. Ist sehr unansehnlich. MfG.”
AFAIK it is only to type as in a mail. It is almost impossible to read your text. Try another browser?