I don't have any experience with MVC, and am trying to use Grails to write a simple web app. All the examples I've found assume you have a database to base your domain classes off of, and there for have a model based on a database. I'm getting data through an API that does socket communication, and would want the model to be based on that Data. Are there any examples of using a source other then a database for the model component of an MVC app? I'd prefer the examples to be in Grails but will sue any web based examples I can get.
相关问题
- How to dynamically load partial view Via jquery aj
- Grails External Configuration. Can't access to
- grails unit test + Thread
- JMS Job queue with Grails
- Grails: SpringSecurity roleHierarchy not working a
相关文章
- Forward request from servlet to jsp
- superclass mismatch for class CommentsController (
- Grails: How to make everything I create Upper Case
- play2 framework my template is not seen. : package
- Swift and Objective-c framework exposes its intern
- Grails and Quartz: Bad value for type long
- Sending JSON to javascript on GSP
- How to catch exception in flutter?
Check out command objects. They're pretty much like domain objects as you can do neat things like validation on them, but they're not mapped to any database.