Skip to content

Download E-books Cross-Platform Development in C++: Building Mac OS X, Linux, and Windows Applications PDF

By Syd Logan

Cross-Platform improvement in C++ is the definitive consultant to constructing moveable C/C++ program code that would run natively on home windows, Macintosh, and Linux/Unix systems with no compromising performance, usability, or caliber.

Long-time Mozilla and Netscape developer Syd Logan systematically addresses the entire technical and administration demanding situations linked to software program portability from making plans and layout via coding, trying out, and deployment. Drawing on his vast event with cross-platform improvement, Logan completely covers matters starting from using local APIs to the newest options for transportable GUI improvement. alongside the way in which, he demonstrates the way to in achieving function parity whereas heading off the issues inherent to standard cross-platform improvement techniques.

This e-book may be an vital source for each software program specialist and technical supervisor who's development new cross-platform software program, porting present C/C++ software program, or making plans software program that can sometime require cross-platform support.

Build Cross-Platform purposes with no Compromise 
Throughout the e-book, Logan illuminates his recommendations with life like situations and broad, downloadable code examples, together with a whole cross-platform GUI toolkit in accordance with Mozilla’s XUL so that you can obtain, alter, and research from. insurance includes 
* regulations and tactics utilized by Netscape, permitting them to send internet browsers to hundreds of thousands of clients on home windows, Mac OS, and Linux
* offering performance and interfaces which are constant on all structures
* knowing key similarities and ameliorations between top platform-specific GUI APIs, together with Win32/.NET, Cocoa, and Gtk+
* making a choice on while and whilst to not use local IDEs and the way to restrict their effect on portability
* Leveraging standards-based APIs, together with POSIX and STL
* averting hidden portability pitfalls linked to floating aspect, char kinds, facts serialization, and kinds in C++
* using platform abstraction libraries similar to the Netscape transportable Runtime (NSPR)
* setting up an efficient cross-platform trojan horse reporting and monitoring system
* developing builds for a number of structures and detecting construct disasters throughout systems after they occur
* knowing the local runtime setting and its effect on installation
* using wxWidgets to create multi-platform GUI functions from a unmarried code base
* completely checking out program portability
* realizing cross-platform GUI toolkit layout with Trixul

Show description

Read or Download Cross-Platform Development in C++: Building Mac OS X, Linux, and Windows Applications PDF

Best Nonfiction books

Schaum's Outline of Basic Circuit Analysis, Second Edition (Schaum's Outlines)

The perfect assessment in your easy circuit research path greater than forty million scholars have depended on Schaum’s Outlines for his or her specialist wisdom and invaluable solved difficulties. Written by means of well known specialists of their respective fields, Schaum’s Outlines hide every thing from math to technology, nursing to language.

Psychology's Ghosts: The Crisis in the Profession and the Way Back

This e-book is the fabricated from years of inspiration and a profound main issue for the country of latest psychology. Jerome Kagan, a theorist and best researcher, examines renowned practices and assumptions held by means of many psychologists. He uncovers various difficulties that, troublingly, are mostly missed by means of investigators and clinicians.

Those Guys Have All the Fun: Inside the World of ESPN

It all started, in 1979, as a mad suggestion of beginning a cable channel to televise neighborhood exercises during the country of Connecticut. at the present time, ESPN is arguably the main profitable community in sleek tv heritage, spanning 8 channels within the Unites States and all over the world. however the within tale of its upward thrust hasn't ever been absolutely told-until now.

The Family and Individual Development (Routledge Classics)

The relatives and person improvement represents a decade of writing from a philosopher who was once on the height of his powers as possibly the top post-war determine in developmental psychiatry. In those pages, Winnicott chronicles the complicated internal lives of people, from the 1st come upon among mom and baby, during the 'doldrums' of formative years, to adulthood.

Additional info for Cross-Platform Development in C++: Building Mac OS X, Linux, and Windows Applications

Show sample text content

429 Scripting Language . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 433 The rfile item version . . . . . . . . . . . . . . . . . . . . . . . . . . 434 type structures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 437 XUL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 438 home windows and Dialogs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 439 bins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 439 Toolbars . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 440 Menus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 441 Controls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 441 different Widgets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 442 Programming with XUL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 442 including common sense to the UI with JavaScript . . . . . . . . . . . . . . . . . . 443 Contents xi Interfacing JavaScript and C/C++ Code with XPCOM and XPConnect . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 444 Trixul . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 446 Widget aid in Trixul . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 447 simple Operation of Trixul . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 448 Widgets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 449 Implementation sessions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 452 developing Widget Implementation gadgets . . . . . . . . . . . . . . . . . 459 Widget Factories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 463 program major Loop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 466 Steps Taken through Trixul to Create a consumer Interface . . . . . . . . . . . . 471 records, parts, and the DOM . . . . . . . . . . . . . . . . . . . . 472 Widget construction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 475 structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 477 Scrolled home windows and structure . . . . . . . . . . . . . . . . . . . . . . . . . 484 Integration with JavaScript . . . . . . . . . . . . . . . . . . . . . . . . . . . . 485 Integrating with C++ elements . . . . . . . . . . . . . . . . . . . . . . 496 Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 519 This web page deliberately left clean = Foreword because the Hypertext Markup Language / Extensible Markup Language / Cascading kind Sheets (HTML/XML/CSS) parsing and rendering engine for the Firefox, Mozilla, and Netscape browsers, Gecko is without doubt one of the most generally deployed cross-platform rendering engines on the planet. As either a Netscape engineer and later because the improvement supervisor of the Mozilla Gecko crew, I had the privilege to paintings at the Gecko engine from its inception. Gecko was once born out of the will to create a cross-platform, smallfootprint, quickly, cutting-edge, embeddable internet looking engine that will leapfrog our pageant within the “browser wars. ” It had develop into painfully obvious that it was once too difficult so as to add complete CSS2, CSS3, and XML internet criteria help to the lumbering Netscape four. x engine. the assumption was once to begin from scratch utilizing just a couple of libraries from the unique engine. Early within the Gecko undertaking, there have been discussions approximately utilizing Java instead of C++ to leverage Java’s cross-platform services. It was once finally determined that C++, in addition to distinctive improvement procedures, instruments, and layout strategies, may yield the simplest resolution. a lot of these procedures, instruments, and layout thoughts are defined as top practices all through this e-book.

Rated 4.32 of 5 – based on 25 votes