Page 1 of 12071, showing 100 records out of 1207061 total, starting on record 1, ending on 100
| # |
At |
Username |
Text |
Report |
| # |
Aug 6th, 14:09 |
Noise98 |
in 1.2 |
Report |
| # |
Aug 6th, 14:11 |
achew22 |
that doesn't instill confidence.. |
Report |
| # |
Aug 6th, 14:11 |
robsox128 |
jaredhoyt: Thanks for the link, I think maybe I should read through the whole Cookbook again, I'm clearly not getting things. :) |
Report |
| # |
Aug 6th, 14:11 |
jaredhoyt |
gj achew22 |
Report |
| # |
Aug 6th, 14:11 |
achew22 |
) |
Report |
| # |
Aug 6th, 14:12 |
jaredhoyt |
i've probably done 10 ~ today |
Report |
| # |
Aug 6th, 14:12 |
jaredhoyt |
forget everytime |
Report |
| # |
Aug 6th, 14:12 |
achew22 |
lol |
Report |
| # |
Aug 6th, 14:12 |
achew22 |
I've done it a lot too |
Report |
| # |
Aug 6th, 14:13 |
Jonah |
how can I get cakephp to gzip stuff? id like it to gzip css, js and the main html |
Report |
| # |
Aug 6th, 14:14 |
teknoid |
Jonah: do you mean to speed up downloads? |
Report |
| # |
Aug 6th, 14:14 |
Jonah |
yes |
Report |
| # |
Aug 6th, 14:15 |
Jonah |
the time it takes to download the pages |
Report |
| # |
Aug 6th, 14:15 |
Jonah |
why? |
Report |
| # |
Aug 6th, 14:15 |
teknoid |
Jonah: i imagine that's an apache thing, enabling mod gzip |
Report |
| # |
Aug 6th, 14:16 |
Jonah |
right now I have @ob_start ('ob_gzhandler'); in the bootstrap and it works for the main html but i was wondering if there was a better way |
Report |
| # |
Aug 6th, 14:16 |
Noise98 |
your css and js files are not provide by php |
Report |
| # |
Aug 6th, 14:16 |
Noise98 |
they are directly provide by apache |
Report |
| # |
Aug 6th, 14:17 |
Noise98 |
if u want them to be gzip u have to enable some settings into apache |
Report |
| # |
Aug 6th, 14:17 |
Noise98 |
nothing to do with cakephp |
Report |
| # |
Aug 6th, 14:17 |
teknoid |
true, plus compressing already compressed stuff (by apache) won't do any good |
Report |
| # |
Aug 6th, 14:17 |
Noise98 |
that's right |
Report |
| # |
Aug 6th, 14:17 |
Noise98 |
if he compress them |
Report |
| # |
Aug 6th, 14:17 |
jaredhoyt |
does the compression really add much loadtime w/o caching enabled/ |
Report |
| # |
Aug 6th, 14:17 |
Jonah |
Noise98: oh... |
Report |
| # |
Aug 6th, 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 |
Report |
| # |
Aug 6th, 14:18 |
jaredhoyt |
s/add/remove |
Report |
| # |
Aug 6th, 14:18 |
Jonah |
jaredhoyt: i think it still helps tho |
Report |
| # |
Aug 6th, 14:18 |
Noise98 |
it depend if u are looking for speed or for bandwidth saving |
Report |
| # |
Aug 6th, 14:18 |
Jonah |
most websites are gziped |
Report |
| # |
Aug 6th, 14:18 |
jaredhoyt |
does it? i honestly don't know... haven't started optimizing this project yet |
Report |
| # |
Aug 6th, 14:19 |
jaredhoyt |
Noise98: that's true |
Report |
| # |
Aug 6th, 14:19 |
Noise98 |
http://bin.cakephp.org/view/623844475 |
Report |
| # |
Aug 6th, 14:19 |
Jonah |
most phpbb forums are. look at the footer, it says "page is GZiped" |
Report |
| # |
Aug 6th, 14:19 |
Noise98 |
what am I doing wrong with my HABTM ^ |
Report |
| # |
Aug 6th, 14:19 |
Noise98 |
? |
Report |
| # |
Aug 6th, 14:19 |
Noise98 |
Jonah: html yes |
Report |
| # |
Aug 6th, 14:19 |
Jonah |
http://debuggable.com/posts/a-miracle-called-gzip:480f4dd5-696c-48c4-8d7c-444ccbdd56cb |
Report |
| # |
Aug 6th, 14:19 |
teknoid |
jaredhoyt: i think that extension is enabled by default in apache |
Report |
| # |
Aug 6th, 14:19 |
_psychic_ |
Noise98: did you use Bake? |
Report |
| # |
Aug 6th, 14:19 |
Noise98 |
nope |
Report |
| # |
Aug 6th, 14:20 |
_psychic_ |
try it |
Report |
| # |
Aug 6th, 14:20 |
teknoid |
Jonah: there's also mod_deflate, but i haven't tried it |
Report |
| # |
Aug 6th, 14:20 |
Jonah |
get the Yslow extension for firefox. it tells you what is gziped |
Report |
| # |
Aug 6th, 14:20 |
Jonah |
it says cake is not |
Report |
| # |
Aug 6th, 14:20 |
_psychic_ |
Noise98: i'd try it - it'll do it all up for you |
Report |
| # |
Aug 6th, 14:25 |
teknoid |
Noise98: it is :) |
Report |
| # |
Aug 6th, 14:25 |
Noise98 |
but I don't get it, the habtm saving was working in 1.1 |
Report |
| # |
Aug 6th, 14:25 |
Noise98 |
and early in 1.2 |
Report |
| # |
Aug 6th, 14:26 |
Noise98 |
the saveMulti function in model.php got code for saving and updating habtm |
Report |
| # |
Aug 6th, 14:26 |
Jonah |
model::save is depreciated ?? |
Report |
| # |
Aug 6th, 14:27 |
Noise98 |
Jonah: no |
Report |
| # |
Aug 6th, 14:27 |
Jonah |
oh good |
Report |
| # |
Aug 6th, 14:27 |
teknoid |
Noise98: https://trac.cakephp.org/ticket/4389 |
Report |
| # |
Aug 6th, 14:28 |
Jonah |
I realized the other day that save() will do an sql UPDATE if you define an id |
Report |
| # |
Aug 6th, 14:28 |
teknoid |
Noise98: what is saveMulti? |
Report |
| # |
Aug 6th, 14:28 |
Jonah |
this should be documented in the manual |
Report |
| # |
Aug 6th, 14:28 |
Raphael |
hi |
Report |
| # |
Aug 6th, 14:28 |
teknoid |
Jonah: it is. in a few places |
Report |
| # |
Aug 6th, 14:29 |
Jonah |
not that I can find... |
Report |
| # |
Aug 6th, 14:29 |
Jonah |
it does I guess in the blog example app |
Report |
| # |
Aug 6th, 14:29 |
teknoid |
Jonah: you are welcome to submit editions if you think it's missing somewhere |
Report |
| # |
Aug 6th, 14:29 |
Jonah |
i'll go ahead and to it then |
Report |
| # |
Aug 6th, 14:30 |
Noise98 |
teknoid: __saveMulti is the function inside model.php that save the joined Model |
Report |
| # |
Aug 6th, 14:31 |
teknoid |
Noise98: yeah, but you can't (shouldn't) use it... at any rate it does not work right now, the patch would probably help to speed things up |
Report |
| # |
Aug 6th, 14:33 |
Jonah |
check out my trophies : http://book.cakephp.org/changes/user:poppitypop.rss |
Report |
| # |
Aug 6th, 14:34 |
Noise98 |
teknoid: that's not a patch, and it got nothing to do with my problem... but thanks |
Report |
| # |
Aug 6th, 14:35 |
teknoid |
Noise98: i didn't say there was a patch, i was saying that if you were to make one to make it work, that ticket would get a faster attention |
Report |
| # |
Aug 6th, 14:35 |
Noise98 |
oh ok sorry |
Report |
| # |
Aug 6th, 14:35 |
ADmad |
Noise98: currently i don't think you cant set a habtm assoc between 2 new records... you need to first save one of them and then in a second call to 'save' save the other record and associate the two by passing proper data array.. |
Report |
| # |
Aug 6th, 14:37 |
Noise98 |
ADmad: the saveMulti is being call after the Master record being save and the id is being pass to it, so it supposed to work |
Report |
| # |
Aug 6th, 14:37 |
Noise98 |
ADmad: seem to have a little mistake inside saveMulti, or i'm doing something wrong with my data being sent to save |
Report |
| # |
Aug 6th, 14:40 |
ADmad |
Noise98: yes so in ur case task is saved and you get its id.. but it doesnt save attachment and hence no id for association |
Report |
| # |
Aug 6th, 14:42 |
jaredhoyt |
heh, using yslow -- jquery is heavy :) |
Report |
| # |
Aug 6th, 14:42 |
thestaff |
hey there |
Report |
| # |
Aug 6th, 14:42 |
lqdice____ |
anyone know any upload components that allow file uploads up to 2gb and let you do multiple file upload ? |
Report |
| # |
Aug 6th, 14:42 |
thestaff |
I was wondering what is the method to create a small add pop up |
Report |
| # |
Aug 6th, 14:43 |
thestaff |
basically I have a model that has a foreign key to categories |
Report |
| # |
Aug 6th, 14:43 |
thestaff |
and in the add view of this model I wanna be able to pop up for a new category |
Report |
| # |
Aug 6th, 14:43 |
Noise98 |
lqdice: depends on your web server |
Report |
| # |
Aug 6th, 14:43 |
thestaff |
cuz category is just a tilte |
Report |
| # |
Aug 6th, 14:43 |
teknoid |
jaredhoyt: i also got an f, for not using a cdn ... no sh*t :) |
Report |
| # |
Aug 6th, 14:43 |
thestaff |
whta is the easiest way to do that ? |
Report |
| # |
Aug 6th, 14:44 |
thestaff |
should i use ajax ? |
Report |
| # |
Aug 6th, 14:44 |
Maniaman |
lqdice____: swfupload is the only thing i know of |
Report |
| # |
Aug 6th, 14:44 |
lqdice____ |
Maniaman: swf has 100mb cap i believe |
Report |
| # |
Aug 6th, 14:45 |
Maniaman |
i think you can change it |
Report |
| # |
Aug 6th, 14:45 |
Raphael |
I still have the same schema : Posts - PostsTags - Tags |
Report |
| # |
Aug 6th, 14:45 |
Noise98 |
no |
Report |
| # |
Aug 6th, 14:45 |
Maniaman |
havent ever tried with large files though |
Report |
| # |
Aug 6th, 14:45 |
Noise98 |
swf is max 100 |
Report |
| # |
Aug 6th, 14:45 |
lqdice____ |
Maniaman: its flash |
Report |
| # |
Aug 6th, 14:45 |
Raphael |
In my PostsTags, I have 3 fields : |
Report |
| # |
Aug 6th, 14:45 |
Raphael |
post_id, tag_id, order |
Report |
| # |
Aug 6th, 14:45 |
Noise98 |
lqdice: you need a progress indicator ? |
Report |
| # |
Aug 6th, 14:45 |
Raphael |
when I save the relation, all is fine |
Report |
| # |
Aug 6th, 14:45 |
Raphael |
but now, I would like to fill the order field too |
Report |
| # |
Aug 6th, 14:45 |
Raphael |
How should I do ? |
Report |
| # |
Aug 6th, 14:47 |
Raphael |
$this->Post->save(array( |
Report |
| # |
Aug 6th, 14:47 |
Raphael |
'Post' => array('id' => $id), |
Report |