Questions tagged [puremvc]

PureMVC is a lightweight framework for creating applications based upon the classic Model, View and Controller concept.

PureMVC is a lightweight framework for creating applications based upon the classic Model, View and Controller concept.

Based upon proven design patterns, this free, open source framework which was originally implemented in the ActionScript 3 language for use with Adobe Flex, Flash and AIR, is now being ported to all major development platforms.

Two versions of the framework are supported with reference implementations; Standard and MultiCore. More info

Project website: http://puremvc.org/

Source codes: https://github.com/PureMVC

82 questions
1
vote
1 answer

In PureMVC, where is the correct place to put Keyboard listener that controls a view?

I'm getting some PureMVC experience and I want to use keyboard commands to control my view. The rest of the application doesn't need to know about what this view is doing. Should I put them directly in the view, or should they be some place else and…
John
  • 3,904
  • 7
  • 31
  • 43
1
vote
2 answers

Some questions related to framework dependency

I have some questions related to framework dependency. Generally best coding practice says that don't clutter your namespace with framework specific code. For e.g. in case of spring all the dependency should be maintain in config file and there is…
Silent Warrior
  • 5,069
  • 8
  • 41
  • 52
1
vote
1 answer

Web service using C# PureMVC framework

I am developing a web service in C# using the C# port of the PureMVC framework. The web service uses nHibernate to connect to and manipulate the database. I have tried to find information about how PureMVC should be initialized when used to manage a…
Gary Paluk
  • 1,038
  • 1
  • 14
  • 28
1
vote
2 answers

Creating RobotLegs Module within a PureMVC Shell Application

I'm working on an existing modular project that was built in PureMVC. Instead of converting everything over to RobotLegs, I want to create a new module using RobotLegs and plug it into the pureMVC shell. Currently, when the module loads, I get the…
LazerWonder
  • 118
  • 1
  • 9
1
vote
1 answer

How to test this scenario?

I have a desktop application made in Flex using PureMVC multi-core and Sqlite as back-end.Now, I want to write integration tests.The proxy layer makes database calls using async method of SQLConnection.And, the result-handler throws notification.I…
jess
  • 1,197
  • 3
  • 13
  • 21
1
vote
1 answer

Asynchronous Database Access Layer in PureMVC

I'm trying to refactor an existing project into PureMVC. This is an Adobe AIR desktop app taking advantage of the SQLite library included with AIR and building upon it with a few other libraries: Paul Robertson's excellent async…
1
vote
1 answer

Popup dialog box manager using PureMVC

I am developing a a game in Flash using the PureMVC framework. From time to time I need to show dialog pop-up window to get a user response back (e.g. "Cancel", "OK" and other kinds of asynchronous user feedback) while "locking" the background for…
webwise
  • 627
  • 10
  • 22
1
vote
1 answer

In proxy should I remove listeners explicitly?

Currently I am working on flex application where I am using multicore variant of puremvc. My question is in my proxy I am making remote call and attaching some (RESULT and FAULT) event listener. So in my event handler code should I remove listeners…
Silent Warrior
  • 5,069
  • 8
  • 41
  • 52
1
vote
2 answers

Advantages of using software framework

I was reading these days about large projects implementation in python and Flex, and very often people praise the use of framework (like Cairngorm, PureMVC or others) over traditional OOP coding. I think i dont really understand the advantage of…
Daniel M.
  • 676
  • 1
  • 9
  • 24
1
vote
1 answer

Where must be custom logic in pureMVC (as3)?

I tried to write small as3 program based on framework pureMVC. I understood basic principles of it, but I can't understand, where I must place custom logic. For example, I must load 10 images. I created command, that init Proxy. package…
gad_gadskiy
  • 160
  • 1
  • 11
1
vote
0 answers

Could/should a Value Object hold methods relevant only to itself?

I have a GridVO which can hold numbers. Imagine it is for Sudoku. There are "pupulateGrid", "testColumn", "testLine", "clone" and several other methods that modify a specific instance of GridVO. Of course, I have a Proxy which instances and holds…
Discipol
  • 3,137
  • 4
  • 22
  • 41
1
vote
1 answer

smartGWT onDraw when is it executed?

When is executed the onDraw method of a DynamicForm exactly? When I first load my page (a puremvc.Mediator page) and draw my DynamicForm with an onDraw method, I enter in this onDraw method. Then I destroy the view component, remove the Mediator…
Bubolina
  • 141
  • 2
  • 16
1
vote
1 answer

Is the Mediator must hold a view in PureMvc?

i have one question about pureMvc. i uew pureMvc to build an engine, in the engine init part i have an requirement 1) moduleA must init firt 2) moduleB , moduleC need init after moduleA init complate. 3) moduleD need init after moduleB & moduleC…
Eran
  • 47
  • 1
  • 4
1
vote
2 answers

Flex Application Framework -- PureMVC Portability vs. Swiz?

My company is building a Flex application that we may need to port to other platforms: Silverlight (likely) Mobile (maybe -- iPhone: Objective-C , Android: Java, etc.) Desktop (maybe -- AIR, .NET, etc.) TV sets (maybe eventually) Currently, I’m…
Karthik
  • 403
  • 3
  • 14
1
vote
2 answers

Best approach to wait untill all service calls returned values in Flex PureMVC

I am writing an Adobe AIR application using PureMVC. Imagine that I have an page-based application view ( using ViewStack ), and user is navigating through this pages in some way ( like clicking the button or whatever ). Now for example I have an…
MyFantasy512
  • 690
  • 1
  • 9
  • 20