updated a bit, now it has javascript object proxy
http://rossoft.wordpress.com/2006/05/07/cajax-component-v2/
You can do thinks like
$obj=$cajax->e('.someclass');
$obj->hide();
$obj->for_all('alert(_elem.innerHTML)');
$cajax->show($obj);
$cajax->effect($obj,'Fade');
$cajax->effect(array('a.speci
updated a bit, now it has javascript object proxy
http://rossoft.wordpress.com/2006/05/07/cajax-component-v2/
You can do thinks like
$obj=$this->cajax->e('.someclass');
$obj->hide();
$obj->for_all('alert(_elem.innerHTML)');
$this->cajax->show($obj);
$this->cajax->effect($obj,'Fade');
$this->caja
I like _javascript_ (a little more than PHP, to be sincere) and prototype is a great library. But the possibility of not switch your mindset between languages is very attractive to me. Also it is the oportunity to do it in a more Cakeish style.
I'm working in something too Rossoft. I'm going to pub
Contrary to popular belief, unless you're JavaScript-phobic, RJS is not
that big a deal.
Why anyone would want to write client-side code on the server is beyond
me. Prototype and script.aculo.us have already made JavaScript coding
as simple as it needs to be.
What I *can* see the value of is a
I'm starting a component
http://rossoft.wordpress.com/2006/05/06/javascript-easy-cajax-component-alpha-version/
Need help with javascript object proxying
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" g
Why do you need to access the view object? Exactly what do you want to
do?
Do a print_r($this); from a helper function to see what objects are
accessible (the view and the controller aren't directly accessible)
If you really need to access the view, create a function within the
helper like
funct
Thanks Gwoo.I almost have something, just need to know if there's a way for helpers to acces the View object that call them... is it possible?On 5/4/06,
gwoo <[EMAIL PROTECTED]> wrote:Brego was working on something similar for
2.0 before he left us. Iam unsure how far he got, but if there is any
Brego was working on something similar for 2.0 before he left us. I
am unsure how far he got, but if there is any code it should be in
the 2.x.x.x branch of the trunk. Anything that you hack together we
would gladly take a look at and help you with.
happy baking and thanks for the great des
I was wondering if there is enything like Rails RJS planned for Cake. I'm working on an app tha will make extensive use of _javascript_ and something like that would be very useful. I'm hacking something right now but I don't want to duplicate efforts (despite the fact that there are real programme