Page 1 of 4

JMG ALPHA 003

Posted: Sat Apr 02, 2016 11:49 pm
by Roberto Lopez
JMG (Javascript Mini GUI)

JMG is a JavaScript library.

The main goal of the project is to allow developers, the creation of responsive web applications using the same code for desktop and mobile devices.

Another goal is to simplify things, using only Javascript for coding, without the need of deal with HTML and CSS too. JMG apps can be contained in only one (Javascript) '.js' file.

Responsiveness (the capability to adapt to any screen sizes and orientations) are achieved using two approaches:

- The application can display itself using full page width on small screens and to display as dialogs on larger ones.

- The user can arrange widgets in grids filled with blocks containing the widgets. When there is enough space, the blocks are shown side by side. Otherwise they are shown stacked. You can test this, simply using the zoom of your desktop browser or using the device mode emulation of the Javascript console on desktop version of Google Chrome.

FIles description:

index.html: Main HTML page (app loader)
app/main.js: Main JMG demo (the only one so far)
lib/jmg.js: The JMG library
lib/jquery.mobile-1.4.5.min.js: jQuery Mobile library (the heart of JMG)
lib/jquery-1.12.1.min.js: jQuery library (the heart of jQuery Mobile)
css/jquery.mobile-1.4.5.min.css: jQuery Mobile CSS
php/select.php: server procedure (get a recordset from a table)
php/insert.php: server procedure (add rows)
php/delete.php : server procedure (delete rows)
php/update.php: server procedure (update edited rows)
data/people.sql : import this file on 'test' database for AJAX demo

Getting Started:

Simply double click 'index.html' file. Main demo will be open in your default browser.

For testing AJAX demo, you must install an AMP server (I'm using XAMPP) copy all JMG files to web root folder (htdocs in the case of XAMPP) and import data/people.sql in the database 'test'. Finally, your app, will be ready for testing (including AJAX) at 127.0.0.1.

Of course, you can put your app online in any standard web hosting or use any of the available tools for creating an Android or IOS application with it.

Compatibility:

jQuery Mobile, the wonderful library behind JMG is compatible with a lot of mobile and desktop web browsers, making your app, able to run almost anywhere.
Download: https://sourceforge.net/projects/jmg/

Re: JMG ALPHA 003

Posted: Sun Apr 03, 2016 6:14 am
by mol
Great! I''ll test it tomorrow!
Thank you!

Re: JMG ALPHA 003

Posted: Sun Apr 03, 2016 8:29 am
by serge_girard
Thanks Roberto !

Serge

Re: JMG ALPHA 003

Posted: Sun Apr 03, 2016 11:31 am
by Roberto Lopez
And...

You could use (ie) Apache Cordova to build applications for IOS, Android, Linux or Windows from your JMG project:

http://cordova.apache.org/#supported_platforms_section

Making, this way JMG multi-platform.

PS1: You could even build your app with a cloud service as PhoneGap: https://build.phonegap.com/

PS2: The future has already arrived... long ago :)

Re: JMG ALPHA 003

Posted: Sun Apr 03, 2016 1:37 pm
by Rathinagiri
That is so nice Roberto!

Re: JMG ALPHA 003

Posted: Sun Apr 03, 2016 11:01 pm
by esgici
Very nice :arrow:

Thanks maestro :D

Re: JMG ALPHA 003

Posted: Mon Apr 04, 2016 12:55 am
by Steed
Gracias

Re: JMG ALPHA 003

Posted: Mon Apr 04, 2016 2:40 pm
by danielmaximiliano
Gracias Roberto

Re: JMG ALPHA 003

Posted: Tue Apr 05, 2016 1:50 pm
by ASESORMIX
Que Buen Trabajo Sr.Roberto.
Muchisimas Gracias

Re: JMG ALPHA 003

Posted: Tue Apr 05, 2016 6:11 pm
by luisvasquezcl
Estimado Roberto,
Se ve bastante bien la libreria.
Tuve problemas para cargar datos via ajax. Alguien más le ha pasado lo mismo?.
Gracias por la nueva libreria.
saludos cordiales,
Luis Vasquez