Database Programming with OpenOffice.org Base & Basic

Database Programming with OpenOffice.org Base & Basic
by Roberto Benitez

Database Programming with OpenOffice.org Base & Basic
List Price: $39.95
Our Price: $31.54
You Save: $8.41 (21%)
Availability: Usually ships in 24 hours
Buy Used: from $27.54 (click here)
Category: Book
See more book details and other editions


or

Book Summary Information

Author: Roberto Benitez
Edition: Paperback
Audio: English (Unknown); English (Original Language); English (Published)
Published: 2008-09-10
ISBN: 0557007585
Number of pages: 352
Publisher: Lulu.com

Book Reviews of Database Programming with OpenOffice.org Base & Basic

Book Review: Great for Java Programmers Too!
Summary: 5 Stars

This is a fantastic book.

I use this book to program in Java. I feel it is as good at instructing Java and C++ for an experienced programmer as it does for the Basic programming language. I do not know Basic very well but the code examples act as concise pseudo-code which lets me know where to start and where I need to go. As I will explain latter it is easier to read the example code for understanding than it is to read Java or C++ code fragments.

If you do not know anything about programming OOo with Java, you will need to download and install the SDK from OOo web site and I strongly recommend downloading the Developer Guide PDF. Of note: OOo Developer Guide 2.3 seems to be missing documentation for mail merges which this book contains a section which was very useful. Also, you must study and run several of the example programs provided in the SDK so you understand and are comfortable with the UnoRuntime.queryInterface method.

Programming Java with OOo is challenging at the very beginning... this is because of the UNO architecture which OOo has used for it's API. Once you are past this short initial learning stage, things become much smoother. The main thing to learn is that unlike Basic, Java is very concerned with type... We know this of course (if you are a Java programmer) but where it gets tricky is that with UNO you are rarely given the Base Object but an Interface instead. It is something like working with a client/server system. When you create an instance in Java you get a picture into a base object, but it is like the base object is locked away on the server and you just have this controller. If you want to change to a different interface (get a different set of controls) which this object supports then you need ask the UNO Runtime for that particular interface for this particular object (the interface and the object are parameters to the UnoRuntime.queryInterface method, which then returns an object of the type you wanted... hopefully, or there is an exception, then you cast that object to the type you know it is... it isn't pretty). Programming with this form looks strange at first but it is a requirement. Basic does not require type safety so it's like you are working with the object directly because you have the sum of all the interfaces at your disposal (there are A LOT of interfaces). What this means for programmers of type safe languages is that you need to have a browser window open to OOo API guide to keep track of what type of object you are working with so you can produce the correct interface for each method call.

There are two more things a Java programmer may need:

1) If you are a Netbeans fan as I am, then you had best install the [...] (you will need the SDK downloaded already and an installed version of OOo), this will allow you to create OOo projects with all required libraries (you get the option of creating an OOo project after installing).

2) Someone to ask questions of, I have found the people at [...] very helpful.

I know this review is aimed at Java and applies somewhat to C++ programmers but it is important for them to know that this book is valuable to them as well. Some may also wonder what an external programming language offers over Basic... I would say that it is possible to do more than script an open running OOo instance but to use OOo in "headless" mode and co-opt it's functionality for the internal use of your projects.

I think it would be good if the author could add a small section on Java programming explaining some of the things mentioned here, I think it would only take a few pages and help a lot of programmers. For the value it has given me, and the great reduction in searching the web and for it's vastly superior readability to the Developers guide I give it five stars.

Thank you Roberto and Cecilia and best of luck to everyone on their projects.
Ken.

Databases Books

