Jump to content

Ruslan

uniGUI Subscriber
  • Posts

    161
  • Joined

  • Last visited

  • Days Won

    4

Posts posted by Ruslan

  1. Hello,

     

    I created my app using sample "windows" style desktop app which source found here. How to implement like "MDI" style to prevent window overlap bottom and top borders?

     

    08.27.2018-04.33.png

     

    Form should be under top and bottom panel when user move it over "desktop". And other situation - form should abut all the boundaries of the browser when user moving it

     

    08.27.2018-04.43.png

  2.  

    Можете сориентировать, сколько стоит в месяц держать сервер под юнигуи на ажуре? предположим что нужно 8гб оперативки и 4 ядра проц + нужна еще база Postgre, ее там же можно будет развернуть? домен можно будет прикрутить свой и к ажуре? я так понимаю помимо того, что описано у вас в статье, нужно еще у домена в днс прописать IP сервера?

  3. The node.js server listens on a port, and when you open up the firewall it is exposed and will be able to take client connections.

     

    The form which should show the message, is the form with the uniHtmlFrame running the JS code.

    You can process the message in the htmlFrame, as a chat box, or you can send it to the server and

    show it from there, save it etc.

     

    Since the socket.io client is written in JS, which runs only in the browser or in node.js, you have to

    go through one of these. You can push messages locally into the node.js server in different ways,

    but that would be the way to go, if you cannot send it from one of the clients.

     

    In the example above, the client should of course only connect to localhost when testing, and

    be pointed to the actual IP or domain of the live server when in production.

     

    looks like I will process which message show to this client on client side? but it will be thousands messages from different client and only 1 from 100 I should show to client. Also it maybe not secure to send all messages to client which should not know any information from this messages.

  4. There is no websocket component in Unigui yet, but you may be able to use socket.io with node.js:

    
    

    You will also need to add socket.io.js to the CustomFiles in servermodule and of course set up the node server.

     

    Thank you very much! how to use this from EXE file on another server where just only exe-file without unigui? Will I able to connect node.js server from internet? Also I do not quite understand how to check which MainForm shoud show this message and which not (if message only for several active clients from all). It would be greate to have demo application - unigui + separate exe-file with button "send message to unigui client N1". I can pay for this work.

  5. What I have:

    1. Some background threads which work at server and post log information to DB

    2. Users which need to see information from log after it added

     

    How to provide information to user? I can start timer on Client and every 5 sec check DB - but if will 20 clients - it will be too many requests to DB. Can I start timer at server (1 for all users) and send information to client browser if exists message for this client? How to verify at server which user connected and send message to him?

  6. UniGUI - it is fully consistent with ideas of Delphi - fast application development. It has never been so easy to develope web application - even I'm do this, low level developer, do this in the same way as a usual application for Desktop. TMS Web - this is an attempt to make in Delphi application like in Java or .Net - it does not need anyone. Which idiot will spend 5000 euro per licence if he can use free Java and have many more developers which can develope webapplication in Java.

  7. Ruslan

     

    Don't have to be expensive. Depend on amount of cores you need. These are legal license and i buy them also there.

    https://www.google.com/search?tbm=shop&q=windows%202016%20sever%20license#spd=15133507900565528223&spf=1523045369736

     

    for a VPS server you don't need a Windows Server license..that's included

     

    Yes, VPS is good, but I use Windows Services and my app run additional EXE files - these I will not able do on vps

     

    About Windows Surface - display resolution 2256 x 1504 - it is more than my 27" monitor. I thought that adaptive design is using only for small resolutions and in most case only for view data. I'm not against Responsive design but it can be implemented after more important things. No one need you SaaS with AD, when you can't process more than 100 online users.

×
×
  • Create New...