ACCU Home page ACCU Conference Page
Search Contact us ACCU at Flickr ACCU at GitHib ACCU at Google+ ACCU at Facebook ACCU at Linked-in ACCU at Twitter Skip Navigation

Search in Book Reviews

The ACCU passes on review copies of computer books to its members for them to review. The result is a large, high quality collection of book reviews by programmers, for programmers. Currently there are 1918 reviews in the database and more every month.
Search is a simple string search in either book title or book author. The full text search is a search of the text of the review.
    View all alphabetically
Title:
Objectifying Motif
Author:
Charles Bowman
ISBN:
1 884842 13 5
Publisher:
SIGS books
Pages:
490pp
Price:
£25-50
Reviewer:
Klitos Kyriacou
Subject:
X Windows
Appeared in:
10-2
This book helps the reader learn to design and develop a C++ GUI library based on X/Motif. It has three main sections. Section I is an introduction to the technologies involved, including X, Motif and C++. It is not meant to be a complete tutorial for any of these. I would have preferred it if the introduction to C++ was left out and the book concentrated on X and Motif instead, as the language is too large to be given justice in such a short space. However, I can understand that the market might be smaller if it assumed C++ knowledge.

Section II describes the object-oriented approach to development and uses it to create, step by step, a simple calculator using X/Motif. About half of this section consists of reasonably useful diagrams (not following any particular notation such as OMT) and listings of code fragments, which are 'inlined' with the main text. The code uses a subset of ARM-standard C++ without exceptions or templates. Although I've seen much worse code in other books, I still wouldn't recommend using this book unless you already know C++, because of the restricted subset used. For example, I think a C++ learner ought to start using the standard string class straight away, without having to learn about the old C-style char arrays. Otherwise, the code is reasonable at showing how to write GUI applications in C++.

Section III is really what the book is all about; the previous sections were just building up to it. It develops a fully functional Motif Windows Library (MWL). The calculator developed in Section II is scrapped and rebuilt using MWL instead, to show the advantages of using an application framework. This section is also made of text and C++ code in equal measures.

Appendix A contains the complete source listing of MWL and Appendix B, the source for the MWL-based calculator application. These two appendices take up a quarter of the book. The code does not seem to be downloadable from a public web site. Instead, at the end of the book, the author says he can be contacted for an MWL licence.

This book will suit those with a (probably academic) interest in learning how to develop an application framework. If you want to use a GUI framework, rather than develop your own, you would probably be better off buying a commercial product such as RogueWave's View.h++. If you want to learn to write X/Motif applications, rather than a framework, then there are other books for that purpose.