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
27
votes
6 answers

in MVC/MVP/MVPC where do you put your business logic?

in the MVC/MVP/MVPC design pattern where do you put your business logic? No, I do not mean the ASP.NET MVC Framework (aka "Tag Soup"). Some people say you should put it in the "Controller" in MVC/MVPC or "Presenter". But, others think it should be…
Patrick From An IBank
25
votes
5 answers

What's your recommendation for architecting GWT applications? MVC, MVP or custom messaging solution?

I just started a new GWT project for a client and I'm interested in hearing people's experience with various GWT MVC architectures. On a recent project, I used both GXT MVC, as well as a custom messaging solution (based on Appcelerator's MQ). GXT…
Matt Raible
  • 8,187
  • 9
  • 61
  • 120
9
votes
2 answers

Swift PureMVC : Does not conform to NSObjectProtocol

I want to manage all location code in one of my Proxy classes. As the class is built from scratch and not built on a UIView or similar class that inherits NSObjectProtocol, it throws an error 'Does not conform to protocol NSObjectProtocol when I am…
Marcus Kirsch
  • 111
  • 1
  • 7
8
votes
3 answers

Flex best practices?

I have the feeling that is easy to find samples, tutorials and simple examples on Flex. It seems harder to find tips and good practices based on real-life projects. Any tips on how to : How to write maintainable actionscript code How to ensure a…
Alexandre Victoor
  • 3,104
  • 2
  • 27
  • 27
6
votes
6 answers

How does the portability of PureMVC benefit the application developer?

One of the stated goals of the PureMVC framework is to avoid platform dependencies in order to be portable. Considering that because of language and API differences application code will always be heavily dependent on the platform, and that avoiding…
Theo
  • 131,503
  • 21
  • 160
  • 205
4
votes
1 answer

Is it possible to write a getter that takes a parameter?

I've found two very strange pieces of code in PureMVC's documentation: public function get resultEntry( index:int ) : SearchResultVO { return searchResultAC.getItemAt( index ) as SearchResultVO; } and bit later: var item:SearchResultVO =…
Baelnorn
  • 940
  • 8
  • 17
3
votes
1 answer

android, andengine, pureMVC framework integration

I want to use pureMVC framework for my android application. I also want to use Android andengine in this application. How can I integrate them? Is there any way to do that? If yes, can you send me link on some tutorials or sample, or template?
pleerock
  • 18,322
  • 16
  • 103
  • 128
3
votes
6 answers

Is there a better alternative to PureMVC for Flash projects?

I used PureMVC in a prior Flash (not Flex) project. After adjusting to its requirements, it worked well, but I'm left feeling that it was too over-engineered and cumbersome. I noticed that Mate had lots of positive reviews due to its clarity and…
Marcus Cavanaugh
  • 374
  • 4
  • 12
3
votes
1 answer

Asynchronous PureMVC in Python

Taking the following code from here, from the shortened version at the bottom, exists this proxy: class DataModelProxy(puremvc.patterns.proxy.Proxy): NAME = "DataModelProxy" def __init__(self): super(DataModelProxy,…
Iacks
  • 3,757
  • 2
  • 21
  • 24
3
votes
3 answers

Which Framework is required for developing android application ? MVC/MVP/MVVM

As I am going to start developing an android application. So just wanted to discuss which framework should I follow ? MVC / PureMVC / MVP / MVVM ? if yes, then why ? I have researched alot but didn't get any idea on this.. Also I wanted to know Is…
Kanika
  • 10,648
  • 18
  • 61
  • 81
2
votes
1 answer

Learning PureMVC: Any good basic tutorial/example?

Again, I'm here looking for your wisdom, in this case, I need to learn PureMVC ASAP. Thing is, at work all my programmer teammates use PureMVC in a flex webapp, the app is pretty huge and when I have to implement something/fix a bug/look some code,…
Artemix
  • 8,497
  • 14
  • 48
  • 75
2
votes
1 answer

Concatenate javascript files in eclipse? (PureMVC Mootools)

I just started to work with the pureMVC tutorials with javascript. In the Objs-Platform, there was some nice ObjsComp.jar, which concatenate all javascript files in my a specific folder into one file. Now I m working with the Mootools-Platform,…
longi
  • 11,104
  • 10
  • 55
  • 89
2
votes
3 answers

PureMVC Mediators and views - creation and control

I'm making an app with flash AS3 and puremvc, the way to correctly handle view mediators is sort of throwing me a little... OK - I have 3 or 4 distinct views, each governed by it's own mediator. Each view is only displayed on its own - ie. when 1 is…
Calvin
  • 21
  • 2
2
votes
0 answers

Using PureMVC framework in Angular 2 project

Have been trying to integrate PureMVC framework into an Angular 2 project. I've manage to build and serve the application but the browser complains about it. import Facade = puremvc.Facade; import IFacade = puremvc.IFacade; export class…
Tiago Pereira
  • 170
  • 2
  • 9
2
votes
2 answers

MVC approach for JavaScript

I am searching for a decent framework for organizing my Javascript, jQuery assisted code according to MVCS micro-architecture. I did some research on JavaScriptMVC, and though it looks like a robust product, I'm afraid it's a bit of an "overkill"…
webwise
  • 627
  • 10
  • 22
1
2 3 4 5 6