# |
Aug 6th 2008, 14:30 |
Noise98 |
teknoid: __saveMulti is the function inside model.php that save the joined Model |
# |
Aug 6th 2008, 14:29 |
Jonah |
i'll go ahead and to it then |
# |
Aug 6th 2008, 14:29 |
teknoid |
Jonah: you are welcome to submit editions if you think it's missing somewhere |
# |
Aug 6th 2008, 14:29 |
Jonah |
it does I guess in the blog example app |
# |
Aug 6th 2008, 14:29 |
Jonah |
not that I can find... |
# |
Aug 6th 2008, 14:28 |
teknoid |
Jonah: it is. in a few places |
# |
Aug 6th 2008, 14:28 |
Raphael |
hi |
# |
Aug 6th 2008, 14:28 |
Jonah |
this should be documented in the manual |
# |
Aug 6th 2008, 14:28 |
teknoid |
Noise98: what is saveMulti? |
# |
Aug 6th 2008, 14:28 |
Jonah |
I realized the other day that save() will do an sql UPDATE if you define an id |
# |
Aug 6th 2008, 14:27 |
teknoid |
Noise98: https://trac.cakephp.org/ticket/4389 |
# |
Aug 6th 2008, 14:27 |
Jonah |
oh good |
# |
Aug 6th 2008, 14:27 |
Noise98 |
Jonah: no |
# |
Aug 6th 2008, 14:26 |
Jonah |
model::save is depreciated ?? |
# |
Aug 6th 2008, 14:26 |
Noise98 |
the saveMulti function in model.php got code for saving and updating habtm |
# |
Aug 6th 2008, 14:25 |
Noise98 |
and early in 1.2 |
# |
Aug 6th 2008, 14:25 |
Noise98 |
but I don't get it, the habtm saving was working in 1.1 |
# |
Aug 6th 2008, 14:25 |
teknoid |
Noise98: it is :) |
# |
Aug 6th 2008, 14:20 |
_psychic_ |
Noise98: i'd try it - it'll do it all up for you |
# |
Aug 6th 2008, 14:20 |
Jonah |
it says cake is not |
# |
Aug 6th 2008, 14:20 |
Jonah |
get the Yslow extension for firefox. it tells you what is gziped |
# |
Aug 6th 2008, 14:20 |
teknoid |
Jonah: there's also mod_deflate, but i haven't tried it |
# |
Aug 6th 2008, 14:20 |
_psychic_ |
try it |
# |
Aug 6th 2008, 14:19 |
Noise98 |
nope |
# |
Aug 6th 2008, 14:19 |
_psychic_ |
Noise98: did you use Bake? |
# |
Aug 6th 2008, 14:19 |
teknoid |
jaredhoyt: i think that extension is enabled by default in apache |
# |
Aug 6th 2008, 14:19 |
Jonah |
http://debuggable.com/posts/a-miracle-called-gzip:480f4dd5-696c-48c4-8d7c-444ccbdd56cb |
# |
Aug 6th 2008, 14:19 |
Noise98 |
Jonah: html yes |
# |
Aug 6th 2008, 14:19 |
Noise98 |
? |
# |
Aug 6th 2008, 14:19 |
Noise98 |
what am I doing wrong with my HABTM ^ |
# |
Aug 6th 2008, 14:19 |
Jonah |
most phpbb forums are. look at the footer, it says "page is GZiped" |
# |
Aug 6th 2008, 14:19 |
Noise98 |
http://bin.cakephp.org/view/623844475 |
# |
Aug 6th 2008, 14:19 |
jaredhoyt |
Noise98: that's true |
# |
Aug 6th 2008, 14:18 |
jaredhoyt |
does it? i honestly don't know... haven't started optimizing this project yet |
# |
Aug 6th 2008, 14:18 |
Jonah |
most websites are gziped |
# |
Aug 6th 2008, 14:18 |
Noise98 |
it depend if u are looking for speed or for bandwidth saving |
# |
Aug 6th 2008, 14:18 |
Jonah |
jaredhoyt: i think it still helps tho |
# |
Aug 6th 2008, 14:18 |
jaredhoyt |
s/add/remove |
# |
Aug 6th 2008, 14:18 |
jaredhoyt |
i've never done it, but i'd imagine the time it takes to compress on the fly wouldn't compensate for download time |
# |
Aug 6th 2008, 14:17 |
Jonah |
Noise98: oh... |
# |
Aug 6th 2008, 14:17 |
jaredhoyt |
does the compression really add much loadtime w/o caching enabled/ |