0

Let's suppose an application written in Cake2. This application is huge. This application is mainly about CRUD's. Rewriting this application into Cake3 could be very time-consuming.

Now, I need o extend this application with lots of functionality. More and more CRUD's.

Application interface must look same, there must be single authorization and authentication provided by old app, or maybe rewritten into new app.

Now, is there any way, that existing application ( in Cake2 ) could work on same domain with Cake3?

I know that added functionality could work on subdomain like

  • Cake2 app is domain.tld
  • Cake3 app is storage.domain.tld

but how complicated, problematic could be set things as

  • domain.tld/[beefs|chips|sausages] <- Cake2
  • domain.tld/storage <- Cake3

Opinions?

xrep
  • 185
  • 4
  • 14

1 Answers1

3

It's pretty easy. Just configure your webserver to route /storage to your Cake3 app and all other to the Cake2 app.

Community
  • 1
  • 1
floriank
  • 25,546
  • 9
  • 42
  • 66
  • wondering, can it share the session? AFAIK, token for form will be mismatch, right?How to pass data to single view using 2 different apps – Robbi Nespu Mar 31 '17 at 08:49