Re: newbie questions
Re: newbie questions
- Subject: Re: newbie questions
- From: Karl Gretton <email@hidden>
- Date: Mon, 05 Jan 2004 18:53:06 -0500
Hi James,
My comments below.
Karl
On Jan 5, 2004, at 6:31 PM, james cicenia wrote:
Hello -
I am about to start developing a fairly sophisticated hosted service
web application and am seriously considering WebObjects.
My questions after playing with it all weekend are such:
Do people model just the database with EOModeler or do you
also model every relevant screen of your application too?
EOModeller is used for modelling objects which usually represent one or
more tables in a database or other datastore. You do not model screens
of your application.
Screen design is either performed automatically using DirectToWeb and
the Rules system (you can tunes its behaviour with the Rules Editor
and, in real-time, with the Web Assistant) or you design screens in
WOBuilder.
Do people first use Direct2Web and then freeze and modify?
If your application is heavily data centric, D2W is a great way to get
excellent results very quickly. If D2W breaks or you can't get the
behaviour that you want then there is a good chance there is a problem
with your model. Therefore, D2W is great for prototypes.
I don't know about other people but we rarely freeze D2W 'tasks'. What
we usually do is create/modify D2W templates to get the look and feel
and functionality that we want across the whole application. These
templates cover things like List, Select, Inspect, etc, functions. You
can add additional tasks....different types of List screens for
example.
One of the most common things to do is to produce your own navigation
system that calls specific D2W tasks or named 'page configurations' for
specific entities. Using the nextPageDelegate functions, you can link
together a series of D2W forms or combine them with your own WO forms.
In addition, D2W lets you write your own custom components and to use
these within any D2W form/task using the WebAssistant.
In Direct2Web is there a simple way to populate my audit fields
in all my tables and transactions, i.e., addDate, modDate, addUser,
modUser?
I wouldn't do this in D2W. You put this functionality into the class
definitions. From EOModeller you generate the Java classes that you
want and add these to your Project. Then you edit the code to carry
out the functions that you need on insert, save, etc.
You can also do this with stored procedures if you want to.
Sincerely,
James Cicenia
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.