Skip to content

tumbleDryCode/evenflow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

- About:
evenflow is an abstract attempt to use the javafx browser, LAMP stack and android to deploy and maintain simple desktop,web,mobile applications.
Emphasis is on e-commerce software components and how they can be integrated to work together with minimal maintenance.
A working demo can be currently found here: http:///quickorder.eu5.net

- Quick Setup:
upload the whole project or the webdroid/assets/quickorder folder to your web site.
create a mysql database named evenflow.
open browser/db_schema.txt and import it to your database.
open quickorder/_p/do.php and edit the dbusername and password variables.
point your native web browser to http://...assets/quickorder/index.html
build and or install the android app apk.
in the browser/ folder launch the adminApp browser app.

- Build:
the build folder is boil/
the javafx, android app and web page compression are done from command line.
See boil/README.txt

- Structure:
/boil [builld folder]
/browser [main javafx browser app with spreadsheet panel]
/webdroid [android app]
/webdroid/assets/quickorder [android app content and e-commerce webpage]

- Javascript to Java Interface Bridge:
evenflow javafx browser and android app rely heavily onthe JSI_ javascript inerface files to interact with the WebViews, etc.
See using the javafx browser AppDB links on the webpage while running the javafx app for example.
Pages such as edit or view category will show the AppDB clickable link on left that will swap browser panel to editable spreadsheet style panel.



- User Interface:
Rendering of the user interface mostly relies on simple html and javascript, json.

- Database:
Import the db_schema.txt file found in browser/ folder to your database.
See webdroid/README.txt for info on interacting with your database.

- WorkFlow:
webdroid/assets is your e-commerce webpage. you can build it directly to your android app.
Your android app enhances your e-commerce webpage with camera and speech capabilites among others.
The javafx broser enhances your e-commerce web page with spreadsheet capablities.

- Changes:
Feb 30, 2019
-  boil/ folder added containing pages-scrips-classes to clean and build evenflow project.-
-  adminApp jar file added. read  browser/README for more info.
-.. adminApp javafx browser made more user friendly.
-  README.txt files added to most main project folders. [READ THEM. it may save you tons of time]
-  android main package changed to com.quickorder

Nov 19, 2019
-  have been made: the main file was index.php, but due to incompatibility issues with androids webview, it has been renamed to index.html. See the .htaccess file on how AddHandler is used to parse .html extension in php. You can also change your actual php.ini file to do this, but requires more steps.
- material icon html tags converted to use numeric reference (compatibility with javafx browser see reference here).

- TODO:
clean up and comment code.
clean up the UI.

- Credits:
Most of the credits for open sourced code that is used in this app is usually included in the code.
If you deserve some credit, let us know.