Re: Newbie Question.... On Architectue of a Web Application usingWebobjects and EO Models
Paul Lynch <[email protected]>
| Newsgroups | gmane.comp.web.webobjects.devel |
|---|---|
| Message-ID | <[email protected]> |
On 11 Sep 2006, at 14:27, Rajagopal Chowdary wrote: > Here we are working on a competency project using Webobjects. The > idea behind this competency project to see how the webobjects works > by developing a simple web application. > > We are planning to use MVC Architecture, the first Question is > whether its possible to use MVC in Webobjects projects. WebObjects is inherently MVC. > One more thing is how to access the EO Models ( assuming that this > is an O-R Mapping tool). An eomodel is a OR mapping; you access them using EOModeler, or by included them in your project. See the links below for more details. > How can I access the EO Model entities in my Webobject components. > Is it a good design to use the EO Models directly in a component, I > am planning to include a façade in between the component and the EO > Models. See any simple example. Facade is not a good pattern to use with EOs, because it is unnecessary. > Please let me know how to start, is there any good examples, if so > please let me know where can I find good examples. Start with the examples in /Developer/Examples/JavaWebObjects/, and with http://developer.apple.com/tools/webobjects/index.html, especially http://developer.apple.com/documentation/WebObjects/ Web_Applications/index.html Paul