Forums > MaxMSP

Data to/from website

May 28, 2009 | 4:50 pm

Hi all,

I’m trying to make a patch which stores data coming from a serial input in a database, and then makes the data visible in a website.

I’ve managed to get the patch done up to the point where all the data is stored in a mysql database (thanks to the mysql object), and I can read the data out of the database again.

The problem is getting the data on a website. I’ve read some forums
about using the jweb object and I understand that some is possible.

My problem is that I’m a advanced maxer, but I know very little about JAVA and CSS, HTML etc.
Is there a way to get data from MAX onto a website/server without complex JAVA etc. programming?

thanks,
Kessito


May 28, 2009 | 5:29 pm

You can upload using FTP with [jit.uldl], have a look at the helpfile and documentation.

lh


May 28, 2009 | 5:54 pm

Thanks, that’s a very usefull tool, but not exactly what I needed:
I want to have a machine which runs MAX and acts as a server, it needs to put data from a database into something which is readable as a graph in a browswer.

A good thing would be that I could make the grapgh in max (with LCD) and then make that graph visible in a browser.

Kessito


May 28, 2009 | 7:09 pm

The [jweb] object is for displaying web pages in max rather than the other way around.

You could use the "writepict" message to [lcd] to save the contents as an image and then upload that using [jit.uldl]. Another way would be to create your image online using something like google charts. You’d have to format your information in max following the API and then use some PHP or javascript on your web page to display the image.

lh

http://code.google.com/apis/chart/


May 29, 2009 | 12:28 am

Thanks a lot, i’ll check it out.

Kessito


May 29, 2009 | 2:41 pm

You can also run a web server within MaxMSP, with data values populated by Max itself. See

http://www.loadbang.net/space/Software/net.loadbang.web


September 25, 2010 | 1:30 pm

Hi!
I am searching for a way to pass variables to jweb without reloading the page.
I’m really looking forward to this beacause I’m working with google maps routes and I can’t reload the page without loosing previous routes each time.
I tried several ways, including net.loadbang.web, but seems impossible to make a page reload the $variables without reloading the whole thing.
Anybody knows how?

Thanks!


Viewing 7 posts - 1 through 7 (of 7 total)