[TYPO3-mvc] best way to query other database readonly from extbase extension
Adrian Dymorz
t3 at adrian.dymorz.ch
Tue Jan 28 19:55:02 CET 2014
Hi Gerd,
as far as I understand you want to create an extbase extension to do
some sort of calculation and output of data but without creating the
models for the data you want to have your calculations based on.
That sounds like using extbase without the main part of it and without
having the benefits you could get from using the MVC pattern.
I recommend you to
a.) either create an simple extension (using pibase to avoid unnecessary
overhead) which accesses the external data using custom SQL queries,
doing calculations and let them be displayed by a simple marker based
template or
b.) do the work and create a model for every entity which should be use
for the calculations. Accessing the data of an external system leads you
to the challenge to implement a custom way for accessing the data.
Best regards
Adrian
More information about the TYPO3-project-typo3v4mvc
mailing list