Visual Object Oriented Programming
description
Transcript of Visual Object Oriented Programming
![Page 1: Visual Object Oriented Programming](https://reader036.fdocuments.net/reader036/viewer/2022082712/56813afb550346895da38d96/html5/thumbnails/1.jpg)
Visual Object Oriented Programming
• Seminarium magisterskie
• Wojciech Dawid PJWSTK, 1999
![Page 2: Visual Object Oriented Programming](https://reader036.fdocuments.net/reader036/viewer/2022082712/56813afb550346895da38d96/html5/thumbnails/2.jpg)
Visual Object Oriented Programming
• Definicje
• Programowanie obiektowe
• Programowanie wizualne
• Przykłady
• Podsumowanie
![Page 3: Visual Object Oriented Programming](https://reader036.fdocuments.net/reader036/viewer/2022082712/56813afb550346895da38d96/html5/thumbnails/3.jpg)
Visual Object Oriented Programming - definicje
• Jest to programowanie łączące cechy programowania wizualnego z programowaniem zorientowanym obiektowo
• Obejmuje wizualne wspomaganie tworzenia klas (case) jak i wizualne środowisko programowania (visual environment)
![Page 4: Visual Object Oriented Programming](https://reader036.fdocuments.net/reader036/viewer/2022082712/56813afb550346895da38d96/html5/thumbnails/4.jpg)
Visual Object Oriented Programming - definicje
• Programowanie obiektowe w środowisku graficznym
• Programowanie przy pomocy składni wizualnej
• ...
![Page 5: Visual Object Oriented Programming](https://reader036.fdocuments.net/reader036/viewer/2022082712/56813afb550346895da38d96/html5/thumbnails/5.jpg)
VOOP - programowanie zorientowane obiektowo
• Programowanie zorientowane obiektowo polega na definiowaniu abstrakcyjnych typów danych /klas/, które reprezentują złożone obiekty abstrakcyjne lub rzeczywiste i budowaniu programów w oparciu o te ATD
![Page 6: Visual Object Oriented Programming](https://reader036.fdocuments.net/reader036/viewer/2022082712/56813afb550346895da38d96/html5/thumbnails/6.jpg)
VOOP - obiektowość cd.
• Podstawowe pojęcia obiektowości- obiekt, klasa, metoda, atrybut- dziedziczenie, wielodziedziczenie- polimorfizm
![Page 7: Visual Object Oriented Programming](https://reader036.fdocuments.net/reader036/viewer/2022082712/56813afb550346895da38d96/html5/thumbnails/7.jpg)
VOOP - obiektowość cd
• Reuse- klas- obiekty COM - ActiveX
![Page 8: Visual Object Oriented Programming](https://reader036.fdocuments.net/reader036/viewer/2022082712/56813afb550346895da38d96/html5/thumbnails/8.jpg)
VOOP - obiektowość cd
• Przykłady języków zorientowanych obiektowo, różnice
• C++
• Smalltalk
• Java
![Page 9: Visual Object Oriented Programming](https://reader036.fdocuments.net/reader036/viewer/2022082712/56813afb550346895da38d96/html5/thumbnails/9.jpg)
VOOP - programowanie wizualne
• Co to jest programowanie wizualne?- gdy co najmniej jeden z elementów grametyki języka jest graficzny język ma składnię wizualną- składnia wizualna może określać pewne atrybuty obiektów (kolor, położenie)- VPL /visual programming language/ - język mający składnię wizualną
![Page 10: Visual Object Oriented Programming](https://reader036.fdocuments.net/reader036/viewer/2022082712/56813afb550346895da38d96/html5/thumbnails/10.jpg)
VOOP - programowanie wizualne
• Środowisko wizualne /visual environment/- środowisko zawierające narzędzia lub interfejsy graficzne np. do definiowania wyglądu formularzy, wyświetlające strukturę programu, reakcja na zdarzenia itp.
• Środowisko wizualne obejmuje takie elementy jak browsery, debugery, kreatory
![Page 11: Visual Object Oriented Programming](https://reader036.fdocuments.net/reader036/viewer/2022082712/56813afb550346895da38d96/html5/thumbnails/11.jpg)
Programowanie wizualne - przykłady
• VPLHI-VISUALObjectWorldTCL
• Środowiska wizualneOpenStep (dla Objective C)Visual Basic, Visual C++Visual Works (dla ParcPlace Smalltalk)
![Page 12: Visual Object Oriented Programming](https://reader036.fdocuments.net/reader036/viewer/2022082712/56813afb550346895da38d96/html5/thumbnails/12.jpg)
VOOP - przykłady
• Demonstacja :
Visual C++ 6.0Visual Basic
![Page 13: Visual Object Oriented Programming](https://reader036.fdocuments.net/reader036/viewer/2022082712/56813afb550346895da38d96/html5/thumbnails/13.jpg)
VOOP - zalety i wady
• Zalety:- szybkie tworzenie aplikacji- programista nie musi wpisywać kodu służącego do prezentacji danych - robi to za niego środowisko wizualne, kreatory itp.
• Wady ???
![Page 14: Visual Object Oriented Programming](https://reader036.fdocuments.net/reader036/viewer/2022082712/56813afb550346895da38d96/html5/thumbnails/14.jpg)
Pytania
• ?????????????????????????????????????