# |
Sep 11th 2009, 09:05 |
m3nt0r |
what's better: caching single query results and clean them for myself afterSave/etc.. or simply cache the whole view via controller? I do ajax alot.. any things to watch out when i go for view caching? |
# |
Sep 11th 2009, 09:05 |
Seguer |
the action that is requested can just do a return |
# |
Sep 11th 2009, 09:05 |
Seguer |
..yes |
# |
Sep 11th 2009, 09:05 |
_chris_ |
not quite sure what you mean there seguer, but i call my action either from a view, or from an ajax call triggered by a page event |
# |
Sep 11th 2009, 09:03 |
Seguer |
but really, you should just be able to go return json_encode($data) and have that get passed back through from requestAction |
# |
Sep 11th 2009, 09:03 |
Seguer |
then you shouldn't need a view, unless you want to render to a json layout/view |
# |
Sep 11th 2009, 09:03 |
jrod |
Scotto: thats great news |
# |
Sep 11th 2009, 09:02 |
_chris_ |
ok, if its the requestAction, i return an array, if its an ajax call i return a json encoded string |
# |
Sep 11th 2009, 09:02 |
Seguer |
depends on what you are returning |
# |
Sep 11th 2009, 09:01 |
_chris_ |
are you saying that if its requested i dont get a missing view error? |
# |
Sep 11th 2009, 09:01 |
Scotto |
jrod: i deleted C:/Documents and Settings/USER/Application Data/Mozilla/Firefox/profiles/######.default/mimeTypes.rdf and started ff back up and everything is great |
# |
Sep 11th 2009, 09:00 |
TehTreag|AFK |
_chris_: $this->autoRender=false, in the controller. Is that what you're asking about? |
# |
Sep 11th 2009, 09:00 |
Seguer |
_chris: if your action is only ever requested, it won't matter that it doesn't have a view file? |
# |
Sep 11th 2009, 08:59 |
SamuriaBarbi |
hello |
# |
Sep 11th 2009, 08:58 |
jrod |
i think |
# |
Sep 11th 2009, 08:58 |
jrod |
tPl0ch: actually it can handle mp3 natively |
# |
Sep 11th 2009, 08:58 |
tPl0ch |
put it somewhere on the fs the red5 server has access to |
# |
Sep 11th 2009, 08:58 |
_chris_ |
if i want to fill an element with the contents of requestAction, how do i stop my action requiring its own view file? |
# |
Sep 11th 2009, 08:57 |
tPl0ch |
jrod: So I would have to convert mp3, ogg, wma to flash |
# |
Sep 11th 2009, 08:57 |
markstory |
good stuff |
# |
Sep 11th 2009, 08:57 |
dperry |
thanks markstory, i got it sorted out. |
# |
Sep 11th 2009, 08:56 |
jrod |
which gives them full browser support (better than WMV) and was great |
# |
Sep 11th 2009, 08:56 |
jrod |
moved the client's site to using that to stream their content to a nice flash player |
# |
Sep 11th 2009, 08:56 |
jrod |
i replaced a windows media streaming server with that ... which works ok except occassionally ( every 3 months?) it faults and has to be restarted |
# |
Sep 11th 2009, 08:55 |
tPl0ch |
no api reference |
# |
Sep 11th 2009, 08:55 |
tPl0ch |
only blabla flash server blabla |
# |
Sep 11th 2009, 08:55 |
jrod |
you will prolly need a seperate server instance for that by it's self |
# |
Sep 11th 2009, 08:55 |
tPl0ch |
it doesn't even say that |
# |
Sep 11th 2009, 08:55 |
jrod |
yes |
# |
Sep 11th 2009, 08:55 |
tPl0ch |
its java? |
# |
Sep 11th 2009, 08:54 |
jrod |
so? its java |
# |
Sep 11th 2009, 08:54 |
tPl0ch |
i hate self compiling |
# |
Sep 11th 2009, 08:54 |
tPl0ch |
hmm, no red5 server in ubuntu repo |
# |
Sep 11th 2009, 08:54 |
jrod |
) |
# |
Sep 11th 2009, 08:54 |
jrod |
tPl0ch: you could just let your customer deal with that and give them a way to delist |
# |
Sep 11th 2009, 08:53 |
tPl0ch |
Since they might be copyrighted |
# |
Sep 11th 2009, 08:53 |
tPl0ch |
jrod: I am not sure how legal handling it is with Remixes though |
# |
Sep 11th 2009, 08:53 |
Seguer |
how easy would it be to subclass/extend the inbuilt Auth/Acl components, so that it would run from a plugin (and use different models/tables/etc)? |
# |
Sep 11th 2009, 08:52 |
jrod |
ok cool |
# |
Sep 11th 2009, 08:52 |
tPl0ch |
jrod: since it should be a network, where new productions and production techniques are in focus, and the users do confirm that their material is there own |
# |
Sep 11th 2009, 08:51 |
jrod |
tPl0ch: to start with sure.... followed by dcma take down notices.... FYI i know most DJ related stuff is pretty open compared to the rest of the industry |