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
0
votes
1 answer

Building a project in TypeScript PureMVC

My current project is creating a PureMVC project in TypeScript using npm and grunt. Unfortunately, PureMVC had discontinued their development on their project. There is barely any PureMVC resources about TypeScript on the Internet. On their…
0
votes
1 answer

Multiple instances of views in PureMVC: Am I doing this right?

What I'm doing NOW: Often multiple instances of the view component would be used in multiple places in an application. Each time I do this, I register the same mediator with a different name. When a notification is dispatched, I attach the name of…
LazerWonder
  • 118
  • 1
  • 9
0
votes
1 answer

Casting a retrieved Mediator with PureMVC as its proper class returns null

I have a mediator that I've registered for a navigation page: facade.registerMediator(new NavPageMediator(viewComponent)); I'm trying to retrieve that mediator on another page like so: var navPageMediator:NavPageMediator =…
Chris Lambe
  • 111
  • 7
0
votes
1 answer

Structuring System Architecture in a Flex Web Application on a Budget (w/o Java)

I started a project a while back using the following architecture from Adobe Developer Article talking about Creating marketing platforms in Flex. I did my first set of coding locally forgetting that my server did not handle Tomcat. So I said okay,…
phwd
  • 19,975
  • 5
  • 50
  • 78
0
votes
1 answer

How do you hook up a Module thats loaded dynamically in the PureMVC framework for ActionScript 3

I'm using the PureMVC framework on a FlexBuilder 3 project. I have already hooked up the ApplicationFacade and have executed simple commands successfully. I have a ModuleLoader in my entry point Application.mxml and I set the url of the…
Nathan Smith
  • 36,807
  • 6
  • 28
  • 25
0
votes
2 answers

Creating an API for a View Component in PureMVC?

In the context of AS3 and specifically a framework such as PureMVC, I was wondering if someone could point me in the right direction for understanding what an API for a View Component means. Thanks in advance.
Rey
  • 125
  • 1
  • 6
0
votes
1 answer

BlazeDS/PureMVC and shared vos

I'm building modular application with 2 modules which share common vo: ShopRegionVO This vo is also a BlazeDS entity and is mapped to a remote java object. When shell loads first module everything is ok. The second module is a list of ShopRegionVOs…
mico
  • 709
  • 5
  • 18
0
votes
1 answer

Flex - TypeError: Error #1034: Type Coercion failed: cannot convert flash.events::Event@bcb8291 to mx.events.CloseEvent

Am getting error while loading the data in popup . Error :- TypeError: Error #1034: Type Coercion failed: cannot convert flash.events::Event@bcb8291 to mx.events.CloseEvent. at flash.events::EventDispatcher/dispatchEventFunction() at…
RKCY
  • 4,095
  • 14
  • 61
  • 97
0
votes
1 answer

hello StartupCommand PureMVC cpp with CMake

What would be the simplest example of CMakeLists.txt, main.cpp and PureMVC sources to display "Hello Startup" from execute() Startup SimpleCommand? PureMVC sources are here Ideally solution could be a link to github project.
c0ffeeartc
  • 71
  • 2
  • 6
0
votes
1 answer

Python PureMVC vs Pubsub

I'm creating a python application and I want to implement it with MVC in mind. I was going to use pubsub to accomplish this but I came across PureMVC. Could anyone explain these two things to me, the differences between them and the implications of…
bteres
  • 609
  • 4
  • 14
0
votes
2 answers

Use Three20 URL-based Navigation with PureMVC?

is anybody already using Three20 URL-based Navigation with PureMVC? I am not sure where to implement the URL mapping. In the AppDelegate, Faceade, RootViewController? Thanks for helping.
fabian
  • 43
  • 1
  • 5
0
votes
2 answers

Does Box2D breaks MVC concept?

Box2D suggestes a physics engine for games which combines and model and view. Now I want to use MVC design pattern or a framework based on MVC design pattern such as Robotlegs of PureMVC in order to create a game. If I choose Box2D, is it true that…
Narek
  • 38,779
  • 79
  • 233
  • 389
0
votes
1 answer

Uncaught ReferenceError: using TypeScript, RequireJS and PureMVC

I got this problem and I couldn't figure out why. I keep getting "ReferenceError: puremvc is not defined" Can someone take a look? Attached are images of my folder structure, index.html, main.ts and DataProxy.ts and its error. Here is what my…
DT DT
  • 378
  • 2
  • 6
  • 16
0
votes
1 answer

How to use the Facade.Instance method without object construction?

I only recently completed a unit on software patterns and am now attempting to comprehend the PureMVC framework. One thing has got my stumped however, something which is simple to the gurus here. I'm attempting to create an instance of the singleton…
halohunter
  • 191
  • 1
  • 6
0
votes
1 answer

pureMVC: unique mediator for each tab in an interface

I am building a tabbed interface for switching between various similar layers. Each layer will have a number of graphs. By dragging with the mouse the graphs can be rearranged or even moved between layers. My question is, is it best practice to…
greggreg
  • 11,945
  • 6
  • 37
  • 52