Presentation is loading. Please wait.

Presentation is loading. Please wait.

Convention-over-Configuration in an Agile World James Kovacs JamesKovacs.com |

Similar presentations


Presentation on theme: "Convention-over-Configuration in an Agile World James Kovacs JamesKovacs.com |"— Presentation transcript:

1 Convention-over-Configuration in an Agile World James Kovacs JamesKovacs.com |

2

3

4 CONVENTION OVER CONFIGURATION

5

6 Typical Web.config File

7 Configuration-Based.NET historically configuration-based  App/web.config  IoC config  ORM config  Mappers  Event handlers

8

9

10

11 Rails ActiveRecord class Product < ActiveRecord::Base; end...can be automatically mapped to: CREATE TABLE products ( id int(11) NOT NULL auto_increment, name varchar(255), PRIMARY KEY (id) ); Object model automatically has Product#name property.

12 Associations in Rails ActiveRecord class Firm < ActiveRecord::Base has_many :clients has_one :account belongs_to :conglomorate end

13

14 NHibernate / Fluent NHibernate Jimmy Bogard’s AutoMapper Castle Windsor ASP.NET MVC jQuery Conventions in an Agile World

15 DEMO

16

17

18

19 Fluent NHibernate (http://www.fluentnhibernate.org) NHForge (http://nhforge.org) AutoMapper (http://www.codeplex.com/AutoMapper) Castle Windsor (http://castleproject.org) ASP.NET MVC (http://asp.net/mvc) jQuery (http://jquery.com) Resources

20 Questions James Kovacs


Download ppt "Convention-over-Configuration in an Agile World James Kovacs JamesKovacs.com |"

Similar presentations


Ads by Google