1

Is this common at all, or even useful? Let's say I build a 2-Dimensional RPG using ORM architecture in an MVC pattern, for example. Are there benefits?

zeboidlund
  • 9,731
  • 31
  • 118
  • 180
  • 1
    Well, my answer would be : NO. If you want the longer answer, read this old [comment](http://stackoverflow.com/questions/7765070/redbean-orm-perfomance/7767323#7767323), repeating the same song'n'dance again would seem a bit wrong. – tereško Nov 26 '11 at 11:33

1 Answers1

1

An ORM is a typical business software pattern, not something used in game. I guess you could use an ORM for loading the levels from a database and use it to save the current status when the game is quit. But that wouldn't be the main focus of the application. A typical business application's focus is to manage data, so the ORM takes a central role. In the game, the focus should be on the user interface.

Using an MVC approach to building user interfaces is almost always good. It keeps the user interface code structured.

Anders Abel
  • 67,989
  • 17
  • 150
  • 217