Book Subjects
Most talked about in Databases Books
Mining for Gold on The Internet: How to Find Investment and Financial Information on the Internet ImageMining for Gold on The Internet: How to Find Investment and Financial Information on the Internet
by Mary Ellen Bates
McGraw-Hill Companies; Published: 2000-05-30; Paperback; Book
Best price: $20.46
Price in other shops: $26.95
Building XML Applications ImageBuilding XML Applications
by Simon St.; Cerami, Ethan Laurent
McGraw-Hill Companies; Published: 1999; Paperback; Book
Introduction to Data Communications and Local Area Networking Technology ImageIntroduction to Data Communications and Local Area Networking Technology
by Eduardo da Silva
HarperCollins Publishers Ltd; Published: 1986-08-28; Paperback; Book
Data Analysis Using SQL and Excel ImageData Analysis Using SQL and Excel
by Gordon S. Linoff
Wiley; Published: 2007-10-01; Paperback; Book
Best price: $27.16
Price in other shops: $45.00
Fundamentals of Database Systems (5th Edition) ImageFundamentals of Database Systems (5th Edition)
by Ramez Elmasri, Shamkant B. Navathe
Addison Wesley; Published: 2006-03-17; Hardcover; Book
Best price: $66.00
Price in other shops: $138.00
An Introduction to Database Systems (8th Edition) ImageAn Introduction to Database Systems (8th Edition)
by C.J. Date
Addison Wesley; Published: 2003-08-01; Paperback; Book
Best price: $74.93
Price in other shops: $169.00
Pragmatic ADO.NET: Data Access for the Internet World ImagePragmatic ADO.NET: Data Access for the Internet World
by Shawn Wildermuth
Addison-Wesley Professional; Published: 2002-11-15; Paperback; Book
Best price: $5.20
Price in other shops: $54.99
SQL Queries for Mere Mortals(R): A Hands-On Guide to Data Manipulation in SQL ImageSQL Queries for Mere Mortals(R): A Hands-On Guide to Data Manipulation in SQL
by Michael J. Hernandez, John L. Viescas
Addison-Wesley Professional; Published: 2000-08-31; Paperback; Book
Best price: $42.00
Price in other shops: $59.99
Microsoft Office Access 2003 QuickSteps ImageMicrosoft Office Access 2003 QuickSteps
by John Cronan, Virginia Anderson, Brenda Bryant Anderson
McGraw-Hill Osborne Media; Published: 2004-03-01; Paperback; Book
Best price: $2.70
Price in other shops: $19.99
Database Systems Concepts ImageDatabase Systems Concepts
by Henry F. Korth, Abraham Silberschatz, S. Sudarshan
Osborne/McGraw-Hill,U.S.; Published: 2001-08; Hardcover; Book
Similar Books and other products
OOoSwitch: 501 Things You Want to Know About Switching To OpenOffice.org from Microsoft Office ImageOOoSwitch: 501 Things You Want to Know About Switching To OpenOffice.org from Microsoft Office
by Tamar E. Granor, Scott Carr, Sam Hiser
Hentzenwerke Publishing; Published: 2003-09; Paperback; Book
Best price: $49.95
Open Office .org 3 WRITER Guide: OpenOffice.org 3.0, 548 pages ImageOpen Office .org 3 WRITER Guide: OpenOffice.org 3.0, 548 pages
by OOo AuthorsTeam
CreateSpace; Published: 2009-02-09; Paperback; Book
Best price: $23.69
Price in other shops: $27.95
MySQL (4th Edition) ImageMySQL (4th Edition)
by Paul DuBois
Addison-Wesley Professional; Published: 2008-09-08; Paperback; Book
Best price: $29.00
Price in other shops: $54.99
Access 2010: The Missing Manual ImageAccess 2010: The Missing Manual
by Matthew MacDonald
Pogue Press; Published: 2010-06-29; Paperback; Book
Best price: $19.55
Price in other shops: $39.99
Learning SQL ImageLearning SQL
by Alan Beaulieu
O'Reilly Media; Published: 2009-04-27; Paperback; Book
Best price: $22.35
Price in other shops: $39.99
OpenOffice.org Calc Functions and Formulas Tips.: Essential OpenOffice.org Calc Skills ImageOpenOffice.org Calc Functions and Formulas Tips.: Essential OpenOffice.org Calc Skills
by Jacek Artymiak
devGuide.net, Limited; Published: 2010-02-14; Paperback; Book
Best price: $24.99
Beginning Database Design: From Novice to Professional ImageBeginning Database Design: From Novice to Professional
by Clare Churcher
Apress; Published: 2007-01-24; Paperback; Book
Best price: $23.09
Price in other shops: $34.99
Learn OpenOffice.org Spreadsheet Macro Programming: OOoBasic and Calc automation: A fast and friendly tutorial to writing macros and spreadsheet applications ImageLearn OpenOffice.org Spreadsheet Macro Programming: OOoBasic and Calc automation: A fast and friendly tutorial to writing macros and spreadsheet applications
by Dr Mark Alexander Bain
Packt Publishing; Published: 2006-12-22; Paperback; Book
Best price: $36.13
Price in other shops: $39.99
Beginning OpenOffice 3: From Novice to Professional (Beginning: From Novice to Professional) ImageBeginning OpenOffice 3: From Novice to Professional (Beginning: From Novice to Professional)
by Andy Channelle
Apress; Apress; Published: 2008-12-12; Paperback; Book
Best price: $24.19
Price in other shops: $39.99
Getting Started with Open Office .org 3: OpenOffice.org 3.0 ImageGetting Started with Open Office .org 3: OpenOffice.org 3.0
by OOo AuthorsTeam
CreateSpace; Published: 2010-01-02; Paperback; Book
Best price: $25.41
Price in other shops: $31.95