dev evening

23
The Devevning ORM Showdown! Dave Hawes http://blog.davehawes.com @davehawes

Upload: guestfb50791

Post on 11-Jul-2015

502 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Dev Evening

The Devevning ORM Showdown!

Dave Hawes

http://blog.davehawes.com

@davehawes

Page 2: Dev Evening

Coming up...

• A brief history of the tool

• Where you can get it from

• How is it used

• Where I have used it

• What are it’s good points

• What are it’s bad points

• Things I think people should know about

Page 3: Dev Evening

A brief history of the tool

• Created by Solutions Design

• Established product, over 5 years old

• Frans Bouma is lead developer, a MVP (he knows his beans)

– @FransBouma

Page 4: Dev Evening

Where you can get it from

• The LLBLGen Pro websitehttp://www.llblgen.com

Pricing

• 1 to 2 - EUR 249.00

• 3 to 5 - EUR 219.00

• 6 to 10 - EUR 199.00

• 11 to 20 - EUR 189.00

• More than 20 - EUR 179.00

Page 5: Dev Evening

How is it used

• Uses the database schema of 1 or more databases as its domain model

• Lists all Tables and Views as entities which can optionally be added to your code gen project as Entities

• Lists Stored Procedures which can be added as Actions

• Generate .Net DAL based on 1 of 2 templates

Page 6: Dev Evening

LLBLGen Pro generates the complete data-access tier and a business objects tier, utilizing powerful O/R mapping technology and a flexible task-based code generator.

GUI

BL

Database

LLBLGen Pro

Page 7: Dev Evening

DAL and business objects are immediately available.

GUI

BL

DAL

Database

Percentages of the total number of man-hours

30 %

40 %

30 % 0%

20%

80%

Page 8: Dev Evening

LLBLGen In Action – Create Database

Page 9: Dev Evening

Model In Sql Server

Page 10: Dev Evening

Point LLBLGen at Database

Page 11: Dev Evening

Create Entities From Tables

Page 12: Dev Evening

Hit Generate and get your .Net project

Page 13: Dev Evening

Out of the Box Database Support

• SqlServer 7/2000/2005/2008• Oracle 8i/9i/10g/11g• MySql 4.x/5.x• IBM DB2 7.x/8.x /9.x driver• Firebird 1.x/2.x• PostgreSql 7.4+/8.x • Sybase ASE• Sybase ASA • Microsoft Access 2000/XP/2003/2007 driver

Page 14: Dev Evening

Azure

• When I last checked when using my Azure CTP account, LLBLGen DALs would connect and run against a single Sql Azure database but could not use it as the domain model.

Page 15: Dev Evening

.Net Versions and Languages

• Support for multiple .NET versions:Generated code supports .NET 1.0/1.1/2.0/3.0/3.5, CF.NET 1.0, 2.0, 3.5 and generated Visual Studio.NET project files are compatible with Visual Studio.NET 2002/2003/2005/2008.

• Languages supported:All functionality is supported in both C# and VB.NET.

Page 16: Dev Evening

More...

Customers have access to the SDK and full source code for all parts of LLBLGen Pro except for the designer.

The SDK can be used to customize the various subsystems of LLBLGenPro.

Page 17: Dev Evening

Features

• Auditing• Authorization• Validation• Flexible concurrency management• Transparent authorization and auditing• Deep, fine grained validation framework• Efficient, tunable, querying system• Distributed systems (SOA) support• In-memory filtering and sorting of entity graphs• See full list here:

http://www.llblgen.com/pages/features.aspx

Page 18: Dev Evening

Where I have used it

• My website adventure:

– http://www.skillbook.co.uk

– http://www.tcbooker.com

– http://www.safetytrainingnetwork.co.uk

• Many small apps based on Access

• Creating a webservice sitting between Oracle and Microsoft Crm

Page 19: Dev Evening

Good Points

• Very very easy to use

• Is owned an run by a ‘Product company’

• Very clear roadmap

• Very good support from both community and company

• Very extensible (if required)

• Encourages good database design

Page 20: Dev Evening

Bad Points

• Hmmm, struggled to come up with any

Page 21: Dev Evening

LLBLGen 3 this year

• Lots of new features including:

– model first development

– To support

• Nhibernate

• Entity Framework

• LINQ To SQL

Page 22: Dev Evening

Summary

• It is a very easy to use product

• Implements latest .Net coding techniques

• Supports a wide range of databases

• Professional and Community support

• Clear Roadmap for the product

• Inexpensive for the benefits it returns

Page 23: Dev Evening

Thank you for your time

Questions?Dave Hawes

http://blog.davehawes.com

@davehawes