Introducing the “Welcome to Xojo” Bundle!

New to Xojo and looking for guidance? We've put together a terrific bundle to welcome you! Xojo Bundle

This bundle includes six back issues of the magazine -- all of year 21 in printed book and digital formats -- plus a one-year subscription (beginning with 22.1) so you'll be learning all about Xojo for the next year. It's the perfect way to get started programming with Xojo. And you save as much as $35 over the non-bundle price!

This offer is only available for a limited time as supplies are limited, so hurry today and order this special bundle before the offer goes away!

Article Preview

Buy Now

Issue 7.3


Connecting to Other Servers From Yuma

Issue: 7.3 (March/April 2009)
Author: Brad Weber
Author Bio: Brad Weber is a co-founder of Inspiring Applications, Inc. and has enjoyed 13 years of building custom software applications for Macintosh, Windows, the web, and now the iPhone.
Article Description: No description available.
Article Length (in bytes): 7,711
Starting Page Number: 50
Article Number: 7315
Related Web Link(s):


Excerpt of article text...

Yuma is a web development platform for REALbasic developers. In my previous Yuma columns, I've focused on features that are resident on the Yuma server, including session management and HTML form POST processing. But Yuma provides tools that you can use to reach beyond the resources of your server. In this column I've explored some options for integrating with services on other servers.

Database Access

Your Yuma scripts can connect to several types of databases when building dynamic database-driven pages, including MySQL, PostgreSQL, and SQLite (REALSQLDatabase). But, at least in the case of MySQL and PostgreSQL, those database servers don't need to be running on the same server that is serving your Yuma file. You'll use the Host property of the Database class to connect to the appropriate server. And you're not limited to a single connection or even a single type of server in your Yuma document, as you'll see in the code listing below:

...End of Excerpt. Please purchase the magazine to read the full article.