From Wikipedia, the free encyclopedia
  (Redirected from REALbasic)
Jump to: navigation, search
Xojo Company Logo.png
Xojo Integrated Development Environment.png
Developer(s) Xojo, Inc.
Stable release Xojo 2014r2.1
Operating system Mac OS X, Microsoft Windows, Linux
Available in English, Chinese, Japanese
Type Programming
License Proprietary software (Commercial software or shareware)
Website xojo.com

Xojo is a programming environment developed and commercially marketed by Xojo, Inc of Austin, Texas for software development targeting Mac OS X, Microsoft Windows, 32-bit x86 Linux, as well as the web. Xojo uses a proprietary object-oriented programming language, also known as Xojo. Xojo has announced forthcoming support for building mobile apps.[1][2]

Using Xojo, developers can create applications by using drag-and-drop to build their user interface and then use one programming language to enable the functionality of their application cross platform.


Geoff Perlman founded development tools company, Real Software,[3] in 1996.

In 1998 REAL software bought CrossBasic, which had been marketed by its author Andrew Barry as a shareware product. CrossBasic got its name from its ability to compile the same programming code for Mac OS and the Java virtual machine (although the integrated development environment was Mac only). A public beta was released in April 1996.[4]

Prior to REALbasic version 2, the Java target was dropped and later replaced with a Windows target and database support.[5][6] After RealBASIC had gained a reputation for enabling inexperienced developers to release poorly-written software,[7] the name was changed once more from RealBASIC to Real Studio.[8] The option to compile for Linux[9] was added in 2005 and the IDE was ported to Windows and Linux platforms.

In 2010 Real Software announced Real Studio Web Edition, allowing developers to compile web applications without the knowledge of multiple web technologies.[10]

On June 4, 2013 Real Software officially changed their name to Xojo, Inc. and Real Studio was renamed Xojo.[11] Also on this date they released Xojo 2013 Release 1, which was their biggest release to date, including an all-new user interface, full support for Cocoa on OS X, improved support for web applications, all new documentation and a new "Introduction to Programming Using Xojo" textbook[12] that was designed for beginners to learn the fundamentals of object oriented programming.[13]

The Xojo IDE is currently available for Microsoft Windows, Mac OS X, 32-bit x86 Linux,[14] and can compile applications for Windows (Windows XP and higher), Mac OS X (running on Intel-based Macs using the Cocoa frameworks), 32-bit x86 Linux, and the web, with support for iOS coming in 2014. Xojo is self-hosted: the Xojo IDE is built with the current release of Xojo.[15]


Xojo supports inheritance, interfaces, polymorphism and is strongly-typed. Xojo abstracts developers from platform-dependent API calls, dramatically reducing development time.[16]

The built-in framework supports:

Example code[edit]

This example writes to a new text file:

Dim t as TextOutputStream
Dim f as FolderItem
f=GetSaveFolderItem(FileTypes1.Text,"Create Example.txt")
If f <> Nil then
End if

This example draws a triangle in a Canvas control. It is placed in the Paint event. The parameter g as Graphics is passed into this event:

Dim Points() as Integer
g.FillPolygon Points

The following code connects to a database and uses SQLExecute to insert a record into a table:

