Page 1 of 36,922, showing 100 records out of 3,692,143 total, starting on record 1, ending on 100
# | Username | Text | |
---|---|---|---|
# | Aug 6th 2008, 14:09 | Noise98 | in 1.2 |
# | Aug 6th 2008, 14:11 | achew22 | that doesn't instill confidence.. |
# | Aug 6th 2008, 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. :) |
# | Aug 6th 2008, 14:11 | jaredhoyt | gj achew22 |
# | Aug 6th 2008, 14:11 | achew22 | ) |
# | Aug 6th 2008, 14:12 | jaredhoyt | i've probably done 10 ~ today |
# | Aug 6th 2008, 14:12 | jaredhoyt | forget everytime |
# | Aug 6th 2008, 14:12 | achew22 | lol |
# | Aug 6th 2008, 14:12 | achew22 | I've done it a lot too |
# | Aug 6th 2008, 14:13 | Jonah | how can I get cakephp to gzip stuff? id like it to gzip css, js and the main html |
# | Aug 6th 2008, 14:14 | teknoid | Jonah: do you mean to speed up downloads? |
# | Aug 6th 2008, 14:14 | Jonah | yes |
# | Aug 6th 2008, 14:15 | Jonah | the time it takes to download the pages |
# | Aug 6th 2008, 14:15 | Jonah | why? |
# | Aug 6th 2008, 14:15 | teknoid | Jonah: i imagine that's an apache thing, enabling mod gzip |
# | Aug 6th 2008, 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 |
# | Aug 6th 2008, 14:16 | Noise98 | your css and js files are not provide by php |
# | Aug 6th 2008, 14:16 | Noise98 | they are directly provide by apache |
# | Aug 6th 2008, 14:17 | Noise98 | if u want them to be gzip u have to enable some settings into apache |
# | Aug 6th 2008, 14:17 | Noise98 | nothing to do with cakephp |
# | Aug 6th 2008, 14:17 | teknoid | true, plus compressing already compressed stuff (by apache) won't do any good |
# | Aug 6th 2008, 14:17 | Noise98 | that's right |
# | Aug 6th 2008, 14:17 | Noise98 | if he compress them |
# | Aug 6th 2008, 14:17 | jaredhoyt | does the compression really add much loadtime w/o caching enabled/ |
# | Aug 6th 2008, 14:17 | Jonah | Noise98: oh... |
# | 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:18 | jaredhoyt | s/add/remove |
# | Aug 6th 2008, 14:18 | Jonah | jaredhoyt: i think it still helps tho |
# | Aug 6th 2008, 14:18 | Noise98 | it depend if u are looking for speed or for bandwidth saving |
# | Aug 6th 2008, 14:18 | Jonah | most websites are gziped |
# | Aug 6th 2008, 14:18 | jaredhoyt | does it? i honestly don't know... haven't started optimizing this project yet |
# | Aug 6th 2008, 14:19 | jaredhoyt | Noise98: that's true |
# | Aug 6th 2008, 14:19 | Noise98 | http://bin.cakephp.org/view/623844475 |
# | 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 | what am I doing wrong with my HABTM ^ |
# | Aug 6th 2008, 14:19 | Noise98 | ? |
# | Aug 6th 2008, 14:19 | Noise98 | Jonah: html yes |
# | Aug 6th 2008, 14:19 | Jonah | http://debuggable.com/posts/a-miracle-called-gzip:480f4dd5-696c-48c4-8d7c-444ccbdd56cb |
# | Aug 6th 2008, 14:19 | teknoid | jaredhoyt: i think that extension is enabled by default in apache |
# | Aug 6th 2008, 14:19 | _psychic_ | Noise98: did you use Bake? |
# | Aug 6th 2008, 14:19 | Noise98 | nope |
# | Aug 6th 2008, 14:20 | _psychic_ | try it |
# | Aug 6th 2008, 14:20 | teknoid | Jonah: there's also mod_deflate, but i haven't tried it |
# | Aug 6th 2008, 14:20 | Jonah | get the Yslow extension for firefox. it tells you what is gziped |
# | Aug 6th 2008, 14:20 | Jonah | it says cake is not |
# | Aug 6th 2008, 14:20 | _psychic_ | Noise98: i'd try it - it'll do it all up for you |
# | Aug 6th 2008, 14:25 | teknoid | Noise98: it is :) |
# | 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 | Noise98 | and early in 1.2 |
# | Aug 6th 2008, 14:26 | Noise98 | the saveMulti function in model.php got code for saving and updating habtm |
# | Aug 6th 2008, 14:26 | Jonah | model::save is depreciated ?? |
# | Aug 6th 2008, 14:27 | Noise98 | Jonah: no |
# | Aug 6th 2008, 14:27 | Jonah | oh good |
# | Aug 6th 2008, 14:27 | teknoid | Noise98: https://trac.cakephp.org/ticket/4389 |
# | 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:28 | teknoid | Noise98: what is saveMulti? |
# | Aug 6th 2008, 14:28 | Jonah | this should be documented in the manual |
# | Aug 6th 2008, 14:28 | Raphael | hi |
# | Aug 6th 2008, 14:28 | teknoid | Jonah: it is. in a few places |
# | Aug 6th 2008, 14:29 | Jonah | not that I can find... |
# | Aug 6th 2008, 14:29 | Jonah | it does I guess in the blog example app |
# | 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 | i'll go ahead and to it then |
# | Aug 6th 2008, 14:30 | Noise98 | teknoid: __saveMulti is the function inside model.php that save the joined Model |
# | Aug 6th 2008, 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 |
# | Aug 6th 2008, 14:33 | Jonah | check out my trophies : http://book.cakephp.org/changes/user:poppitypop.rss |
# | Aug 6th 2008, 14:34 | Noise98 | teknoid: that's not a patch, and it got nothing to do with my problem... but thanks |
# | Aug 6th 2008, 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 |
# | Aug 6th 2008, 14:35 | Noise98 | oh ok sorry |
# | Aug 6th 2008, 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.. |
# | Aug 6th 2008, 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 |
# | Aug 6th 2008, 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 |
# | Aug 6th 2008, 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 |
# | Aug 6th 2008, 14:42 | jaredhoyt | heh, using yslow -- jquery is heavy :) |
# | Aug 6th 2008, 14:42 | thestaff | hey there |
# | Aug 6th 2008, 14:42 | lqdice____ | anyone know any upload components that allow file uploads up to 2gb and let you do multiple file upload ? |
# | Aug 6th 2008, 14:42 | thestaff | I was wondering what is the method to create a small add pop up |
# | Aug 6th 2008, 14:43 | thestaff | basically I have a model that has a foreign key to categories |
# | Aug 6th 2008, 14:43 | thestaff | and in the add view of this model I wanna be able to pop up for a new category |
# | Aug 6th 2008, 14:43 | Noise98 | lqdice: depends on your web server |
# | Aug 6th 2008, 14:43 | thestaff | cuz category is just a tilte |
# | Aug 6th 2008, 14:43 | teknoid | jaredhoyt: i also got an f, for not using a cdn ... no sh*t :) |
# | Aug 6th 2008, 14:43 | thestaff | whta is the easiest way to do that ? |
# | Aug 6th 2008, 14:44 | thestaff | should i use ajax ? |
# | Aug 6th 2008, 14:44 | Maniaman | lqdice____: swfupload is the only thing i know of |
# | Aug 6th 2008, 14:44 | lqdice____ | Maniaman: swf has 100mb cap i believe |
# | Aug 6th 2008, 14:45 | Maniaman | i think you can change it |
# | Aug 6th 2008, 14:45 | Raphael | I still have the same schema : Posts - PostsTags - Tags |
# | Aug 6th 2008, 14:45 | Noise98 | no |
# | Aug 6th 2008, 14:45 | Maniaman | havent ever tried with large files though |
# | Aug 6th 2008, 14:45 | Noise98 | swf is max 100 |
# | Aug 6th 2008, 14:45 | lqdice____ | Maniaman: its flash |
# | Aug 6th 2008, 14:45 | Raphael | In my PostsTags, I have 3 fields : |
# | Aug 6th 2008, 14:45 | Raphael | post_id, tag_id, order |
# | Aug 6th 2008, 14:45 | Noise98 | lqdice: you need a progress indicator ? |
# | Aug 6th 2008, 14:45 | Raphael | when I save the relation, all is fine |
# | Aug 6th 2008, 14:45 | Raphael | but now, I would like to fill the order field too |
# | Aug 6th 2008, 14:45 | Raphael | How should I do ? |
# | Aug 6th 2008, 14:47 | Raphael | $this->Post->save(array( |
# | Aug 6th 2008, 14:47 | Raphael | 'Post' => array('id' => $id), |