Da Linux seine Präsenz auf der ganzen Welt als Zielplattform für die professionelle Anwendungsentwicklung erhöht, ist sein Wachstum als leistungsstarkes, flexibles System mit vielen kostenlosen Entwicklungstools sichergestellt, dass er seinen Platz in der Zukunft bietet. Indem Sie einfachen Zugang zu diesem umfassenden Werkzeugsortiment bieten, unterstützt neue und naszente Technologien, zu wenig oder gar keinen Kosten, ermöglicht die Entwicklung mit Linux die Lösung, die für Sie richtige ist. In dieser Nachfolge der meistverkauften Beginning Linux Programming erfahren Sie vom realen Wissen und der Erfahrung der Entwicklung von Software für Linux. Sie werden durch die Entwicklung einer Beispiel-App "DVD Store" mit "Theme" Kapiteln mit verschiedenen Aspekten ihrer Implementierung. In den einzelnen Kapiteln "Take-a-break" wichtige Themen, die über die Grenzen des zentralen Themas hinausgehen. Alle konzentrieren sich auf die praktischen Aspekte der Programmierung, um zu zeigen, wie wichtig es ist, die richtigen Werkzeuge für den Job zu wählen, sie wie sie verwendet werden sollten, und Dinge beim ersten Mal richtig zu machen. Für wen ist dieses Buch? Erfahrene Linux-Programmierer und angehende Entwickler finden in diesem Buch zahlreiche praktische Informationen zu Bibliotheken, Techniken, Werkzeugen und Anwendungen. Sie sollten mit einem einfachen Linux-System vertraut sein, über gute Arbeitskenntnisse der Programmierung in C und ein grundlegendes Verständnis der objektorientierten Programmierung mit C++ für die Qt/KDE Kapitel kennen
Die Inhaltsangabe kann sich auf eine andere Ausgabe dieses Titels beziehen.
Richard Stones and Neil Matthew are the authors of the first edition of Beginning Linux Programming. They are both experienced software professionals with many years' experience using and programming UNIX and Linux. They are also co-authors of the Wrox Press title, Instant UNIX.
The other contributors are a multi-author Wrox writing team of professional developers.
CVS
One of the things you should do at an early phase in your project is to set up a way of tracking changes to your project. This might just be the source code, or you might have some documents you wish to track as well. You should be tracking these items for two reasons: firstly so that you can discover what a build or document looked liked at some point in time, and secondly so that you can identify changes over time.
Of course you could just copy items to duplicated directories, with names corresponding to the date, but such a simple solution quickly becomes unmanageable where multiple developers are involved, and the timescale is longer than a few weeks.
If you are a developer working on your own, you may be tempted to think that source code control doesn't offer you much; after all, no one else is going to change the code, so you have full control. However, even the best developers make mistakes occasionally and need to go back to previous versions. Users may report a bug introduced in a minor revision, and rather than just track it down in the traditional way, it might be much more productive to have a look at how the code has changed in the affected area since the last release before the bug appeared. A source code control system can be an invaluable aid in these circumstances, allowing the tracking of exactly when, and how, code was changed.
Where there are multiple developers, the case is even stronger. Not only are there all the reasons that exist for single developers, but new and important reasons relating to peoples' ability to see who has changed what and when - it's then much easier to wind back changes in the event that another developer has 'got it wrong'. Providing people properly comment their changes, it's also possible to discover why they changed things, which can sometimes be very enlightening.
In short, there are many very good reasons to use a source code control system, and very few excuses for not doing so, given the choice of quality free tools available on Linux.In this chapter we will:
set up CVS explore using CVS to manage a project network CVS to enable true collaborative projects
Tools for Linux
Initially there was only one mainstream choice for source code control on Linux, which was RCS (the Revision Control System) from the GNU software tool set. Whilst RCS was, and still is, a very good and reliable revision control system, a lot of people (particularly on projects with several developers or with distributed development environments) have moved to use a newer tool - CVS, the Concurrent Versions System.
CVS originated as a number of shell scripts in 1986. Today's CVS code is mostly based on the work of Brian Berliner since 1989. There are three principal features that have allowed CVS to displace RCS as the tool of choice for managing changes to source code:
Its ability to be configured easily to operate across networks, including the internet. Its ability to allow multiple developers to work on the same source file simultaneously, in many cases being able to merge changes made to a project by many different developers automatically. Its significant improvements, over RCS, in handling of collections of files.
Add to this the fact that CVS is completely free, and you have a winning tool that you should probably consider learning how to use. In the course of this chapter, we're going to have a look at:
setting up and using CVS for a single user on a local machine setting up and using CVS for multiple-users across a network useful features and extensions to CVS, including network configuration and graphical clients
CVS is a rather complex system, and we will not have the space in a single chapter to cover every last detail of its use. However, we hope to show sufficient details that 95% of your needs will be met. You should then be well placed to investigate some of the more obscure features of CVS, should your needs be more exacting than those we've had space to cover.
In this chapter we will be concentrating on using CVS to manage source code. However you should remember that it's just as effective at managing changes to test data, configuration files or the utility scripts that your project is using. Indeed all aspects of your project can be stored in CVS.
CVS can also store your specifications, which are often even more valuable than the source code. However, if any of these are written in binary format, then you must tell CVS that the file is binary, and CVS will not be able to automatically report differences between versions. We will talk more about managing binary files later in the chapter.
„Über diesen Titel“ kann sich auf eine andere Ausgabe dieses Titels beziehen.
Anbieter: ThriftBooks-Dallas, Dallas, TX, USA
Paperback. Zustand: Good. No Jacket. Pages can have notes/highlighting. Spine may show signs of wear. ~ ThriftBooks: Read More, Spend Less 4.4. Bestandsnummer des Verkäufers G1861003013I3N00
Anzahl: 1 verfügbar
Anbieter: ThriftBooks-Atlanta, AUSTELL, GA, USA
Paperback. Zustand: Good. No Jacket. Pages can have notes/highlighting. Spine may show signs of wear. ~ ThriftBooks: Read More, Spend Less 4.4. Bestandsnummer des Verkäufers G1861003013I3N00
Anzahl: 1 verfügbar
Anbieter: ThriftBooks-Phoenix, Phoenix, AZ, USA
Paperback. Zustand: Good. No Jacket. Pages can have notes/highlighting. Spine may show signs of wear. ~ ThriftBooks: Read More, Spend Less. Bestandsnummer des Verkäufers G1861003013I3N00
Anzahl: 1 verfügbar
Anbieter: ThriftBooks-Reno, Reno, NV, USA
Paperback. Zustand: Good. No Jacket. Pages can have notes/highlighting. Spine may show signs of wear. ~ ThriftBooks: Read More, Spend Less. Bestandsnummer des Verkäufers G1861003013I3N00
Anzahl: 1 verfügbar
Anbieter: ThriftBooks-Atlanta, AUSTELL, GA, USA
Paperback. Zustand: Very Good. No Jacket. May have limited writing in cover pages. Pages are unmarked. ~ ThriftBooks: Read More, Spend Less 4.4. Bestandsnummer des Verkäufers G1861003013I4N00
Anzahl: 1 verfügbar
Anbieter: ThriftBooks-Dallas, Dallas, TX, USA
Paperback. Zustand: Fair. No Jacket. Readable copy. Pages may have considerable notes/highlighting. ~ ThriftBooks: Read More, Spend Less 4.4. Bestandsnummer des Verkäufers G1861003013I5N00
Anzahl: 1 verfügbar
Anbieter: BennettBooksLtd, San Diego, NV, USA
Paperback. Zustand: New. In shrink wrap. Looks like an interesting title! Bestandsnummer des Verkäufers Q-1861003013
Anzahl: 1 verfügbar
Anbieter: Buchpark, Trebbin, Deutschland
Zustand: Sehr gut. Zustand: Sehr gut | Sprache: Englisch | Produktart: Bücher | Keine Beschreibung verfügbar. Bestandsnummer des Verkäufers 687645/202
Anzahl: 1 verfügbar
Anbieter: Buchpark, Trebbin, Deutschland
Zustand: Gut. Zustand: Gut | Sprache: Englisch | Produktart: Bücher | Keine Beschreibung verfügbar. Bestandsnummer des Verkäufers 687645/203
Anzahl: 1 verfügbar