Mobile app version of vmapp.org
Login or Join
Marchetta884

: Framework for interaction between web-page and server-side script I want to make a web-page that will have several controls elements, among which there are elements like check-boxes, radio-buttons,

@Marchetta884

Posted in: #Ajax #WebDevelopment

I want to make a web-page that will have several controls elements, among which there are elements like check-boxes, radio-buttons, "range selectors" (one can specify the min and max value, like it is done when you select range for prices in the online markets). The new values shall be sent to the "server-side", once changed (without any Submit buttons etc), and the "server-side" can return something (one or more numbers, etc).

Does anyone know a good ajax-like framework that allows (with minimal adaptation / changes) to make such solution in an easy way? It will be good if the server-side of existing solution will be in Perl (not a big deal, but I know it much better than PHP or something else). Set of controls might change and depend on other parameter, so adding one extra element should not cause rewriting the whole thing.

P.S.: I haven't working in this area for quite a while, so not aware of existing solutions in this area, and don't want to invent the wheel and write everything from scratch for something that already exist (at least, I hope so).

Thanks in advance!

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Marchetta884

1 Comments

Sorted by latest first Latest Oldest Best

 

@Angie530

you have so many options here there is no good place to start.

If you want to keep it extremely simple then use Jquery for the front end (html, ajax calls), and have it post data to a script (what you call server-side). The script can be, php, asp, cold-fusion, perl, python, or whatever else you want to code in.

To make the values save on edit, you bind each control (radio, select, etc) to an onchange event that fires the ajax update. Again so many ways to do this.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme