Ryan answered your question. you'll find out by reading the migrating link - to me it seems silly to list here what is listed there especially when you can just get info straight from source there
assuming all code is correct > if you using 1.3 then the code is out of date and therefore not correct for the version - S On 11 May 2011 21:59, brandon buster <[email protected]> wrote: > Thanks for trying to answer my question. Though my main question here > is a question of "assuming all code is correct, are there any common > problems with getting these deprecated helpers to work?" > > > > On May 11, 4:33 pm, Ryan Schmidt <[email protected]> wrote: > > On May 11, 2011, at 14:28, brandon buster wrote: > > > > > I've been reading Beginning Cakephp and Practical Cakephp Projects, > > > both printed by Apress. Both books use version 1.2 and so far in all > > > the tutorials I can't get the Javascript or Ajax functions to work. > > > > > It seems there're problems with the HttpRequests, but I'm sure it's > > > not the code as I've copied it straight from the books. > > > > > Are there any issues that are likely the root of the problem here? > > > Perhaps PHP 5.3.5 is not compatible with the Prototype library? > > > > PHP is a server-side scripting language. Prototype is a client-side > JavaScript library. They have nothing to do with one another, no opportunity > to cause each other any incompatibilities. > > > > CakePHP 1.2 is old. In CakePHP 1.3 the JavaScript functions were > rewritten -- the JavaScript helper is deprecated and replaced with the new > Js and Html so any CakePHP documentation you are following about using > CakePHP to generate JavaScript code will probably not be correct. I would > refer you to the online CakePHP cookbook: > > > > http://book.cakephp.org/ > > > > See "Deprecated Helpers" under here: > > > > http://book.cakephp.org/view/1561/Migrating-from-CakePHP-1-2-to-1-3#V... > > > > You may want to read that entire page, to see what other information > you've learned from your CakePHP 1.2 book needs to be changed to be > applicable to CakePHP 1.3. > > -- > Our newest site for the community: CakePHP Video Tutorials > http://tv.cakephp.org > Check out the new CakePHP Questions site http://ask.cakephp.org and help > others with their CakePHP related questions. > > > To unsubscribe from this group, send email to > [email protected] For more options, visit this group > at http://groups.google.com/group/cake-php > -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
