-
Sponsored Links
This presentation is the property of its rightful owner.
1 / 62

Объектно-ориентированный подход к проектированию ИС PowerPoint PPT Presentation


  • 181 Views
  • Uploaded on
  • Presentation posted in: General

Объектно-ориентированный подход к проектированию ИС. Введение. Основное внимание уделяется разработке подробных моделей объектно-ориентированного проекта системы Модели используются программистами для кодирования системы

Download Presentation

Объектно-ориентированный подход к проектированию ИС

An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript


-


  • -

  • : ( )

  • - (controller), (view) (Model)


Object-Oriented Design

  • Object-oriented design

  • ( ) , , ,


  • - ,

  • OO

    • : ,


-


Student


Student


Java Student


  • /

    • , (activity), (sequence)

    • , , , ,



OO :

.

:

1. ,

2.

()

() -

3.

4.

12


,

    • ,

  • - system sequence diagram (SSD)

    • -,


  • (Encapsulation) , ,

  • (Object reuse)

  • (Information hiding),

  • (Protection from variations) ,

  • (Indirection) , ,


()

  • (Coupling) ,

    • (Loosely coupled)

  • (Cohesion)

    • (Separation of responsibility)

    • ,


  • UML

  • UML



  • (Entity) .

    • (Persistent class)

  • (Control) - ,

  • (Boundary)

  • (Data access) .


    • ,


  • (Name) (stereotype information)

  • (Attribute visibility)(private public) , , ,

  • (Method signature) ,

    • , , ( ), ( )

    • ,

    • , , (static shared ),



Student



()

  • ,

  • (controller)

    • , , e,

    • --

    • (, )

    • ,

    • ( )


Look up item available


RMO Look Up Item Availability


  • -

    • ,

    • ,

    • , .

    • , , , .


    • (coupling), (cohesion),


  • (knowing) (doing)

    • ,

      • ,

  • ,


  • ,

  • ,


-System Sequence Diagram (SSD) Look Up Item Availability


  • SSD

  • :System (use case controller)

  • ,

    • ,

  • ,

    • ?


, Look Up Item Availability


  • ,

    • , ,

    • , , ,


Look Up Item Availability


    • login/logout ()

    • ()

    • ,

    • ()


Maintain Product Information SSD


Controller


:SystemSSD


Maintain Product Information




()

    • CustomerDA Customer

    • SQL .

  • (a) (customer) aC; DA ,

  • (b) DA (customer) aC; DA

    • .


Look Up Item Availability


Maintain Product Information


  • GUI Web

    • -,

  • ;

  • - /


<<View>> ProductQuery Look Up Item Availability


Look Up Item Availability


ProductWindow MsgWindow Maintain Product Information


Maintain Product Information




Look Up Item Availability


Look Up Item Availability, (Iconic)


    • get set


ProductItem



  • UML

    • , -,


-RMO


RMO


  • OOD ( ) ( )

  • ,

    • -

    • - system sequence diagrams (SSDs)


()

    • Low coupling

    • High cohesion

    • ,

    • , ,

  • -


  • Login