Futurescale, Inc. PureMVC Home

The PureMVC Framework Code at the Speed of Thought


Over 10 years of community discussion and knowledge are maintained here as a read-only archive.

New discussions should be taken up in issues on the appropriate projects at https://github.com/PureMVC

Show Posts

* | |

  Show Posts
Pages: 1 2 [3]
31  Announcements and General Discussion / General Discussion / Re: Proxy VO Getters on: April 17, 2008, 05:44:10
Okay.. maybe i must tell you that im using bindable on view
something like this:

import vo...

[Bindable]
public var valor:Valor=new Valor(0);

and im trying to use getter too, just for test..
because i want to know how use it when i want..

thanks for the help, but you can help me more? :)
32  Announcements and General Discussion / General Discussion / Proxy VO Getters on: April 16, 2008, 03:01:07
Hello everyone o/

Im Vander from Brazil, and im joining pmvc/flex/amfphp paradigm.
Im so happy... and starting to became less scared with all new stuff.
Ive used to program in flash/as2.. and i developed some RIA´s.. for some companies, including a little big one.
Yes ive stucked with all that rotten workflow hehe.
Ive developed a minimal application using PureMVC concept... and VO... it worked :)
consists of a button, that when click on it... it adds ++ to a uint.. and a label display it...
its something like that:

pseudo

view... import vo bindable... binding label.text
mediator... command addnumber... proxy... function addnumber etc
then notification... mediator boom view... ok works fine :)

but im having a great doubt that pulled me to became a forum member...

for example... im initializing the vo in the view...

[Bindable]
public var valor:Valor=new Valor(0);

0 is the initial value.. no problem with that... automatically the label.text becames 0, as expected...

my problem is... i cannot manage to make a getter for the actual value.. in the proxy
ive tried all but i dont understand how...

i guess that the problem is connected with a point of puremvc that i simply cannot understand... THE PROXY CONSTRUCTOR.
and/or the SUPER second argument.

Thanks... everyone, thanks Cliff.
Pages: 1 2 [3]