LinuxC ++-Linux Enterprise Application-Linux server application information. For details, refer to the following section. Linux C ++
Focus on Linux/UNIX server software development (Background Development), and train professional Linux/unix c ++ Software Engineers required by enterprises.
It involves various aspects of software development on UNIX/Linux servers: linux/UNIX, C ++, Boost, ACE, Oracle/MySQL, data modeling, software modeling, design patterns, enterprise-level practical projects, etc.
Module
Module01-Linux Basics
As this series of courses are based on Linux (or UNIX), it is necessary to familiarize yourself with the Linux operating system. This module includes the following courses:
Common Unix/Linux commands
Familiar with about 100 Common commands in file management, text processing, process management, network, and system management.
Learn more about bash
Understand the default Linux shell: bash syntax, command execution, I/O redirection, and task control.
Regular Expression Basics
Many powerful UNIX/Linux text processing commands, such as grep, awk, sed, and vi Editor, work with regular expressions to generate powerful power, therefore, it is necessary to be familiar with the regular expression syntax.
Find, grep, sed, awk
Four powerful UNIX tools, especially sed and awk, are very powerful in text processing. You should master these commands in Linux.
Module02-Linux development environment
Different system platforms have different development tools and environments. This module focuses on a series of tools required for Linux C ++/C development:
Vi (vim) Text Editor
A unix-world-standard text editor that is simple and powerful. Skilled in using vi as a developer or system administrator is a basic and indispensable skill.
Gcc/g ++ C/C ++ Compiler
The following examples illustrate how to use gcc/g ++ to compile a single or multiple files, shared libraries, and static libraries.
Gdb debugger
Through specific examples, you can familiarize yourself with using gdb to debug C/C ++ applications and correct errors during application running.
Make and makefile
Learn how to compile makefile and use make to build a complete project.
CVS-Version Control
Use CVS for code version control.
Eclipse CDT
A very powerful C/C ++ IDE, a powerful text editor, seamless integration with the GCC tool chain, convenient gdb front-end, integrated version control such as CVS/Subversion, etc, it provides numerous conveniences, greatly reducing the burden on developers.
Module03-C ++ Programming Language
I will explain in depth all aspects of the C ++ programming language, that is, the complete C ++ syntax explanation:
Language basics
Describes variables, expressions, statements, pointers, arrays, process control, functions, and file organization in detail.
Abstract mechanism-Object-Oriented Programming
In-depth introduction to the abstract mechanism of c ++, including encapsulation (class), inheritance, polymorphism, Operator overloading, function objects, and exception handling.
Template-generic programming
This section describes in detail the C ++ template mechanism, class templates, function templates, and template features.
Module04-C ++ standard library
A complete description of STL components: container, algorithm, container adapter, iterator, iterator adapter, etc.; also includes string, I/O stream; in order to better understand the characteristics and sorting algorithms of STL containers, an additional arrangement is provided: Data Structure introduction and common Sorting Algorithm introduction.
Introduction to Common Data Structures
This section describes common data structures such as dynamic arrays, linked-list, binary search tree, rb-tree, hash table, stack, queue, and heap.
STL container details
Features and usage of containers such as vector, list, deque, stack, queue, priority_queue, map, and set.
Introduction to common sorting algorithms
This article briefly introduces the principle and implementation of various common sorting algorithms.
STL algorithms and predefined function objects
The standard library provides more than 60 Algorithm functions, including sorting, search, and arrangement and combination. Most algorithms use function objects such as greater, less, and binder2nd, the course of this unit details the usage of the above algorithms and the specific functions of related function objects.
Iterator
STL containers are highly decoupled from algorithms. The reason why algorithms can act easily on STL containers is the iterator that maintains the two.
This course introduces the C ++ iterator category and usage of various iterator adapters.
String-string
Compared with C-style string processing, C ++ provides a safer and more convenient string type, and provides many class methods for class to ensure the security and convenience of string processing. The course of this Unit describes the use of string.
I/O stream
The C ++ Standard Library provides a powerful I/O Stream framework. This module describes the use of standard input/output, file input/output, and string input/output streams in detail, and controls the input/output format using the operator.
Value
This section describes the C ++ numeric algorithm, such as valarray, four numeric algorithm functions, and random numbers.
Module05-C ++ Boost
Boost is a C ++ standard backup database that is designed and implemented by members of the C ++ Standards Committee and is of high quality and widely used, TR1 has been incorporated into the C ++ 0x standard library. In terms of style and content organization, the Boost project can be considered as an extension of the C ++ standard library. By the end of boost 1.43, the boost project has approximately 100 useful libraries. This section describes several components required for server development:
Container and Data Structure
Describes boost. any, boost. tuple, boost. array, boost. unordered (based on hash table, that is, hash_map and hash_set) and other components.
String algorithm and Text Processing
Describes boost. lexical_cast, boost. format, boost. string_algo, and other components.
Regular Expression
Regular expression syntax (perl regular expression syntax), boost. regex library usage.
Smart pointer
This section describes how to use smart pointers such as shared_ptr, scoped_ptr, and weak_ptr.
Function objects
Describes boost. bind, boost. mem_fn, boost. function, boost. ref, boost. lambda, and other components in detail.
Serialization
Familiarize yourself with the boost. serialization library usage through the instance.
Date and Time
A detailed introduction to the boost. date_time library.
Multithreading
As an essential part of server-side development: multi-threaded support, boost provides a cross-platform thread Library: boost. thread.
The course in this unit details boost. thread.
Network Programming
Boost. the asio library encapsulates the native socket APIs of various operating systems, event multi-channel separation, and asynchronous I/O APIs to form a network programming framework with excellent performance and ease of programming, makes complex network programming tasks simple, secure, and efficient.
The course of this unit is presented through a series of examples: Using asio to build TCP synchronous/asynchronous servers and clients, UDP synchronous/asynchronous servers and client applications, so as to be familiar with asio interfaces and programming routines.
Module06-C ++ ACE
ACE is a widely used, elegant, and high-performance C ++ Communication Framework (not just a communication framework). Its design and implementation have been referenced by many open-source frameworks. It is an excellent framework for building stable, high-performance, high-throughput, cross-platform server-side programs. This module includes the following courses:
ACE basic network I/O related objects
Describes how to use ACE_SOCK, ACE_SOCK_Acceptor, ACE_SOCK_Connector, ACE_INET_Addr, and other classes.
Reactor framework
The ACE Reactor framework simplifies the development of event drivers, which are the basic features of many networked applications, common event sources for these applications include I/O events, Posix signals, Windows handle excitation, and timer expiration.
This section describes the use of ACE_Event_Handler, Timer, ACE_Reactor, and other classes, and uses this framework to build a simple multi-person chat room application.
Service Configuration framework
The Service Configuration framework allows an application to reconfigure its services (including static services and dynamic services) at runtime without having to modify, recompile, reconnect to the program itself, or close or restart the application.
Task framework
The ACE Task framework provides powerful and scalable object-oriented concurrency capabilities, such as deriving threads from an object-based context, it also transmits messages between objects in different threads and queues messages.
Acceptor-Connector framework
The ACE Acceptor-Connector framework implements the Acceptor-Connector mode. This mode is removed: 1. Interconnection and initialization of peer-to-peer services that collaborate with each other in network applications. 2, and the coupling of the processing they are executed after connection and initialization, enhancing software reuse and scalability.
Proactor framework
The Proactor framework introduces the asynchronous I/O mechanism, which not only retains the event Multi-Channel Separation of the Reactor framework, avoids the overhead of multithreading, but also mitigates the bottleneck effect of reactive synchronous I/O.
Module07-Database Development
As the most important part of server-side application data persistence, Databases play an important role in server-side application development. This module mainly targets Oracle 10 GB and MySQL 5.1 relational database management systems. This module includes the following content:
SQL language
Describes the syntax and usage of DML and DDL statements in detail.
Oracle PL/SQL
Describes the Oracle PL/SQL syntax and uses PL/SQL to write stored procedures, functions, and triggers.
MySQL Stored Procedure
Compile MySQL stored procedures, functions, and triggers.
C ++ OTL
OTL: Oracle, ODBC and DB2-CLI Template Library. With OTL, you can easily and efficiently communicate with mainstream relational databases such as DB2, Oracle, Infomix, Sybase, and MySQL.
Module08-Software Modeling basics and Design Patterns
This section briefly introduces the UML object-oriented modeling method and understands the representation of UML. The core content of the GOF design mode and the C ++ implementation of various design modes are briefly introduced. This module includes the following content:
Class Modeling
State Modeling
Interactive modeling (Use Case, sequence, and activity modeling)
Introduction to GOF Design Patterns
Module09-Project Practice
Project Practice:
Project 1: X-Messenger
An IM (instant messaging) server, similar to an IM server such as MSN and QQ. It can be implemented based on Boost. asio or ACE.
Project 2: XY-DB
A small relational database system, including server and client implementation, is recommended based on Boost components.
Project 3: Crawler
A web crawler, that is, the front end of a search engine, is responsible for collecting network data (webpage content, resolution URL) for the search engine to use.
Other projects can be defined by trainees.
Course Resources
All trainees attending xuanyuan high-end it training center can obtain the following course resources:
Teaching videos related to the course module (only for remote and on-site students) (watch the example video );
Handouts of courses related to the course module;
Reference materials for each module course (view the sample document );
Tutorial guidance document (view sample document );
Exercises and exercises for each lesson (view the example document );
Phase project;
Project code reference;
Final project and complete project documents;
Project implementation code;
Q: 570508473
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service