Commit graph

15 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
pies
4a87a75332 - Two standard controllers -- PageController and TestsController
- Helpers for controllers -- each controller has it's own helper in the /app/helpers directory
- /logs and /modules directories
- The application runs just fine without /config/database.php if controllers don't ask for db access
- Changed the name of /public/dispatch.php to /public/index.php, it's nicer and more standard, won't you agree? Kamil's fix for no-mod_rewrite needs to be re-implemented
- Cleanups, fixes, and even one or two comments ;)

git-svn-id: https://svn.cakephp.org/repo/trunk/cake@158 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-05-22 23:24:09 +00:00
pies
b5f6dba58e git-svn-id: https://svn.cakephp.org/repo/trunk/cake@148 3807eeeb-6ff5-0310-8944-8be069107fe0 2005-05-21 22:40:51 +00:00
brego
3f7450435a Commenting is slow. I noticed some under_scored methods in db stuf... Goodnight.
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@141 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-05-18 22:29:02 +00:00
pies
b92f61d3a7 Removed some empty comment lines.
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@134 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-05-17 22:23:22 +00:00
phpnut
d84575c565 modifying file headers
removing tabs in file I found them in
all code should use spaces
If your editor allows set tabs to 4 spaces :)

git-svn-id: https://svn.cakephp.org/repo/trunk/cake@132 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-05-17 21:47:59 +00:00
phpnut
ce08562f5d modifying file headers
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@131 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-05-17 21:39:28 +00:00
phpnut
a04f96df6b modifying file headers
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@130 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-05-17 21:27:56 +00:00
pies
ae6c6d0a36 Bugfixes, cleanups and a new DbFactory class to generate DBO objects according to the db configuration.
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@129 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-05-17 20:55:27 +00:00
phpnut
f409b10a97 adding docblocks and file header
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@116 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-05-17 01:31:36 +00:00
pies
a778f3c3c3 Merging my changes into trunk. This should give us a nice clean trunk to continue with. It's strongly recommended that you merge this version with your sandboxes -- I've added all the phpdoc fields and changed a lot.
I've removed the author/licence information from some files -- such as app/app_controller.php and config/database.php -- as they are not our code and those files need to remain as clean as possible for people not to get lost in them.

I've run the tests on this one, but the tests are not as extensive as they should be. If you want to get the test controller etc. check out the version in my sandbox. But we'll probably be moving to SimpleTest  soon anyway.

git-svn-id: https://svn.cakephp.org/repo/trunk/cake@114 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-05-16 23:14:37 +00:00
phpnut
bb71238ec1 change license to The MIT License
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@109 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-05-16 00:52:42 +00:00
phpnut
cd86555549 moving cake to a sub directory
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@106 3807eeeb-6ff5-0310-8944-8be069107fe0
2005-05-15 21:41:38 +00:00