Skip to content

Start breaking up Ember.View code into mixins based on purpose#10320

Merged
mmun merged 6 commits intoemberjs:masterfrom
ebryn:view-mixins
Jan 31, 2015
Merged

Start breaking up Ember.View code into mixins based on purpose#10320
mmun merged 6 commits intoemberjs:masterfrom
ebryn:view-mixins

Conversation

@ebryn
Copy link
Member

@ebryn ebryn commented Jan 31, 2015

@drogus
Copy link
Contributor

drogus commented Jan 31, 2015

I'm curious, what's the purpose of this refactoring? Do you think these could be used outside of View or is it more for separation of concerns?

@ebryn
Copy link
Member Author

ebryn commented Jan 31, 2015

@drogus I'm working on "metal views", the view layer performance improvements. Generally, I think it's useful to break apart massive classes such as Ember.View into their logical pieces so you can easily see how things fit together.

mmun added a commit that referenced this pull request Jan 31, 2015
Start breaking up Ember.View code into mixins based on purpose
@mmun mmun merged commit 422c626 into emberjs:master Jan 31, 2015
@rwjblue
Copy link
Member

rwjblue commented Jan 31, 2015

I'd like to see these mixins in separate files instead of all in the same place, but clearly that can be a later refactoring.

@drogus
Copy link
Contributor

drogus commented Jan 31, 2015

I'm working on "metal views", the view layer performance improvements

Sounds great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants