Eavis / web_app

0 stars 0 forks source link

some hint on data process #27

Open Eavis opened 7 years ago

Eavis commented 7 years ago

All you need is to make an ajax request to your pythoncode. You can do this with jquery http://api.jquery.com/jQuery.ajax/, or use just javascript

$.ajax({ type: "POST", url: "~/pythoncode.py", data: { param: text} }).done(function( o ) { // do something });

Eavis commented 7 years ago

jquery-ajax doc http://api.jquery.com/jQuery.ajax/

Eavis commented 7 years ago

Python and AJAX tutorial for beginners with web.py and jQuery

https://kooneiform.wordpress.com/2010/02/28/python-and-ajax-for-beginners-with-webpy-and-jquery/

Eavis commented 7 years ago

File Upload widget with multiple file selection, drag&drop support, progress bars, validation and preview images, audio and video for jQuery. Supports cross-domain, chunked and resumable file uploads and client-side image resizing. Works with any server-side platform (PHP, Python, Ruby on Rails, Java, Node.js, Go etc.) that supports standard HTML form file uploads. https://blueimp.github.io/jQuery-File-Upload/

Eavis commented 7 years ago

Use Jquery to select data field

http://jqueryui.com/selectable/

Eavis commented 7 years ago

http://funwithlinux.net/2013/06/ajax-script-with-python-backend/

Eavis commented 7 years ago

Flask and ajax

http://www.giantflyingsaucer.com/blog/?p=4310

Eavis commented 7 years ago

https://stackoverflow.com/questions/23327293/flask-raises-templatenotfound-error-even-though-template-file-exists

Eavis commented 7 years ago

Flask程序托管至Apache并启用SSL

http://opjasee.com/2015/02/26/flask-hosting-on-apache-with-ssl.html