Frontend Javascript framework
Hi there, This isn't a specific CakePHP question so I apologize in advance if this isn't the appropriate group to ask this question. I have been developing in Cake for quite some time now (over two years), and I am trying to build an application where the frontend will use REST calls to render the data to the user. I have been researching about frontend JS frameworks and I found that Angular.js stands up among the others, but its biggest drawback for me is not being SEO-friendly which is a killer for my app's requirements. So I ask you guys on recommendations in developing an isomorphic application in Javascript with Cake as the backend. Thanks! -- 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+unsubscr...@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/groups/opt_out.
Re: Installing a CakePHP application on an existing site
Hi, I'm actually trying to do exactly this. I don't know .htaccess that well, so I how would I configure it to serve up directories and files if they exist? TIA On 15 Feb, 21:39, Dat Chu [EMAIL PROTECTED] wrote: In .htaccess, you can specify that if the URL is a correct file/ directory path, then it will serve the page. Otherwise, it will rewrite to your index.php in cake webroot (to be handled by cake). That way, you cake files can stay on / as well. On Feb 15, 7:07 pm, the_woodsman [EMAIL PROTECTED] wrote: I've done something similar, and the only big issues are URLs (as Eric described, use of htaccess fiels and mod rewrite help here) and sharing the session between standard PHP and Cake. Wood On Feb 15, 11:18 pm, Eric C Blount [EMAIL PROTECTED] wrote: If you extract CakePHP to a directory called /store/ under your main website, then only the store directory will be Cake powered, which should be what you want. Just make sure to get all of the .htaccess files in the right places when you extract. HTH, Eric On 2/15/07, Mike [EMAIL PROTECTED] wrote: Hi, I think my first post was eaten, so here I am again. If it wasn't, please ignore this spam. If I write an app with Cake called Store (for example), can I install it onto an existing site likewww.mysite.com, which has other non-Cake pages and sub directories so that I have: www.mysite.com/Store While keeping the other non-Cake pages, etc? It seems like I should be able to based upon the text in the online manual under http:// manual.cakephp.org/chapter/installing Section 4 Advanced Setup...? Or perhaps using a virtual host? Basically, I just want to be sure I can use CakePHP without having to have everything on the site be Cake-enabled. Thanks. -- Mike --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: Accesing AJAX Form Post data
I think I fixed the problem. I had put the form tags WITHIN a table, when i moved them outside, everything worked. On 9 Feb, 10:59, the_woodsman [EMAIL PROTECTED] wrote: It's making the call, but the form data doesn't seem to be getting to the controller. Have you tried using FF/FireBug to examine the Ajax call being made, and the response you're getting back? Wood On Feb 9, 6:45 am, Wey [EMAIL PROTECTED] wrote: Here's the relevant code: ?php echo $html-formTag('/ShoppingCarts/show','post'); /* ... form fields ... */ echo $ajax-submit('Update Quantity', array('url' = '/ShoppingCarts/ update_quantity', 'complete' = 'contents')); ? /form --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Accesing AJAX Form Post data
Hi everyone, I just started working with CakePHP about a month ago. I'm currently trying to get a From submission to work through AJAX. It's making the call, but the form data doesn't seem to be getting to the controller. I'm using the $ajax-submit() to do the submission. With a regular HTML submit, it works. Any ideas? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: Accesing AJAX Form Post data
Here's the relevant code: ?php echo $html-formTag('/ShoppingCarts/show','post'); /* ... form fields ... */ echo $ajax-submit('Update Quantity', array('url' = '/ShoppingCarts/ update_quantity', 'complete' = 'contents')); ? /form --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---