Monday, October 20, 2014

Is it a good idea to put AngularJS webpages onto Page folder?

I am currently using Cakephp mainly as REST server and AngularJS. The Angularjs webpages are put under webroot folder. Things have been working fine until I added user login authentication in Cakephp. For unauthenticated users who visit webpages in webroot, they are not directed to a login page. I thought of a solution but would like to seek advise from the more knowledgeable members here. Is it a good or even workable idea to put AngularJS webpages in the Page folder? What are the disadvantages in doing this? Or are there better alternatives?

--
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: