Skip to main content

Blog Archive for garysweaver during December 2008

For the several years (at least since mobile devices were able to browse the net in some form or fashion), companies and organizations have been interested (and increasingly so) in making their sites/web applications mobile-friendly. But from what little I know, supporting mobile devices is not just as easy as a single differentiation in format. Mobile devices support HTML, XHTML (various),...
As a follow-up from the previous article on the Interaction-Flow-Service-Model Architectural Pattern (IFSM), let's talk about suggestions for developing a more modular flow layer. All non-flow-related logic should be pushed to service layer (or an additional service-logic layer). Aim for simplicity in controllers and related contextual VOs. Unless something else is needed, lean towards using...
There is one thing that I've overlooked until today, which is the importance of the division of the controller into application "flow(s)" and application "service(s)". For a good while now, I had been keeping controller code separate from service code (which in turn called the DAOs, that used Spring DAO, that used Hibernate, that interacted with the DB, etc.). However sometimes business logic...