Re: eomodeler with mysql
Re: eomodeler with mysql
- Subject: Re: eomodeler with mysql
- From: Arturo PĂ©rez <email@hidden>
- Date: Sat, 13 Dec 2003 10:51:21 -0500
On Dec 13, 2003, at 4:49 AM, il cerro wrote:
Hi everybody!
I am new with databases and intend to do my first project with
webobjects. I would appreciate very much any help...
Well, what I need it is supposed to be an easy database: 8 cinemas,
with about 10 films running in each of them. I would like to
understand if 8 cinemas should be the entities in eomodeler, and the
films, genre, etc, their attributes or if there is another way to
establish the logical relationships in order to find the different
movies running in different cinemas and make it easy to update
weekly...
This should be fairly straightforward but hard to explain in text.
When you want to make a relationship
in EOModeler you control drag from an attribute in one entity to the
matching attribute in the other
(usually primary key to foreign key in database speak).
So, say you have a Cinema object with street address information. The
rest depends on whether you keep
the Films forever and rotate them through the schedule (like a revival
house?) or whether you
only show a Film once. If you keep them forever then you would need a
Film entity independent
of schedule. Or if the same Film can be playing in multiple Cinemas.
By the way, I have installed the JDBC driver for mysql with success
and it looks like eomodeler can access the database normally. To
create the database I have used Navicat. Do you suggest me to go on
with this project using mysql or should I better use another database?
I'm not a fan of MySQL but it should work fine. Did you try making the
database with EOModeler?
-------
WebObjects in Philadelphia. You want a cheesesteak with that?
Visit http://webobjects.meetup.com
_______________________________________________
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.