Jump to content

Naked Objects for .NET

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Uzume (talk | contribs) at 18:56, 1 December 2015 (ref). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Naked Objects for .NET or Naked Objects MVC is a software framework that builds upon the ASP.NET MVC framework.

As the name suggests, the framework synthesizes two architectural patterns: naked objects and model–view–controller (MVC). These two patterns have been considered as antithetical. However, Trygve Reenskaug (the inventor of the MVC pattern) has made it clear that he does not see it that way, in his foreword to Richard Pawson's PhD thesis on the Naked Objects pattern.[1]

The Naked Objects MVC framework will take a domain model (written as Plain Old CLR Objects) and render it as a complete HTML application without the need for writing any user interface code - by means of a small set of generic View and Controller classes. The framework uses reflection rather than code generation.

The developer may then choose to create customised Views and/or Controllers, using standard ASP.NET MVC patterns, for use where the generic user interface is not suitable.

References

  1. ^ Pawson, Richard (June 2004). Naked objects (PDF) (Ph.D. thesis). Trinity College, University of Dublin.