I think you are right about http comunications and probably we will introduce also a complete backend API rest to use backend data with every type of frontend app (not only cake app).
But having the possibility to use directly backend core in your frontend app is more flexible and you don't lose time on http requests improving the frontend performance.
However maybe another approch could be use the same namespace for frontend and backend app and in frontend app add to autoloader cake core and some exposed backend directories (for example App/Model dir). In this way maybe it doesn't need to explicit the class name. But I have to test it and I have to think if it's a good idea.
alberto
2014-03-29 12:20 GMT+01:00 mark_story <mark.story@gmail.com>:
What kinds of things are you thinking woud mak these kinds of situations easier? Plugins get you most of the way but I am guessing there are unmet requirements/expectations.
You mention you have two separate applications. Have you considered making two applications that communicate over http? Separate webservices are used in larger organisations with great results.
-mark
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to a topic in the Google Groups "CakePHP" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cake-php/MHdseZKF4ts/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.
------ bato -------
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment