Page 16 of 28

Re: HMGSCRIPT 2012: Programming For The Web in The Right Way

Posted: Wed Jun 13, 2012 7:27 pm
by Roberto Lopez
rathinagiri wrote:Hi Roberto,

I could compile and run the websocket server with GUI after enabling -mt in HMG build.bat and manually calling from the project folder. :)

I have attached the whole project folder along with the executable. Everything is working fine but when I press the disconnect button the following error is fired. ( I think this one is not captured in console mode?)
And.. stopping server generates an error too.

Re: HMGSCRIPT 2012: Programming For The Web in The Right Way

Posted: Thu Jun 14, 2012 1:47 am
by Roberto Lopez
Roberto Lopez wrote:
And.. stopping server generates an error too.
I'm cleaning the (R013) server code (eliminating unneeded things) to make it easier to handle it and then eventually create a GUI.

Another thing to clarify is the error handling.

Re: HMGSCRIPT 2012: Programming For The Web in The Right Way

Posted: Thu Jun 14, 2012 2:14 am
by Rathinagiri
That's cool Roberto. I will wait. :)

Re: HMGSCRIPT 2012: Programming For The Web in The Right Way

Posted: Thu Jun 14, 2012 4:44 am
by Roberto Lopez
HMGSRIPT R014

Now, the server starts as a 'minimized to tray' GUI mode application.

I've added two new server functions, cleaned a little the code and modified server demo.

Code: Select all

APPEND: (Server Function)
-------------------------

Appends a record.

Syntax:

	Append( cTable , aColumns , aValues )



ERASE: (Server Function)
------------------------

Erases a record.

Syntax:

	function Erase( cTable , cForExpr )

Enjoy!

Re: HMGSCRIPT 2012: Programming For The Web in The Right Way

Posted: Thu Jun 14, 2012 3:06 pm
by Rathinagiri
Thanks a lot Roberto. It is nice improvement.

Re: HMGSCRIPT 2012: Programming For The Web in The Right Way

Posted: Thu Jun 14, 2012 3:38 pm
by luisvasquezcl
Hola estimados,
les dejo mi clase tabla.
Con ella pueden mostrar registros en una tabla, mostrarlos por pagina, agrega, modificar, borrar registros.
Espero sea de utilidad.
Saludos cordiales,
Luis Vasquez.
tabla.JPG
tabla.JPG (112.05 KiB) Viewed 4009 times

Re: HMGSCRIPT 2012: Programming For The Web in The Right Way

Posted: Thu Jun 14, 2012 5:11 pm
by Pablo César
Nice nice ! congratulations !!! Very very good !

Muy bueno ! Genial !

Muchas gracias por compartir, Luis Vasquez !

Re: HMGSCRIPT 2012: Programming For The Web in The Right Way

Posted: Thu Jun 14, 2012 5:16 pm
by Roberto Lopez
luisvasquezcl wrote:Hola estimados,
les dejo mi clase tabla.
Con ella pueden mostrar registros en una tabla, mostrarlos por pagina, agrega, modificar, borrar registros.
Espero sea de utilidad.
Saludos cordiales,
Luis Vasquez.
Very interesting.

Could be very good if you could create server side functions for it, to handle dbf tables.

Re: HMGSCRIPT 2012: Programming For The Web in The Right Way

Posted: Thu Jun 14, 2012 7:00 pm
by luisvasquezcl
Roberto,
tengo un demo con php y dbf, voy a ver como implementarlo.
aun me queda por implementar para leer json y podría ser la
alternativa.
saludos cordiales,

Re: HMGSCRIPT 2012: Programming For The Web in The Right Way

Posted: Thu Jun 14, 2012 7:28 pm
by Roberto Lopez
luisvasquezcl wrote:Roberto,
tengo un demo con php y dbf, voy a ver como implementarlo.
aun me queda por implementar para leer json y podría ser la
alternativa.
saludos cordiales,
Sería una muy buena contribución para el proyecto.

Muchas Gracias.