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

What is Framer? Join the Community
Return to index
Josef Richter
Posted May 06 - Read on Facebook

Does anyone have a way of organizing complex code? I have like all the code, including dummy data, layers instantiation and various functions in single file and I'm at the point it needs some MVC separation into individual files. If someone went through the same evolution I'd be curious to see your solution, so that I don't reinvent the wheel here.. Thanks!

1 Comments

Fran Pérez

This is what I do:

layers.module - where I create layers and initiate states (if needed).
helpers.module - for random helpers and functions.
app.coffee - for interactions logic.

Read the entire post on Facebook