Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 8. Databases

Chapter 8. Databases

REALBASIC 2005 SHIPS WITH A NEW DATABASE engine, based on the open source SQLite project (read more about it at http://www.SQLite.org/). The REALSQLdatabase class is the class you use to manage databases, and this replaces the legacy REALdatabase, which is still part of the distribution but is available only for backward compatibility. REALSQLdatabase is a subclass of the Database class, and the Database class provides a generic database API that can be used with more than just REALSQLdatabases. Professional edition users can also use plug-ins that provide the following classes: MySQLDatabase, PostgresDatabase, OpenBaseDatabase, OracleDatabase, Database4DServer and ODBCDatabase classes.

Fortunately, REALSQLdatabase is available to all users, and because it shares the same basic API as the other classes, you can readily create a project using REALSQLdatabase and upgrade to one of the other databases at a later time with minimal changes to your code. That is, of course, if you actually write any code when implementing your database. One of the greatest strengths of REALbasic is how simple it makes it to create, update, and modify databases, something that can easily be done without writing a single line of code, and in only a few minutes.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint