Session

What's In A Model?

If you know the Model-View-Controller pattern, have you ever questioned why Microsoft's defaults encourage you to group everything by their type? Models here, Views there and Controllers over there. If grouping by type is such a good idea, why aren't we grouping all Strings, Integers and Booleans together as well?

Perhaps there's a better way? This talk will give you ideas for how to structure your applications differently and doing it in a way that will make you more proficient in your programming language all the while being able to more clearly represent and model the real world in code.

After this talk, you will appreciate and understand better when to respect the DRY principle and when to break it. You will learn the difference between a data model, a view model, a message model, a domain model and when to use which. You will learn when and why you should throw exceptions, when to use object initializers and when to use constructors.

This may all sound basic, but at its core, this is all very hard, since modelling is hard. And modelling is hard because it is essentially about distilling the real world into code and the real world has absolutely no interest in being modelled. The real world is complex and chaotic, so we need all the tools we can muster to bring it into order.

This talk will give you a few of these tools.

Asbjørn Ulsberg

Architect and developer at PayEx by day, musician and demoscener by night

Oslo, Norway

Actions

Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.

Jump to top