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]
1  Announcements and General Discussion / General Discussion / facade.retrieveProxy(CalendarEventProxy.NAME) returns NULL ... but why? on: June 27, 2008, 02:02:54
Hi every one,

I just can't figure out why one of my nine proxies is NULL in my Model.proxyMap.
I was getting nothing when calling :
facade.retrieveProxy(CalendarEventProxy.NAME)

All my other proxies are registered OK but not this one (see the attach image).
And worst of all, my proxy IS instatiated, I know, I'm able to send and receive remote data from it, with no problem...

???

And I know my proxy is getting the onRegister() call, because it's in there that I instatiate my RemoteObject.

Any idea???



I would let anyone look into my code, but it's a licenced project... sorry.
2  Announcements and General Discussion / General Discussion / Re: pureMVC Calendar [Flex/AIR] on: June 23, 2008, 08:17:36
I was just starting something similar, also after viewing the "looking-OK but messy" project from quietlyscheming.com and I was looking for discussions here about calendars, and event-type VO.

I was wondering if any achievement have been made, and what kind of project it could be?
I was thinking making it a module, base on the multicore.utilities.pipes, as I think it would be a great module.
3  Announcements and General Discussion / General Discussion / Re: data binding from valueObjects to MXML components, is it possible? on: May 15, 2008, 09:51:26
I was just looking at EmployeeAdmin effectively. Thanks, I changed my setup and it works great.

The reason I removed the [Bindable] directive, is that I was getting a warning from the compiler that it wasn't suppose to be there and will not make it, or something.

I knew somehow that binding the model object to the view component was not a great thing to do. I should read the doc for a tenth time...  ::)

thanks for your precious time Cliff!

Oh, and about the documentation of best practices, I think I found a small issue. I was getting an error with the code on page 45 (english):
:
if ( loggedIn ) loginVO = new LoginVO( );I added a setter for loginVO property and everything came out great.

thanks again!
4  Announcements and General Discussion / General Discussion / data binding from valueObjects to MXML components, is it possible? on: May 15, 2008, 07:43:02
Hi,

I'm relatively new with pureMVC, and I have decided to go for it for my next big project (since I'd like to code at the speed of thought... ;) ).

I have started my project over the AppSkeleton and EmployeeAdmin demos to help me fully understand all the mechanisms. I rapidly found that I should just re-re-read the Best practices and implementation article. Very nice work.

I have modified completely the LocaleProxy to better fit my needs and it blow me away: I now use the ResourceManager and localized properties files (with compiler arguments: "-locale= -resource-bundle-list=bundles.txt") and it's incredible! Every mxml component that shows localized text just change automatically when I switch the language. i don't fully understand it but it works!
Example:
<mx:Label text="{resourceManager.getString(ApplicationFacade.LOCALE,'LANGUAGE')}:"/>

(note that the string is concatenate with ':' and it still work)

I'm getting to the point here.

What I want to is, for example, bind the text of a mx:Label with one value of a valueObject, like:
<mx:Label text="{ApplicationFacade.getLoginProxy().fullName}"/>

And in my LoginProxy:

public function get welcomeName():String {
   return 'Some localized text ' + loginVO.name;
}

but it doesn't work at all. Even if the loginVO.name changes, the label never changes.
I have setup a notification call to do it, but i'd prefer use data binding for that.

Can I?
Is it a bad practice?


thanks!
And here's the code of my modified LocaleProxy from the AppSkeleton demo, just to sneak peak...
5  PureMVC Manifold / Demos and Utils / Re: Undo - A PureMVC AS3 Utility on: April 16, 2008, 04:36:26
It should be org.puremvc.as3.utilities.undo.*

That's exactly what I was telling to myself...
So we'll wait!

6  PureMVC Manifold / Demos and Utils / Re: Undo - A PureMVC AS3 Utility on: April 16, 2008, 03:26:32
Any idea when this project will be up for a download?
 ???
7  PureMVC Manifold / Demos and Utils / Re: Modularity - a PureMVC AS3 MultiCore Demo on: April 03, 2008, 05:00:55
Great! I've been able to build this demo with XCode 3.1.
That's a set of features I was looking for (the modularity) for my future application.
I have a question regarding the demo: one feature is to be able to load external swfs at runtime, is it? The demo right now seems to be encapsulated into one swf. Is there any special implications regarding this?
Pages: [1]