Thanks for the reply.
Please check my requirement below and let me know do I need separate event map
for each screen/mxml component? how it will be linked to main event map.
I created a ArrayCollection in the DataManager that is being populated in the
result event and I want to inject it in the calling module.
-- The main application calling the view which contains the menu bar. It
dispatches the event. Once event is triggered and fetched the data from
database, control should come back to view and menu should be populated with
database value(menu items). The intermediate ArrayCollection is being populated
but not assigning values to the dataprovider of menu.
Ars
--- In [email protected], Wally Kolcz <wko...@...> wrote:
>
> I use Mate on all my projects. I use a lot of injectors to push my data
> to my views by binding them to the manager Class. What is the issue you
> are having? If you are reusing the same element on 2 views, you'd need
> to either put the data binding (ArrayCollection, Object, etc) on the
> component with your menu or push the data to both views to have the menu
> use it as a datasource.
>
> I particularly like Mate for 2 main reasons. Lower learning curve and
> you don't put any of the framework into your views or models. All is
> managed by custom events and the map. So, if at any time in the future,
> you want to pop it out of the application, its minimal work (just have
> to write connectors for the events).
>
> On 4/19/2010 1:55 PM, md_ars wrote:
> >
> > Hello,
> >
> > We are planning to use MATE framework for our project. We will have
> > two separate applications our main transaction application will have
> > probably over 150 screens and 100 reports. The application is mostly
> > data driven and we are using web-services to display and enter the
> > data. I tested the MATE frame work with one screen and it was easy to
> > implement. Now I am trying with one MENU and two screens and it is
> > getting complicated to use shared classes etc. Is the MATE framework
> > good for our application? If yes what is the best way to implement
> > MATE? With two screens I am already finding tricky to use Injectors.
> > The main code structure of my project looks like as given below.
> >
> > Main -- Contains Application module
> > view
> > Forms -- Contains screens based on panels/vbox or mdi window
> > Events - Contains main event map and following folders
> > Session -- Events triggered from the screens.
> > EventManager -- Parsing the data after session events fetched data
> > through web service.
> > ControlClass -- Common classes used for screens etc.
> >
> > Should I use a common structure of the whole application or should it
> > a separate for each screen? To me it will be too messy to have common
> > structure whereas too tedious for each screen. So far team size is 2
> > and may extend to 3. Please suggest an optimum way.
> >
> > Thanks
> > Ars
> >
> >
> > Reply to sender
> > <mailto:mdar...@...?subject=is%20mate%20framework%20appropriate%20for%20my%20project?>
> >
> > | Reply to group
> > <mailto:[email protected]?subject=is%20mate%20framework%20appropriate%20for%20my%20project?>
> >
> > | Reply via web post
> > <http://groups.yahoo.com/group/flexcoders/post;_ylc=X3oDMTJzZDQwbHBpBF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRtc2dJZAMxNTQ4MDQEc2VjA2Z0cgRzbGsDcnBseQRzdGltZQMxMjcxNjk5ODky?act=reply&messageNum=154804>
> >
> > | Start a New Topic
> > <http://groups.yahoo.com/group/flexcoders/post;_ylc=X3oDMTJmbG8wbHBiBF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDZnRyBHNsawNudHBjBHN0aW1lAzEyNzE2OTk4OTI->
> >
> >
> > Messages in this topic
> > <http://groups.yahoo.com/group/flexcoders/message/154804;_ylc=X3oDMTM5NHZoc3ZnBF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRtc2dJZAMxNTQ4MDQEc2VjA2Z0cgRzbGsDdnRwYwRzdGltZQMxMjcxNjk5ODkyBHRwY0lkAzE1NDgwNA-->
> >
> > (1)
> > Recent Activity:
> >
> > * New Members
> >
> > <http://groups.yahoo.com/group/flexcoders/members;_ylc=X3oDMTJnajBkc2d2BF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDdnRsBHNsawN2bWJycwRzdGltZQMxMjcxNjk5ODky?o=6>
> > 29
> >
> > Visit Your Group
> > <http://groups.yahoo.com/group/flexcoders;_ylc=X3oDMTJmdGRkcjkxBF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDdnRsBHNsawN2Z2hwBHN0aW1lAzEyNzE2OTk4OTI->
> >
> >
> > --
> > Flexcoders Mailing List
> > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Alternative FAQ location:
> > https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
> > Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
> >
>