Commit graph

3 commits

Author SHA1 Message Date
pies
8af7d1f67a Sync'd with Olle's sandbox and with the Ajax stuff I've received. I'm trying to put together a sample application using Ajax, but it's gonna take at least few days (mostly because I've already done it and got bored with it:)
Changes are mostly comments, plus a few more methods for the Controller class (which really needs thinning). I think I'll create two helper classes, Html and Ajax to handle the tag-generating stuff and take some code off libs/controller.php. Also, added /vendors/javascript/prototype.js and /public/js/prototype.js -- they are the same, perhaps we should just distribute one.

One other change is a standards-fix for Controller::urlFor() (ampersands are entity-encoded now), but it seems puny compared to the former.

Larry, can you refresh the PHPDocs?

git-svn-id: https://svn.cakephp.org/repo/trunk/cake@205 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-05-31 22:40:49 +00:00
pies
4234bc9488 I've added some fixes and new methods, hope this gets to be in the today's release. If not, at least the fixes should get in as soon as possible.
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@192 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-05-29 19:43:59 +00:00
pies
3ccf15ce3a - fixed a bug in default config by changing PagesController::show() instead of PagesController::display()
- added Template::renderElement('element_name_or_path', $params_array) with appropriate /config/paths.php defines and a /app/views/elements directory
- added Ajax stuff to the Controller class, but I think it needs to be moved out into some helper class, along with all the tag generators
- new Flay::extractWords() to return an array of words from a string
- new Time::timeAgoInWords()
- added /vendors/javascript/prototype.js and /public/js/prototype.js (with some changes, we can keep only one copy in the tree) 

git-svn-id: https://svn.cakephp.org/repo/trunk/cake@190 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-05-29 19:25:55 +00:00