mercredi 11 mars 2015

Splitting Catalyst Application

I have an Catalyst application with two 'different' sides. In one hand, I have an html website that will work with my database as an admin interface, in the other hand, I have a rest/json interface of the same application, consuming the same database. Actually the applications are very similar, differing on the way they'll be requested and responded.


How to 'split' this two applications in one ? One thing I imagined is to split my 'lib' directory in two, one 'MVC' for each 'sub-application', but I also don't know how to do it.


What's the best practice in this situation ?


Aucun commentaire:

Enregistrer un commentaire