Object-Oriented Programming PowerPoint PPT Presentation

presentation player overlay
1 / 45
About This Presentation
Transcript and Presenter's Notes

Title: Object-Oriented Programming


1
Object-Oriented Programming
2
2. ??????? ???? ????? ?? ??????, ???????
??????? ???????? ?? ?????? ?????? ?????? ?????.
?????? ?????? ??? ????? ?????? ?????? ?????
???? ?????? ??????. ?? ????? ????? ??????? ???
???? ????? ??? ????? ?-60
3
??????? ????? ??????? ????? ????? ??? ??????
???? ?? ???? ?? ???? ?????? ?? ?????? ????
4
??? ????????...
5
Procedural Programming
6
Object-Oriented Programming
7
????? ???? ????? ????? ?????
  • ???? ?? ????? ???????? ???????
  • ?? ????? ????? ?????? ?? ?? ????????\??????
    (??????) ??? ?? ?????\???????? ?????? (?????????)
    ?? ?????? ???.
  • ????? ?????? ?????? ????? (??? ??? ??????) ??????.

8
  • ??????? OO
  • ?????
  • ?????
  • ???????????
  • ??????? ?? OO
  • ??????? ???????? ?? ??????
  • ????? ?? ???????
  • ????? ?????? ????? ????
  • ?????? ????? ???? (?????? ??????)
  • ????? ????? ????? ??? ??? ?????

9
?????? ????? ????? ?????
  • ???\????\???????\object\instance
  • ?????\class
  • ?????\??????\attribute
  • ?????
  • ????????\????? ??????

10
Object
11
??? (object)
  • ??? ??? ??? ??????? ???? ?????? ???????
    ???????? ??????.
  • ???? ????? ?????, ??????, ?????
  • ???? ?? ???????? ??????????
  • ??? (state) ???? ???????? ???? ????
  • ???? ?????? ????? ?????? ????? (??????
    ?????\????????? ??? ??? ???)
  • ?????? ?????? ???? ??????? ???? ???? ???????

12
?????????? ??????? ???
  • ????? ?????
  • ????? ??????
  • ???? ?????? ???
  • ???? ???? ??? ??????
  • ??????? ???? ???????
  • ?????? ???? ???????
  • ????????? ???? ???????
  • ??????? ?????? ????? ?????

13
????? \ \ Information Hiding Encapsulation
  • ????? ?????? ??? ?? ?????? ???????? ???? ?????
    ?????

14
??????? ?????
????? ???????
?????? ????????
15
????? (class)
  • ???? ????? ????? ???
  • ?????? ????? ????? ER

16
Visibility
Symbol Access
public
- private
protected
17
(No Transcript)
18
(No Transcript)
19
????? \Relationships
  • Association
  • Aggregation
  • Composition
  • Inheritance

20
Association Binary associations
?????? ????? ??????-????? ????? ?''? ?? , ??,
????????? ??????? ????? (?????)
unidirectional association
bi-directional association
21
(No Transcript)
22
(No Transcript)
23
(No Transcript)
24
(No Transcript)
25
??? "?????"aggregation/composition
  • ??? ??? ??? ???? ????? ???? ?-"???" ???? ?????
    ?????? ????? ??? ?????

26
(No Transcript)
27
(No Transcript)
28
(No Transcript)
29
??? "?????"
  • ????? ??? ?????? ?? ??????? ???? ??????? ???
    ?????? ?????????

30
?????
OVERRIDING
31
(No Transcript)
32
(No Transcript)
33
????? ????? ??????. ??????
  • ????? ?? ?? ??????? ???????, ???????, ????????
    ?????? ????? ????? ?????? ?????
  • ????? ??????? ???????? ??????? ?????? ?? ?????
    ??''?
  • ????? ??????? ??????? ?????
  • ????? ?????? ????? ?????

34
???? ?????? ?? ????????? UML
35
(No Transcript)
36
???? ????? ?? ? ... ????? ??????? ????? ????? ???
!!!!
37
Model Driven Development MDD
38
?????
39
(No Transcript)
40
????? ????? ?? ????? Web ?????
  • ?????? ????? ???? ??????
  • ?????? ????? ??????
  • ????? ?????? ??????.
  • ????? ??????? ????.
  • ????? ?????? ?????.
  • ????? ??????.
  • ????? ????.
  • ????? Use Case Diagram ???? ??????

41
????? Package Diagram
42
????? Component Diagram
43
INTERNET
default.aspx
????? ????? ????? ???? ?????? Enterhttp//www.inv
entory.com/default.aspx
default.aspx.cs
??????? EntityBE ???? ???? ?? BLL ???
?-default.asx.cs . ???? ???? ?? ????? ???? aspx
?? ??????? ?????? ???????? ??????
EntityBE
????? ???? ???? ??????? ????? ????? ?? ?????.
EntityBLL
EntityDAL
DataProviderHelper
????? ????? ??????? ????? ?????? Enter
???? ???? ???? code behind default.aspx.cs
?????? ????? default.aspx????? ???? ???????
????? validation ???? UI
??? ???? ???????? ?????? ???????? ?? ????
???????. ???? ??????? ???? ?????? ??????? ??????
?? ??????? ?- DAL
?? ??? ???? ???? UI, ???????? ?????? ?? ???
Business Logic
DAL ???? ?- Business Entities ???? ??????
EntityBE ????? ???? ??????? ?????? ????? ???????
??? Java Script ???? ????? validation ????
presentation ?? ??? ???? ????, ????? ?? ????????
???? ?? ????
?????? EntityBLL ?????? ????? ?? ?????? ?????
. ?? ??? ???? ???? ???????? ?????? ?? DAL
DAL ???? ?? Web.Config ????? ???? ??????? ?????
???? ??????
44
????? Package Diagram ?????
45
????? Class Diagram
Write a Comment
User Comments (0)
About PowerShow.com