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

Moderator: Rathinagiri

User avatar
Roberto Lopez
HMG Founder
Posts: 4023
Joined: Wed Jul 30, 2008 6:43 pm

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

Post 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.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
Roberto Lopez
HMG Founder
Posts: 4023
Joined: Wed Jul 30, 2008 6:43 pm

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

Post 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.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
Rathinagiri
Posts: 5481
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

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

Post by Rathinagiri »

That's cool Roberto. I will wait. :)
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
Roberto Lopez
HMG Founder
Posts: 4023
Joined: Wed Jul 30, 2008 6:43 pm

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

Post 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!
Attachments
hmgs014.zip
(837.92 KiB) Downloaded 298 times
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
Rathinagiri
Posts: 5481
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

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

Post by Rathinagiri »

Thanks a lot Roberto. It is nice improvement.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
luisvasquezcl
Posts: 1261
Joined: Thu Jul 31, 2008 3:23 am
Location: Chile
Contact:

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

Post 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 4013 times
Attachments
tabla.zip
(21.45 KiB) Downloaded 289 times
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

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

Post by Pablo César »

Nice nice ! congratulations !!! Very very good !

Muy bueno ! Genial !

Muchas gracias por compartir, Luis Vasquez !
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
Roberto Lopez
HMG Founder
Posts: 4023
Joined: Wed Jul 30, 2008 6:43 pm

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

Post 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.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
luisvasquezcl
Posts: 1261
Joined: Thu Jul 31, 2008 3:23 am
Location: Chile
Contact:

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

Post 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,
User avatar
Roberto Lopez
HMG Founder
Posts: 4023
Joined: Wed Jul 30, 2008 6:43 pm

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

Post 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.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
Post Reply