Re: OS9 and HTTP
Re: OS9 and HTTP
- Subject: Re: OS9 and HTTP
- From: Glenn Martin <email@hidden>
- Date: Mon, 02 Oct 2006 19:46:59 -0400
A UI is simple as all we would want is a dropplet. Is Marionet a peice
of software you can still get legit copies of? is so, where. URLAccess,
what exactly is the limit on POSTing to a page using the default call?
We are never talking more then a few hundred kilobytes of XML containing
plain text.
As for AS as CGI, how specifically does that work?
Glenn Martin
--
http://www.technicalstressings.com
http://www.nuix.org
http://www.xargos.com
Chilton Webb wrote:
Hi Glenn,
On Monday, October 02, 2006, at 02:36PM, Glenn Martin <email@hidden> wrote:
The company i am working for has a contract requiring us to get data
>from an OS9 Mac to a website using AppleScript. We can get the data out
of Quark and in to XML, now we just need to send it to a PHP script via
SOAP/XMLRPC or HTTP Post. How would i go about this? Is there a way to
do this via AppleScript? or maybe a Java app to call the AppleScript
then have the Java controlling App Upload?
Personally, I'd use an older copy SuperCard to do this (not the Universal Binary, for obvious reasons). It's easier than AppleScript, and lets you design real UIs for both. Apps run in both OS9 and OSX with no recompile. And if you were to use SC, I'd recommend the HTTP external, or any of the network externals that support the HTTP protocol.
Barring that, the next easiest way to do this would be with Marionet, which is a (discontinued) OS9 utility for general networking. It's fast, robust, and has a very nice AppleScript suite.
And as a last resort, as in, if I had no money to spare on any of this, I'd just use the URLAccess stuff in OS9. It lets you send HTTP Post data from an AppleScript, and is built into the OS.
And if you ever need to host a server, use the built-in OS9 Web Sharing. You can specify AppleScripts to be run as CGIs from it, and is extremely robust.
-Chilton
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden