Update- Blog moved to: http://saleemabdulhamid.com/blog/2009/12/server-communication-tutorial-for-280atlas-and-cappuccino
Link to original: http://www.youtube.com/watch?v=shP7GCfz6vY
The test.php server script just has the following code:
<?php$input=$_GET["input"];$output = "The number is: ".$input;echo $output;?>
Obviously, if you wanted, you could be accessing your database, etc. in the script and you can also echo JSON formatted data, and check the Cappuccino documentation for some methods that create CP arrays from JSON objects.
Will you be putting the source code for this tutorial on Github?
ReplyDeletehmmm... unfortunately, I'm afraid I slapped it together for the video and then deleted the code- kinda stupid of me.
ReplyDeleteIn this case, there's not much there anyway, I'd be happy to help with anything if you can't duplicate what I did.
Next time, I'll try and remember to post the source :)
Thanks, you got me on the right track
ReplyDelete