455-0522/01 – Component Software Technologies (KOT)
Gurantor department | Department of Measurement and Control | Credits | 6 |
Subject guarantor | doc. RNDr. Jindřich Černohorský, CSc. | Subject version guarantor | doc. RNDr. Jindřich Černohorský, CSc. |
Study level | undergraduate or graduate | Requirement | Choice-compulsory |
Year | | Semester | winter |
| | Study language | Czech |
Year of introduction | 2003/2004 | Year of cancellation | 2008/2009 |
Intended for the faculties | FEI | Intended for study types | Master |
Subject aims expressed by acquired skills and competences
The objective of the course is to introduce modern component technology for software development. The wide-spread technologies COM, ActiveX and OLE are used as one of possible models to demonstrate basic priciples how to achieve required features.
Mastering basic principles of component software technology and practical implementation of them using Delphi RAD tools.
Mastering basic principles of component software technology and practical implementation of them using Delphi RAD tools.
Teaching methods
Summary
The course represents an introduction to the technology of component software development. Microsoft's technologies COM, OLE and ActiveX are used there as an wide-spread model accessible easily by any student. Also OPC ( OLE for Process Control)used in the field of process control is discussed as an extension of the above technologies . The practical training is dedicated to mastering the RAD technologies as represented by DELPHI an also to the basic mastering of OLE/COM resp. CORBA technologies by tools supported by Delphi.
Compulsory literature:
Recommended literature:
Way of continuous check of knowledge in the course of semester
Verification of study:
Tutorials.
Conditions for credit:
Achievement of 15/30 point for elaboration of semestral project consisting in design, programminng and testing appropriate application project in Delphi.
E-learning
Other requirements
Prerequisities
Subject has no prerequisities.
Co-requisities
Subject has no co-requisities.
Subject syllabus:
Lectures:
Components as an engineering concept leading to the standard production of software. Component, module, object, interfaces, interface as a contract. Inverse programming ,"callbacks", processes and multithreaded processing. Polymorphism, types, subtypes, extensibility, safe construction of software architecture. Inheritance, composition, delegation, "fragile base class problem", design patterns, "frameworks" and software architectures.
Basic concepts of COM: OLE, COM a ActiveX. COM and object orientation - encapsulation, classes, polymorphism, inheritance, reuse, COM
Monikers, persistence, uniform data transfer, connectable objects, OLE and compound documents. ActiveX controls, DCOM - distributed COM.
Creation of COM object, class factories, using of IclassFactory interface, Reuse of COM objects using delegation and aggregation
Marshalling a type information, marshalling and demarshalling, access to the type library. Registry.
Automation. Programmability of an application, concept of client-server co-operation, dispinterface, IDISPATCH interface, multiple dispinterface, dispinterface and marshaLling, dual interfaces, remote automation.
Persistence, naming conventions of storage and stream objects, transactions. Interfaces and operation for structured storage - ISTORAGE, ISTREAM. Interface for controlling of object's persistence
Uniform data transfer nad connectable objects), methods of IDATAOBJEKT interface, using IDATAOBJECT with "drag and drop", Notification, IAdviseSink interface
Connectable objects, connection points and sinks, IconnectionPointContainer nad IConnection Point interfaces. Incoming a Outcoming interfaces
Compound OLE documents - creation of a compound document, editing of a compound document, monikers. Examples of compound documents. Moniker classes, Moniker creation.
Containers and servers, cooperation betweeen containers and servers, Mechanism embedding, chached representation, Embeding containers and embedding servers, using data-cache object, IOLEOBJECT a IRUNNABLEOBJECT interfaces.
Verb commands, Communication with local server. An embedding scenario. In/place activation. In-place active containers. In-place active servers. The mechanism of linking, linking containers, linking servers. A linking scenario.
ActiveX objects, component categories. Interfaces for ActiveX componets, methods and events of ActiveX , event interfaces. Properties, property pages.
Design patterns - creational, structural, behavioural
Component frameworks: BlackBox Component Builder, Hard real time framework JBed
Computer labs:
Introduction to the Delphi development environment. First program "Hello World", forms, components. Object Pascal, scopes of visibility, data types. Exceptions, events and their processing. Delphi help.
Basic components. Control elements Windows. MDI and SDI applications.
Working with graphics, printing, voice, objects Tapplication and Tscreen.
advanced programování: console applications, DLL, Delphi's co-operation with other languages.
Program debugging and testing. Working with Windows Registry and INI files. Program localisation.
Databases and creation of draft-listings. Database tools Delphi.
Programming in API Windows, Windows messages. Using and synchronization of threads.
Introduction into the component programmming.
More advanced component programming.
Using OLE
Using ActiveX. COM interface.
ActiveX component creation
Semestral project finishing
Semestral project finishing
Conditions for subject completion
Occurrence in study plans
Occurrence in special blocks
Assessment of instruction
Předmět neobsahuje žádné hodnocení.