[FLOW3-general] Build an Flow-Application on an existing Oracle database
Karsten Dambekalns
karsten at typo3.org
Fri Jan 11 09:17:52 CET 2013
Hi.
On 03.01.13 11:39, Qbus | Axel Wüstemann wrote:
> For some parts of the app we have to use given database views, only for
> reading an displaying the data. So we can't use doctrine's database
> updates, migrations, table structures etc.
I do not really see a problem.
If you have to use those views and they are read-only, just map them to
objects as usual and mark the objects as read-only.
If you have to write to the DB as well, you are not writing the same
data as you are reading, I guess. Depending on what is your "master",
you can create domain models for the "writing" case and specialized DTOs
for reading from the views. Or vice versa.
It depends on how you are actually making use of views and regular
relations.
Regards,
Karsten
--
Karsten Dambekalns
TYPO3 Core Developer, Neos / Flow Team
TYPO3 .... inspiring people to share!
Get involved: typo3.org
More information about the FLOW3-general
mailing list