CakePHP backend + Flash frontend
Hello, im kinda new in Cake, i've always been developing Flash sites and now im using Cake for the backends (or CMS) for this sites. But im having problems with the paths configurations, webroot folder, etc. This is the setup i want to acomplish: Cake core: /cake Webroot: /public_html/ App dir: /public_html/intranet/ I've managed to set the CakeCore path outside the public_html dir and webroot path to /public_html/, the problem is that people will see the cake app before the Flash front end. I want it to work this way: When a user types www.mydomain.com he will see the flash front end, and www.mydomain.com/intranet/ will take him to the cake backend. Is this possible? Thanks in advance! Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. 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 For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: CakePHP backend + Flash frontend
You could put your flash front in in the root (www.mydomain.com) and then install cake at www.mydomain.com/intranet On Feb 9, 1:20 pm, VitillO vj.nu...@gmail.com wrote: Hello, im kinda new in Cake, i've always been developing Flash sites and now im using Cake for the backends (or CMS) for this sites. But im having problems with the paths configurations, webroot folder, etc. This is the setup i want to acomplish: Cake core: /cake Webroot: /public_html/ App dir: /public_html/intranet/ I've managed to set the CakeCore path outside the public_html dir and webroot path to /public_html/, the problem is that people will see the cake app before the Flash front end. I want it to work this way: When a user types www.mydomain.com he will see the flash front end, and www.mydomain.com/intranet/ will take him to the cake backend. Is this possible? Thanks in advance! Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. 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 For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: CakePHP backend + Flash frontend
I think you can place your flash app in your default page. If you didnt change the default route, this should work. create the /app/views/pages/home.ctp and into it, you put your flash there. and in the /app/config/routes.php, you change your route back to the default route: Router::connect('/', array('controller' = 'pages', 'action' = 'display', 'home')); or, of course, as richard said, you can put your cake instalation pointing directly to your /intranet -- Renato de Freitas Freire ren...@morfer.org On Tue, Feb 9, 2010 at 11:20 AM, VitillO vj.nu...@gmail.com wrote: Hello, im kinda new in Cake, i've always been developing Flash sites and now im using Cake for the backends (or CMS) for this sites. But im having problems with the paths configurations, webroot folder, etc. This is the setup i want to acomplish: Cake core: /cake Webroot: /public_html/ App dir: /public_html/intranet/ I've managed to set the CakeCore path outside the public_html dir and webroot path to /public_html/, the problem is that people will see the cake app before the Flash front end. I want it to work this way: When a user types www.mydomain.com he will see the flash front end, and www.mydomain.com/intranet/ will take him to the cake backend. Is this possible? Thanks in advance! Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. 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.comcake-php%2bunsubscr...@googlegroups.comFor more options, visit this group at http://groups.google.com/group/cake-php?hl=en Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. 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 For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: CakePHP backend + Flash frontend
@Richard: Thats the setup i was using in previous projects, but what i want is the webroot files from Cake (images, docs, etc) to be outside intranet directory, its just a matter of organization, its seems cleaner to me this way, because Flash will be accessing this files too. @Renato: I could try that, but what about the other external files that my flash movie needs? (XML's and some PHP scritps), where do i put them? Will the rewrite rules of cake work fine? Thanks for your responses! On Feb 9, 2:29 pm, rich...@home richardath...@gmail.com wrote: You could put your flash front in in the root (www.mydomain.com) and then install cake atwww.mydomain.com/intranet On Feb 9, 1:20 pm, VitillO vj.nu...@gmail.com wrote: Hello, im kinda new in Cake, i've always been developing Flash sites and now im using Cake for the backends (or CMS) for this sites. But im having problems with the paths configurations, webroot folder, etc. This is the setup i want to acomplish: Cake core: /cake Webroot: /public_html/ App dir: /public_html/intranet/ I've managed to set the CakeCore path outside the public_html dir and webroot path to /public_html/, the problem is that people will see the cake app before the Flash front end. I want it to work this way: When a user types www.mydomain.com he will see the flash front end, and www.mydomain.com/intranet/ will take him to the cake backend. Is this possible? Thanks in advance! Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. 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 For more options, visit this group at http://groups.google.com/group/cake-php?hl=en