Futurescale, Inc. PureMVC Home

The PureMVC Framework Code at the Speed of Thought


Welcome, Guest. Please login or register.
September 22, 2017, 08:57:06 PM
Home Help Search Login Register
News: Please DM @puremvc on Twitter to gain forum access. Spambots are why we can't have nice things.
Pages: [1]
Print
Author Topic: Re: PureMVCMinimalisticFormsExample  (Read 4145 times)
puremvc
Global Moderator
Hero Member
*****
Posts: 2871



View Profile WWW
« on: July 05, 2008, 02:16:05 PM »

Hi s0194,

Do you know THX-1137?

Seriously, it's cool that you got this going, and I'm sure some C# ready developers out there will be ripping through this in a snap, but I personally don't have Visual Studio installed, and can't see any binary to run and see what it does.

Would you like to tell us a little more about yourself and your project? The C# port could definitely use a demo at the moment, so I'd love to work with you to get this integrated into the PureMVC project if you'd like to donate it and the time to document it and and so forth.

Thanks,
-=Cliff>

Logged
s0914
Newbie
*
Posts: 2


View Profile
« Reply #1 on: July 07, 2008, 02:46:42 AM »

Hi,

I don't know TH... google says: this is a person Smiley

My example is a minimalistic sample of using puremvc in C# with one window (mainform). Some kind of application skeleton, so binary file and example of working is not very intresting Smiley

I relly need some good mvc freamework for windows forms, and puremvc is very fine sollution but Im affraid of small community intrested in Sad .NET have already good mvc for asp (rails) but many people don't realize that mvc for forms is needed in that same way.

I'm developer and project manager in huge international company with over 12 years experience in IT sollutions. My free time is limited but I will be very happy if c# port promotion goes fine way.

best regards
Martin
Logged
arrington89
Newbie
*
Posts: 1


View Profile
« Reply #2 on: October 21, 2008, 12:00:14 PM »

Hello Martin,

Thank you for the Minimalistic Forms Example.  I found one particular problem with the current example.

It appears the ApplicationController is never registered with the Facade.

If you add the following code to the initilizeFacade() method in the ApplicationFacade class, then all is good.   Cool

Code:
26     protected override void initializeFacade()
27     {
28         base.initializeFacade();
29         registerCommand(ApplicationController.STARTUP, typeof(ApplicationController)); // <-- New Line
30      }
Logged
puremvc
Global Moderator
Hero Member
*****
Posts: 2871



View Profile WWW
« Reply #3 on: October 26, 2008, 07:28:23 AM »

You shouldn't be registering a custom controller but a command.

Facade.registerCommand (should) take a string and a class reference, and that reference should be to an ICommand implementer class.

-=Cliff>
Logged
Pages: [1]
Print
Jump to: