455-0522/02 – Component Software Technologies (KOT)

Gurantor departmentDepartment of Measurement and ControlCredits4
Subject guarantordoc. RNDr. Jindřich Černohorský, CSc.Subject version guarantordoc. RNDr. Jindřich Černohorský, CSc.
Study levelundergraduate or graduateRequirementOptional
Year1Semestersummer
Study languageCzech
Year of introduction1999/2000Year of cancellation2008/2009
Intended for the facultiesFEIIntended for study typesBachelor
Instruction secured by
LoginNameTuitorTeacher giving lectures
C1E65 doc. RNDr. Jindřich Černohorský, CSc.
KRE15 doc. Ing. Ondřej Krejcar, Ph.D.
Extent of instruction for forms of study
Form of studyWay of compl.Extent
Full-time Graded credit 2+2
Combined Graded credit 2+2

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

Další požadavky na studenta

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

Full-time form (validity from: 1960/1961 Summer semester)
Task nameType of taskMax. number of points
(act. for subtasks)
Min. number of points
Graded exercises evaluation Graded credit 100 (100) 0
        Project Project 30  0
        Other task type Other task type 70  0
Mandatory attendence parzicipation:

Show history

Occurrence in study plans

Academic yearProgrammeField of studySpec.FormStudy language Tut. centreYearWSType of duty
2006/2007 (M2612) Electrical Engineering and Computer Science (2601T004) Measurement and Control Engineering P Czech Ostrava 5 Optional study plan
2006/2007 (B2645) Electrical Engineering, Communication and Computer Systems (2612R041) Control and Information Systems P Czech Ostrava 3 Optional study plan
2006/2007 (N2645) Electrical Engineerong, Communication and Computer Systems (2612T041) Control and Informatics Systems P Czech Ostrava 1 Optional study plan
2006/2007 (B2645) Electrical Engineering, Communication and Computer Systems (2612R041) Control and Information Systems K Czech Ostrava 3 Optional study plan
2006/2007 (N2645) Electrical Engineerong, Communication and Computer Systems (2612T041) Control and Informatics Systems K Czech Ostrava 1 Optional study plan
2005/2006 (M2612) Electrical Engineering and Computer Science (2601T004) Measurement and Control Engineering P Czech Ostrava 5 Optional study plan
2005/2006 (B2645) Electrical Engineering, Communication and Computer Systems (2612R041) Control and Information Systems P Czech Ostrava 3 Optional study plan
2005/2006 (N2645) Electrical Engineerong, Communication and Computer Systems (2612T041) Control and Informatics Systems P Czech Ostrava 1 Optional study plan
2005/2006 (B2645) Electrical Engineering, Communication and Computer Systems (2612R041) Control and Information Systems K Czech Ostrava 3 Optional study plan
2005/2006 (N2645) Electrical Engineerong, Communication and Computer Systems (2612T041) Control and Informatics Systems K Czech Ostrava 1 Optional study plan
2004/2005 (B2645) Electrical Engineering, Communication and Computer Systems (2612R041) Control and Information Systems P Czech Ostrava 3 Optional study plan
2004/2005 (N2645) Electrical Engineerong, Communication and Computer Systems (2612T041) Control and Informatics Systems P Czech Ostrava 1 Optional study plan
2004/2005 (B2645) Electrical Engineering, Communication and Computer Systems (2612R041) Control and Information Systems K Czech Ostrava 3 Optional study plan
2004/2005 (N2645) Electrical Engineerong, Communication and Computer Systems (2612T041) Control and Informatics Systems K Czech Ostrava 1 Optional study plan

Occurrence in special blocks

Block nameAcademic yearForm of studyStudy language YearWSType of blockBlock owner