|
Cross-Platform Development in C++: Building Mac OS X, Linux, and Windows Applications | 
| Author: Syd Logan Publisher: Addison-Wesley Professional Category: Book
List Price: $49.99 Buy New: $42.49 You Save: $7.50 (15%)
Rating: 3 reviews Sales Rank: 441729
Media: Paperback Edition: 1 Pages: 576 Number Of Items: 1 Shipping Weight (lbs): 1.9 Dimensions (in): 9.1 x 7 x 1.2
ISBN: 032124642X Dewey Decimal Number: 005.133 EAN: 9780321246424 ASIN: 032124642X
Publication Date: December 7, 2007 Shipping: Eligible for Super Saver Shipping Availability: Usually ships in 24 hours
| |
| Also Available In:
|
| Editorial Reviews:
Product Description
Cross-Platform Development in C++ is the definitive guide to developing portable C/C++ application code that will run natively on Windows, Macintosh, and Linux/Unix platforms without compromising functionality, usability, or quality. Long-time Mozilla and Netscape developer Syd Logan systematically addresses all the technical and management challenges associated with software portability from planning and design through coding, testing, and deployment. Drawing on his extensive experience with cross-platform development, Logan thoroughly covers issues ranging from the use of native APIs to the latest strategies for portable GUI development. Along the way, he demonstrates how to achieve feature parity while avoiding the problems inherent to traditional cross-platform development approaches. This book will be an indispensable resource for every software professional and technical manager who is building new cross-platform software, porting existing C/C++ software, or planning software that may someday require cross-platform support. Build Cross-Platform Applications without Compromise Throughout the book, Logan illuminates his techniques with realistic scenarios and extensive, downloadable code examples, including a complete cross-platform GUI toolkit based on Mozilla’s XUL that you can download, modify, and learn from. Coverage includes - Policies and procedures used by Netscape, enabling them to ship Web browsers to millions of users on Windows, Mac OS, and Linux
- Delivering functionality and interfaces that are consistent on all platforms
- Understanding key similarities and differences among leading platform-specific GUI APIs, including Win32/.NET, Cocoa, and Gtk+
- Determining when and when not to use native IDEs and how to limit their impact on portability
- Leveraging standards-based APIs, including POSIX and STL
- Avoiding hidden portability pitfalls associated with floating point, char types, data serialization, and types in C++
- Utilizing platform abstraction libraries such as the Netscape Portable Runtime (NSPR)
- Establishing an effective cross-platform bug reporting and tracking system
- Creating builds for multiple platforms and detecting build failures across platforms when they occur
- Understanding the native runtime environment and its impact on installation
- Utilizing wxWidgets to create multi-platform GUI applications from a single code base
- Thoroughly testing application portability
- Understanding cross-platform GUI toolkit design with Trixul
|
| Customer Reviews:
Not useful August 22, 2008 sk0la (New York) This is a grab-bag of pretty weak essays about software development. A small set of mostly irrelevant technologies is focused on.
XUL is a good cross platform technology, but the author's own fledgling effort, trixul, has too little substance and too much focus.
Too much time is spent introducing basic technologies - compilers, html, source code control, css - that the audience might be expected to already know in far greater detail than discussed here.
By limiting the discussion to C++, really successful cross-platform technologies such as Java and .net/mono are never discussed.
CVS is recommended over Subversion - this, in 2008!
Good book April 21, 2008 Todd Martin (Austin,Tx) 3 out of 3 found this review helpful
To be honest this one of the few technical computer books I've read from cover to cover. I usually just use them for reference. On the subject of cross platform development this is currently the best and most up-to-date however there were a few areas I would have liked to seen covered better most notably the build environment and makes. Mr Logan does touch on these subjects but they are not given as much focus as I would have like to have seen which is why I'm taking one star away. With that said if I was asked to recommend a book on cross-platform development it would be Syd Logan's, hands down..
reduce porting bugs December 21, 2007 W Boudville (Terra, Sol 3) 10 out of 14 found this review helpful
Logan tackles a lot of grubby little complications that are the bane and reality of programmers writing multiplatform C++. This is not a book about learning C++ from scratch. Conceptually, it helps to think of this book as about 1 level above writing C++ code. For example, it discusses compiling, linking and running, where needed libraries might be missing.
The book describes 3 platforms. Microsoft Windows, Macintosh and unix/linux. Strictly, the Macintosh is nowadays using a unix variant. But it's done differently enough, and the Mac is popular enough, that Logan stands it separate from other unix/linux environments.
Perhaps the best recommendation of the book is to use a platform abstraction library. So that you can far more easily maintain a common code base. The suggested choice of library is NSPR. One simple way that it helps is in how it makes explicit the byte lengths of various C/C++ variables. This legacy C ambiguity is still with us, and causes much porting pain. It is no accident that newer languages like Java and C# make these definitions explicit. But many of us still have to write in C and C++.
|
|
|
| |