Speaker Topics - No Fluff Just Stuff

MVP: The retro future of UI design

An introduction to the Model/View/Presenter design pattern.

UI development is deceptively difficult. For simple examples, and of course demos, you can quickly whip together a UI for some simple thing like a temperature converter, with a modern wysiwyg widget editor.

But as you know, that ease of use does not scale well. For complicated architectures, implementing a flexible, and highly extensible user interface is no easy task. In this session we'll see how you can use the Model / View / Presenter design pattern to create user interfaces that you can easily bend to your will, and perhaps most importantly, easily unit test.

This session starts with an overview of MVP, and then dives into a live-coding example that uses the gwt-presenter and gwt-dispatch libraries. The code is GWT-based, but you can apply the concepts to any user interface framework.


About David Geary

David Geary is the president of Clarity Training, Inc. (corewebdevelopment.com), where he teaches developers to implement web applications using JavaServer Faces (JSF) and the Google Web Toolkit (GWT).

A prominent author, speaker, and consultant, David holds a unique qualification as a Java expert: He wrote the best-selling books on both Java component frameworks: Swing and JavaServer Faces. David's Graphic Java Swing was the best-selling Swing book, and is one of the best-selling Java books of all-time, and Core JSF, which David wrote with Cay Horstman, is the best-selling book on JavaServer Faces.

David was one of a handful of experts on the JSF 1.0 Expert Group (EG) that actively defined the standard Java-based web application framework, and David is currently on the JSF 2 Expert Group, helping to vastly improve JSF in version 2.

Besides serving on the JSF and JSTL Expert Groups, David has contributed to open-source projects and he has written questions for two of Sun's Certification Exams: Web Developer Certification and JavaServer Faces Certification. He invented the Struts Template library which was the precursor to Tiles, a popular framework for composing web pages from JSP fragments, was the 2nd Struts committer and contributed to the Apache Shale project.

David has spoken at more than 100 NFJS symposiums since 2003, and he also speaks at other conferences such as TheServerSide Java Symposium, JavaOne, JavaPolis, and JAOO. David has taught at Java University for the past three years, and is a three-time JavaOne rock star.

More About David »