Title: run into first errors Post by: landed on April 27, 2009, 12:30:42 I have tried to start off on the right foot with my facade. It is failing and I would like to work out the next step. It kicks off as the compiler errors have been commented out
I have package at.landed so for example StartupCommand is undefined and I dont have any views models or controllers created yet in my application. Do I just create a view for example, but what should it extend etc...there seems to be little documentation on this kind of thing, once I get started I will be ok. I would like just a simple view say a button which when I click does a sum in the model via a dispatched command. and the view updates by showing something. What is the next step.thanks Title: Re: run into first errors Post by: puremvc on April 28, 2009, 09:14:24 The next step all depends on what you want to do. Without those commands being defined, they can't be registered, which means we can't get the plane off the ground. We're 'landed' from the start :)
A good place to begin if you are using Flex, is to examine how the EmployeeAdmin demo works. It shows you how do distribute data from the model tier to the view tier and how to decompose the view tier in to components that are tended by mediators. It shows a pretty standard Facade class with a straightforward startup process. -=Cliff> |