Interface-Based Object-OrientedDesign and Importance of MockObjects                           Tameem Ahmad                ...
References: Jagadeesh Nandigam, Venkat N Gudivada, Abdelwahab Hamou- Lhadj and Yonglei Tao “Interface-Based Object-Oriente...
3
4
Overview Interfaces Mock Objects Practicing Interface-Based Approach in OOAD My Enhancement in the Interface-Based Design ...
Interfaces      What are the interfaces???      Why it is important???      How we can do this???                      ...
Interfaces: (Continued) In object-oriented programming languages, an interface is a language construct that specifies the ...
Interfaces: (Continued)                          8
Interfaces: (Continued) With careful use of interfaces, we can decouple classes in our system. program to an interface, no...
Interfaces: (Continued)                          10
Mock Objects In object-oriented programming, mock objects are simulated objects that mimic the behavior of real objects in...
My Contribution: Design reuse Easier exploration of the design space                                          12
Thank You            13
Upcoming SlideShare
Loading in …5
×

Interface-Based Object-Oriented Design and Importance of Mock Objects

706 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
706
On SlideShare
0
From Embeds
0
Number of Embeds
5
Actions
Shares
0
Downloads
9
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Interface-Based Object-Oriented Design and Importance of Mock Objects

  1. 1. Interface-Based Object-OrientedDesign and Importance of MockObjects Tameem Ahmad Student M.Tech. Z.H.C.E.T. A.M.U.,Aligarh Copyright, 1996 © Dale Carnegie & Associates, Inc.
  2. 2. References: Jagadeesh Nandigam, Venkat N Gudivada, Abdelwahab Hamou- Lhadj and Yonglei Tao “Interface-Based Object-Oriented Design with Mock Objects”, Sixth International Conference on Information Technology: New Generations, 2009. Alexandre Chureau, Yvon Savaria and El Mostapha Aboulhamid “Interface-based Design of Systems-on-Chip using UML-RT”, 4th IEEE International Workshop on System-on-Chip for Real-Time Applications (IWSOC’04). Rakesh Kumar Mishra and Bharat Lohani, “An Object-Oriented Software Development Approach to Design Simulator for Airborne Altimetric Lidar”, 2
  3. 3. 3
  4. 4. 4
  5. 5. Overview Interfaces Mock Objects Practicing Interface-Based Approach in OOAD My Enhancement in the Interface-Based Design Conclusion 5
  6. 6. Interfaces  What are the interfaces???  Why it is important???  How we can do this??? 6
  7. 7. Interfaces: (Continued) In object-oriented programming languages, an interface is a language construct that specifies the expected behavior of an object as a set of operation/method signatures. A method signature usually includes the method name, order, and type of its parameters, and its return type. 7
  8. 8. Interfaces: (Continued) 8
  9. 9. Interfaces: (Continued) With careful use of interfaces, we can decouple classes in our system. program to an interface, not an implementation. flexibility (gracefully accommodating changes in direction), extensibility (gracefully accommodating addons), pluggability (gracefully substituting objects that have identical interfaces for each other at run-time using dynamic binding and polymorphism) 9
  10. 10. Interfaces: (Continued) 10
  11. 11. Mock Objects In object-oriented programming, mock objects are simulated objects that mimic the behavior of real objects in controlled ways. It is not that developing interface-based design depends on mocks, but using mocks in software development forces one to develop code that is interface-based, loosely coupled, and where object composition via interfaces is favored. 11
  12. 12. My Contribution: Design reuse Easier exploration of the design space 12
  13. 13. Thank You 13

×