Profile

Cover photo
Ben Tilford
Works at Overstock.com
Attends BAS Software Engineering
Lives in Cottonwood Heights UT
51 followers|25,088 views
AboutPostsPhotosVideos

Stream

Ben Tilford

Shared publicly  - 
1
1
Ben Tilford's profile photo
Add a comment...

Ben Tilford

Shared publicly  - 
 
 
MVC vs MVVM vs MVP. What a controversial topic that many developers can spend hours and hours debating and arguing about.

For several years +AngularJS was closer to MVC (or rather one of its client-side variants), but over time and thanks to many refactorings and api improvements, it's now closer to MVVM – the $scope object could be considered the ViewModel that is being decorated by a function that we call a Controller.

Being able to categorize a framework and put it into one of the MV* buckets has some advantages. It can help developers get more comfortable with its apis by making it easier to create a mental model that represents the application that is being built with the framework. It can also help to establish terminology that is used by developers.

Having said, I'd rather see developers build kick-ass apps that are well-designed and follow separation of concerns, than see them waste time arguing about MV* nonsense. And for this reason, I hereby declare AngularJS to be MVW framework - Model-View-Whatever. Where Whatever stands for "whatever works for you".

Angular gives you a lot of flexibility to nicely separate presentation logic from business logic and presentation state. Please use it fuel your productivity and application maintainability rather than heated discussions about things that at the end of the day don't matter that much.

#AngularJS   #MVW
1
Add a comment...

Ben Tilford

Shared publicly  - 
 
 
So +JavaScript has this feature where expressions may be joined with the , operator. Minifiers like closure compiler and uglify use it to make things into one statement that used to be 2, which enables them to e.g. use short circuiting operators like && and || instead of if/else.
Apparently Opera crashes when statements become too long and article suggests a fix by randomly inserting semicolons? That has #fail  written on it in very large letters!
http://my.opera.com/hallvors/blog/2012/07/17/twitter-crashes-itself-with-commas?1
1
Add a comment...
Have him in circles
51 people
Fauzi Rachman's profile photo
Tyshawn Despenza's profile photo
Johnathan Phelps's profile photo
Victor Kane's profile photo
Alexey Ozerov's profile photo

Ben Tilford

Shared publicly  - 
1
Add a comment...

Ben Tilford

Shared publicly  - 
 
Migrated my account to +Ben Tilford 
1
Add a comment...

Ben Tilford

Shared publicly  - 
 
 
And you thought Apple vs. Samsung couldn't get any crazier...
1
Add a comment...
People
Have him in circles
51 people
Fauzi Rachman's profile photo
Tyshawn Despenza's profile photo
Johnathan Phelps's profile photo
Victor Kane's profile photo
Alexey Ozerov's profile photo
Education
  • BAS Software Engineering
    present
  • ITT (Indianapolis IN)
  • Metro Community College (Omaha NE)
  • Papillion Lavista High School
Basic Information
Gender
Male
Relationship
Single
Work
Occupation
Software Engineer
Employment
  • Overstock.com
    Software Engineer, 2011 - present
  • Polaris Laboratories
    Software Engineer, 2007 - 2010
  • Summer Kitchen
  • Farmhouse
  • Wheatfields
  • USN
  • Dillon Construction Group
  • Beckerich Electric
  • Contractor, Wal-mart mobile
    Software Engineer, 2010 - 2011
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Currently
Cottonwood Heights UT
Previously
Murray UT - Pacifica CA - Indianapolis IN - Papillion NE - Norfolk VA - Omaha NE