Dim dbFile As FolderItem
Dim db As New SQLiteDatabase
dbFile = GetFolderItem("Employees.sqlite")
db.DatabaseFile = dbFile
If db.Connect Then
  db.SQLExecute ("INSERT INTO Employees (Name,Job,YearJoined) VALUES "_
  If db.Error then
    MsgBox("Error: " + db.ErrorMessage)
  End If
  MsgBox("The database couldn't be opened. Error: " + db.ErrorMessage)
End If


XojoScript is a scripting language which is similar to, and shares many features with, Xojo. They are both object oriented, support modules and use almost identical datatypes (Xojo has some differences, mainly for compatibility with some C APIs). XojoScript is mainly used to script applications written with Xojo, and (from the 2006r1 version) is also used in the Xojo IDE.

Compared to the different scripting languages that can still be used with Xojo (thanks to the ability it offers to call C APIs), XojoScript can be better integrated into applications made with Xojo by the possibility it has to call the methods and to use the properties of the object passed to the script parser and compiler.

Example Code[edit]

This sample code asks the host program for a number and doubles it:

Dim Value As Integer
Value = Val(Input("Which number?"))

It's up to the host program to decide how to implement the callback methods called from Input() and Print() - XojojScript just expects the first method to return a string and accept a string parameter, and the second one to accept a string parameter. Usually, the program would prompt the user presenting the string passed from the script, and returning the user input to the hosted script.

Current editions of IDE[edit]

The Xojo IDE is free to use for learning and development. Deploying applications with Xojo requires a license. Multiple license levels are available for purchase, enabling Desktop, Web, Console and Database Access. Licenses can be purchased a la carte, in any combination required. Also available is Xojo Pro, which is a bundle that includes added support, guaranteed beta program access, access to a special Xojo Pro-only forum, 3x Feedback multiplier when ranking support cases, access to consulting leads, and a license that will work on 3 machines.[17]

Unlike most programming environments, project source code is not by default stored in plain text files, but in a proprietary format embedded in the project file itself. However, source code can be saved to a plain-text format for use with version control systems and can be exported to XML format as well.

A Xojo license provides the ability to build with any version of Xojo released during the year the license is valid. When the license expires the user can continue to build with those versions but can't build with newer versions of Xojo until they renew their license.

Xojo Cloud[edit]

On March 11, 2014 Xojo launched Xojo Cloud, their cloud hosting service for Xojo web applications.[18] Xojo Cloud includes several layers of security. Xojo Cloud has a smart firewall that watches the traffic coming in to the Xojo Cloud server and looks for patterns that indicate a cracker is attempting to gain access. It can then lock the cracker out before they get in. Xojo Cloud also employs an Intrusion Detection System (IDS) that looks for cracking activities. When a cracker is detected, the IDS locks them out. If the cracker gets past these first two layers, Xojo can see which files were changed. This allows them to improve the firewall and intrusion detection and aids in restoring from a backup. Xojo Cloud uses Security-Enhanced Linux—employing United States Department of Defense-style Mandatory Access Controls (MAC) which helps protect the OS itself from being cracked.[19] A Xojo Pro or Web license is required to use Xojo Cloud.

See also[edit]


  1. ^ Xojo (June 4, 2013). "Xojo Press Release". Xojo. Retrieved 2013-06-08. 
  2. ^ Xojo (June 4, 2013). "Announcing Xojo, Faster Development for the Web and Desktop". Yahoo News. Retrieved 2013-06-08. 
  3. ^ Howe, Guyren G (2004). "REALbasic Best Practices: An Interview with Geoff Perlman". MacTech. 
  4. ^ "PR--RealBASIC". 
  5. ^ "REALbasic 2.0 Shipping". 
  6. ^ "REALbasic 2.0 Standard Edition Review". 
  7. ^ "RealBasic Doesn't Mean Bad". "On the other hand, since RealBasic is relatively simple to use, many beginning programers are able to get their programs to a stage where they can release them to the world. The catch is that some of those programs really need more work before they are ready to be released. As a result, many people now have a bad impression of _all_ programs created with RealBasic." 
  8. ^ "REALbasic Name". 
  9. ^ "Real Software on Linux". jupiter broadcasting. 
  10. ^ Frank, Ohlhorst (June 2011). "3 Tools to Accelerate Web Development". IDG. Retrieved 2011-06-17. 
  11. ^ Xojo (June 4, 2013). "Xojo Press Releases". Xojo. Retrieved 2013-06-08. 
  12. ^ Xojo (June 4, 2013). "Review: Xojo Book Download Page". Xojo. Retrieved 2013-06-04. 
  13. ^ Xojo (June 4, 2013). "Xojo Release Press Release". Xojo. Retrieved 2013-06-08. 
  14. ^ Barr, Joe (August 4, 2005). "Review: REALBasic 2005 for Linux". Linux.com. Retrieved 2010-02-09. 
  15. ^ Xojo (June 4, 2013). "Review: Xojo Company Overview". Xojo. Retrieved 2013-06-04. 
  16. ^ Xojo (June 4, 2013). "Xojo Looks To Make Web, Desktop App Development Faster". Tech Pulse. Retrieved 2013-06-08. 
  17. ^ Xojo (June 4, 2013). "Xojo Store Information". Xojo. Retrieved 2013-06-08. 
  18. ^ "Xojo Announces Xojo Cloud For Deployment Of Web Apps". Mac News. March 11, 2014. Retrieved 2014-03-13. 
  19. ^ "About Xojo Cloud". Xojo, Inc. March 11, 2014. Retrieved 2014-03-13. 

External links[edit]

  • Xojo, Inc., makers of Xojo
  • XojoNews, unofficial Xojo and cross-platform development news