And.. stopping server generates an error too.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?)
HMGSCRIPT 2012: Programming For The Web in The Right Way :)
Moderator: Rathinagiri
- 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
Regards/Saludos,
Roberto
(Veritas Filia Temporis)
Roberto
(Veritas Filia Temporis)
- 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
I'm cleaning the (R013) server code (eliminating unneeded things) to make it easier to handle it and then eventually create a GUI.Roberto Lopez wrote:
And.. stopping server generates an error too.
Another thing to clarify is the error handling.
Regards/Saludos,
Roberto
(Veritas Filia Temporis)
Roberto
(Veritas Filia Temporis)
- 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
That's cool Roberto. I will wait. 
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.
- 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
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.
Enjoy!
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 )
- Attachments
-
- hmgs014.zip
- (837.92 KiB) Downloaded 298 times
Regards/Saludos,
Roberto
(Veritas Filia Temporis)
Roberto
(Veritas Filia Temporis)
- 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
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.
South or North HMG is worth.
...the possibilities are endless.
- 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
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.
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.
- Attachments
-
- tabla.zip
- (21.45 KiB) Downloaded 289 times
- 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
Nice nice ! congratulations !!! Very very good !
Muy bueno ! Genial !
Muchas gracias por compartir, Luis Vasquez !
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
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
- 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
Very interesting.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.
Could be very good if you could create server side functions for it, to handle dbf tables.
Regards/Saludos,
Roberto
(Veritas Filia Temporis)
Roberto
(Veritas Filia Temporis)
- 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
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,
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,
- 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
Sería una muy buena contribución para el proyecto.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,
Muchas Gracias.
Regards/Saludos,
Roberto
(Veritas Filia Temporis)
Roberto
(Veritas Filia Temporis)