Developing Applications with Xbasic
An index of pages relating to developing applications in Xbasic.
Xbasic is not a necessary component of your Alpha Anywhere application. It is quite possible for you to develop sophisticated applications without consciously using any Xbasic. You might, in fact, be using some behind the scenes when you use Action Scripting, but that is a topic for another book ( Introduction to Action Scripting ). Xbasic is an interpreted language much like Basic, which is found in many versions throughout the programming world. Xbasic has a similar vocabulary and syntax, and it is easy to learn. Its many built-in functions have intuitive, easy to understand names. This book is for the more adventurous developer, who wants to customize an application, beyond where the many interactive tools would normally take it. It is also for the developer, who wants to turbo-charge an application.
The Xbasic Reference is organized to present reference material in an orderly sequence, from the topics that everyone should understand to the topics that will stretch your technical skills. Having said that, we will attempt to provide relevant samples of working code that you can use as templates to speed your application development.
Database requirements are not always intuitively obvious. A structured approach to database development is always recommended.Where to find information: There are libraries full of relevant reference material. One book this author likes is Database Design for Mere Mortals, written by Michael J. Hernandez, printed by ADDISON-WESLEY.
This is critical. Bad design makes for poor performance, difficult maintenance, and lots of re-work.Where to find information: There are libraries full of relevant reference material. One book this author likes is Database Design for Mere Mortals, written by Michael J. Hernandez, printed by ADDISON-WESLEY.
This is the first step to implementation.Where to find information: Getting Started with Alpha Anywhere
Forms provide the record level user interface into the database. They provide a convenient way to make data entry, editing, and retrieval efficient and user friendly. Browses provide list views of the database (like a spreadsheet) and give the user a good way to scan multiple records at one time.
Xbasic scripts allow you to respond to data or events in ways that the Alpha Anywhere developers could not predict (and build into Field Rules). They allow you to consider sequences or combinations of data or events and respond in a customized manner: i.e. making a control appear or disappear, doing a calculation, or displaying a dialog box that asks for more information.
Both bubble help and compiled help make your application easier to use and less costly to support.
Alpha Anywhere allows you to generate reports that you print and mail, in the time-honored traditional. It also allows you generate reports in PDF format, and let your users print them (if they need to).
Email integration allows you to build data driven messaging applications: i.e. mail invoices, after pulling the address and detail information from your database. You can also receive messages via email, extract data, and store into your database.