This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Mike Feldstein
Posted Sep 07 - Read on Facebook

Pro Tip for developers who use framer. A couple of people have told me they wish Framer had more of an MVC structure. It can! Here is a very simple example of creating a model that the views can listen to and interact with, instead of having to keep track of each other. The trick is to have the model extend Framer.BaseClass so you can listen to and emit events from it.

5 Comments

Ed Chao

This is fantastic.

Koen Bok

Also, I sometimes use Backbone models/collections myself with more complicated prototypes.

Ces Cortez

Koen Bok Do you have a Backbone example online?

Alex Hazel

Niiiiice

Seoh Char

awesome

Read the entire post on Facebook