© Brent Watson 2015
Brent WatsonStripes by Example10.1007/978-1-4842-0980-6_7

7. Working with Data

Brent Watson 
(1)
316 Marine Ave, Brooklyn, USA
 
 
Brent Watson
What good is data stored in DTOs and output as messages? Not much. This chapter will be an extension of the last chapter, but we will add a database backend to the application.
MySQL was used for the database in this chapter, though any database will work with Stripes. Stripes is a web framework only; it does not span into the database/ORM sector as some other frameworks do. As far as good design goes, it is recommended to have Controller and View code (ActionBeans and JSPs), and Model code that handles storing and retrieving data. As such, database code should ...

Get Stripes by Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.