Hello,
I'm going to create API provider for my application, and I don't want to split the API from the main app because there is a lot of tables relations in models and components and other stuff that I want to use with the API, In same time I don't want to use the main AppController because there is a lot of things that happen with each controller (DB queries, load helpers, components, redirects, ...etc) that I don't want to use in API.
I tried to create a new directory and at it to App::Build but I faced a problem when there is a another controller in main controller directory with the same name.
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 post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
No comments:
Post a Comment