Skip to main content
Skip header
Terminated in academic year 2008/2009

Component Software Technologies

Type of study Bachelor
Language of instruction Czech
Code 455-0522/02
Abbreviation KOT
Course title Component Software Technologies
Credits 4
Coordinating department Department of Measurement and Control
Course coordinator doc. RNDr. Jindřich Černohorský, CSc.

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

Literature

No literature has been specified for this subject.

Advised literature

No advised literature has been specified for this subject.