I started my app very simply following the documentation videos for Codeigniter.
I have the following tables:
Account
account_id
name
details
Contact
contact_id
account_id
name
address
Order
order_id
account_id
contact_id
date
description
Item
item_id
order_id
description
price
Relationships are as follows: 1 Account to many orders 1 Account to many contacts 1 Contact to many orders 1 Order to many items
Now when I'm trying to get the account name from a view that's only passed a query from an order table, the queries can get a bit cumbersome.
In saying that, the app is quite simple and there's not too many of these queries.
I just want to know what your opinions are on ORMs - do you think one is necessary for a simple app like this?