EclipseCon 08 - Agile RCP
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

EclipseCon 08 - Agile RCP

on

  • 1,374 views

 

Statistics

Views

Total Views
1,374
Views on SlideShare
1,371
Embed Views
3

Actions

Likes
0
Downloads
4
Comments
0

1 Embed 3

http://www.slideshare.net 3

Accessibility

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

EclipseCon 08 - Agile RCP Presentation Transcript

  • 1. Agile RCP Presenter First using Spring Dynamic Modules Heiko Seeberger, metafinanz © 2008 by Heiko Seeberger; made available under the EPL v1.0 | March 20th, 2008 | www.metafinanz.de
  • 2. Agile development of user interfaces • Which process leading from requirements to UI code? • How can UIs be unit-tested? UI code Unit tests Requirements Agile RCP - Presenter First using Spring Dynamic Modules | © 2008 by Heiko Seeberger; made available under the EPL v1.0
  • 3. Presenter First architecture Reference Event • MVP variant: Passive view. Presenter • Model and view abstracted as interfaces. IView IModel • Unit-testing presenters by mocking model and view. MockView MockModel PresenterTest Agile RCP - Presenter First using Spring Dynamic Modules | © 2008 by Heiko Seeberger; made available under the EPL v1.0
  • 4. Presenter First process • Requirements drive the design. Presenter User Story +onQuery() The user can query for … books by entering the title in the query form … IView IModel +getName() +getBooks() … … Agile RCP - Presenter First using Spring Dynamic Modules | © 2008 by Heiko Seeberger; made available under the EPL v1.0
  • 5. Presenter First on Eclipse RCP • MVP triads managed by a Presenter Spring application context. • Spring Dynamic Modules View Model integrates Spring into OSGi. Spring application context OSGi bundle Agile RCP - Presenter First using Spring Dynamic Modules | © 2008 by Heiko Seeberger; made available under the EPL v1.0
  • 6. Presenter First on Eclipse RCP • Plug into the workbench via Presenter factories for views and editors. View Model views xPt ViewPart Factory Spring application context Workbench Agile RCP - Presenter First using Spring Dynamic Modules | © 2008 by Heiko Seeberger; made available under the EPL v1.0
  • 7. Demo – User story, view and model User Story By clicking “Next“ the user can request a new random number which is shown in a text field. By clicking “Clear“ this text field is cleared. Agile RCP - Presenter First using Spring Dynamic Modules | © 2008 by Heiko Seeberger; made available under the EPL v1.0
  • 8. Demo – Presenter Agile RCP - Presenter First using Spring Dynamic Modules | © 2008 by Heiko Seeberger; made available under the EPL v1.0
  • 9. Demo – Test Coverage • Presenter 100% covered! Agile RCP - Presenter First using Spring Dynamic Modules | © 2008 by Heiko Seeberger; made available under the EPL v1.0
  • 10. Demo – Spring configuration Agile RCP - Presenter First using Spring Dynamic Modules | © 2008 by Heiko Seeberger; made available under the EPL v1.0
  • 11. Agile RCP • Framework for agile development of UIs with RCP: Based on standards like OSGi, Spring DM and MVP. Already contains library for Presenter First on RCP. Tooling and test support planned. • Plans: 0.9 release in April (Eclipse Forum Europe). Make Agile RCP open source. Agile RCP - Presenter First using Spring Dynamic Modules | © 2008 by Heiko Seeberger; made available under the EPL v1.0
  • 12. Thank you! • For further information: Visit our Agile RCP website at agilercp.metafinanz.de, Join my session at Eclipse Forum Europe or Contact me at heiko.seeberger@metafinanz.de. Agile RCP - Presenter First using Spring Dynamic Modules | © 2008 by Heiko Seeberger; made available under the EPL v1.0