I would like to be able to go to a webpage select a few options and then run a command line script with those options. Is this possible with qooxdoo?
Asked
Active
Viewed 114 times
1 Answers
1
Of course, but you will need a few additional pieces. You can create the web page with qooxdoo, e.g. using qooxdoo's form elements (qx.ui.form.*). You then need a backend you can submit the form data to (any old Apache will do, as will a Node.js server). In the backend you will need some custom code to create a subshell and run the command on it (e.g. with PHP, mod_perl, mod_wsgi, ..., JS), adding in the options from the web form.

ThomasH
- 22,276
- 13
- 61
- 62
-
without the form, how can I run a command line script, when a webpage is visited. Or a simple button is pressed. Let's say the script will always be the same. – Siecje Feb 12 '13 at 18:11
-
The answer is the same: The web page has to notify the server, and the server can invoke the command line script. – ThomasH Feb 15 '13 at 11:03