Eventually yes.rathinagiri wrote:In that case, can we mingle uhttp and websocket server so that we can use single Harbour server to produce both html and data over network?
But I'm not interested in generating dynamic html pages from a Harbour server. That is the classic/old model with all the problems related to sessions, security, speed and program logic.
The HMGSCRIPT idea is that the program logic be in the client with the server providing data services (basically: query, append, delete and modify tables).
In such context, we only need an http server to make our client applications available (html+javascript). Those applications will connect with a websockets server to manage data.
The beauty of this is that (eventually) we could change servers, from (ie) a Harbour websockets server to a PHP one, capable to manage MySql.
Despite this (of course) everyone can made their choice and use mixed programming models, but IMHO that will only make the things more complex.