[Info-vax] HTTP and HTML File Upload Basics

Arne Vajhøj arne at vajhoej.dk
Wed Oct 21 19:37:19 EDT 2020


On 10/21/2020 5:01 PM, Jan-Erik Söderholm wrote:
> Den 2020-10-21 kl. 21:22, skrev Arne Vajhøj:
>> On 10/21/2020 11:27 AM, Jan-Erik Söderholm wrote:
>>> I'm currently building a test mobile applications (POC) using
>>> MIT App Inventor that first scans a product label (QR) and then
>>> makes Ajax calls to our VMS system to fetch information for
>>> display on the Android phone. Could be used on the factory floor
>>> to quickly lookup the status of an item. A lot of fun and it
>>> definitely makes “the old VAX” look better… 😊
>>
>> What do you use for the web services?
> 
> WASD as the web server frontend and PyRTE (Python Persistent Scripting)
> with Python scripts as the backend. By using PyRTE there is no overhead
> from the Python startup (which is usually 1-2 sec on our Alpha), the
> scripts stays loaded and compiled within the PyRTE process and respons
> times are done to 10s of ms. Well, you get the Python startup at first
> access when the PyRTE process is created, it then lives for as long as
> you have configured your idle time.
> 
> This works fine, we have built traditional web brower applications using
> Javascript using the same backend.
> 
> https://wasd.vsm.com.au/wasd_root/src/python/READMORE.HTML

Interesting. And definitely the way to go - CGI is rather costly
resource wise.

RPC style?
RESTful style?

Do you use a framework for the services like Flask?

Arne




More information about the Info-vax mailing list