[TYPO3-l10nmgr] refactoring ideas....

Andreas Otto andreas.otto at dkd.de
Mon Dec 3 08:03:55 CET 2007


Hi Daniel,

Daniel Pötzinger schrieb:
> I would like to split the existing logic in more classes and implement a
> rough MVC. Here are my first ideas – what do you think?

Good idea.


> Controller:
> -----------------
> * controller/l10nmgr

OK.

> Logic / Models:
> --------------------------
> 
> * model/impexportbase
> 
> Basis function for doing reading and writing to TYPO3 DB.
> As well as interpreting the l10nmgr configurations.

OK.

> * model/simpleXMLparser
> functions which are responsible for creating and reading the CAT XML

OK.
But this is the part which needs to be flexible because it has to
support different CAT tools.

> * model/excelXMLparser
> same for excelXML

OK.

> *model/XMLprocessor
> ...maybe put in the transformation stuff etc...
> also add some tidy support?

OK.

> Views for output (to Browser):
> -----------------------------
> 
> *view/simpleXML
> 
> *view/excelXML
> 
> 
> * view/listview
> The rendering of the l10nmgr overview in the Backend
> 
> (* view/configurationslist
> The rendering of the configuration overview)

OK.

> What do you think?
> If you are fine i will start to give it a first try and show you the
> results.

If you start with it I suggest you create a development branch "mvc".
Especialy when you develop the model/simpleXMLparser please have a look
at the branch "v2" where Daniel Zielinski added support for different
CAT tools and integrate that in the model.


Cheers,
Andreas


More information about the TYPO3-project-l10nmgr mailing list