Yes, keep your javascriptMVC code in weroot folder and build cakePHP app
using REST webservice (cakephp inbuilt feature)  this way you build service
oriented architecture for your project, I have same structure in my project.



On Thu, Oct 11, 2012 at 6:06 PM, Dr. Tarique Sani <tariques...@gmail.com>wrote:

> On Thu, Oct 11, 2012 at 3:12 PM, Sathia S <sathia2...@gmail.com> wrote:
> >
> >> I would develop the javascript MVC application to be independent of
> >> the CakePHP application and not try to put the js MVC into the webroot
> >> of the cakePHP app
> >>
> >> So it would be easier if you think of your project as two separate
> >> projects.
> >>
> > Hi. Thank you for reply. Is that correct way to do like that?
>
> Yes that is the correct way to do it - if you do it this way you can
> have separate teams working on PHP and javascript. You can test your
> PHP and JS independent of each other. You can have the PHP api
> consumed by say a mobile app in future and so on...
>
> Tarique
>
> --
> =============================================================
> The Conference Schedule Creator : http://shdlr.com
>
> PHP for E-Biz : http://sanisoft.com
> =============================================================
>
> --
> 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+unsubscr...@googlegroups.com.
> Visit this group at http://groups.google.com/group/cake-php?hl=en.
>
>
>


-- 
Abhijit Kakade
LAMP Developer,
MCP,CCNA
Mob : +91-9923729250

-- 
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+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.


Reply via email to