maxpetruk Posted December 3, 2012 Posted December 3, 2012 In case with VCL, I will use the database events, when table has update, the database sends messages Event with the parameter target (get all the customers, and updated those with a matched parameter, such as the client's unique identifier) If such an application uses a n-tier architecture, as in my case, access to middleware, this way there is no problem, but when it starts HTTP protocol problem here because it is one-directional. I know there are various tricks to implement some model of bi-directional communication server to the client: long polling, commet, reverse ajax - (can be read on Wikipedia) and there is a new technology as part of the standard HTML5 -websockets which apparently does provide the mechanism of communication. Even there are components for Delphi. How to implement it with UniGui, I asked the question but unfortunately no answer it: http://forums.unigui...-server-client/ I hope there will be people who still will clarify this important topic Quote
cristianotestai Posted December 4, 2012 Posted December 4, 2012 In case with VCL, I will use the database events, when table has update, the database sends messages Event with the parameter target (get all the customers, and updated those with a matched parameter, such as the client's unique identifier) If such an application uses a n-tier architecture, as in my case, access to middleware, this way there is no problem, but when it starts HTTP protocol problem here because it is one-directional. I know there are various tricks to implement some model of bi-directional communication server to the client: long polling, commet, reverse ajax - (can be read on Wikipedia) and there is a new technology as part of the standard HTML5 -websockets which apparently does provide the mechanism of communication. Even there are components for Delphi. How to implement it with UniGui, I asked the question but unfortunately no answer it: http://forums.unigui...-server-client/ I hope there will be people who still will clarify this important topic Hi, I work with chat in my project using a combination of Datasnap and UniGui. First, see the chat demo that comes with delphi using Datasnap. Then you need to adapt your need with Unigui to the client side. This week I'm very busy, but I'll try better detail as I do. Quote
maxpetruk Posted December 6, 2012 Author Posted December 6, 2012 Hi, I work with chat in my project using a combination of Datasnap and UniGui. First, see the chat demo that comes with delphi using Datasnap. Then you need to adapt your need with Unigui to the client side. This week I'm very busy, but I'll try better detail as I do. Ок, Thanks for responce in anyway) Quote
Mauri Posted January 10, 2018 Posted January 10, 2018 I need to implement this chat feature in the system and would like to know if anyone could implement this using UNIGUI? Any suggestion is welcome! Quote
itognet Posted January 15, 2018 Posted January 15, 2018 you can implement a chatclient, https://www.tawk.to/in about 2 minutes 1 Quote
Rebelss Posted March 26, 2019 Posted March 26, 2019 On 1/15/2018 at 2:03 PM, itognet said: you can implement a chatclient, https://www.tawk.to/in about 2 minutes Can you post an example ? please ? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.