Michael Paladino Lead Application Developer EagleOne.
-
Upload
kelly-russell -
Category
Documents
-
view
219 -
download
1
Transcript of Michael Paladino Lead Application Developer EagleOne.
![Page 1: Michael Paladino Lead Application Developer EagleOne.](https://reader035.fdocuments.in/reader035/viewer/2022062320/56649cfe5503460f949cfa3f/html5/thumbnails/1.jpg)
Michael PaladinoLead Application DeveloperEagleOne
![Page 2: Michael Paladino Lead Application Developer EagleOne.](https://reader035.fdocuments.in/reader035/viewer/2022062320/56649cfe5503460f949cfa3f/html5/thumbnails/2.jpg)
Lead Application Developer at EagleOne
Experience and interests: Classic ASP .NET SQL Server Content Management Systems Open source software FSDNUG!
![Page 3: Michael Paladino Lead Application Developer EagleOne.](https://reader035.fdocuments.in/reader035/viewer/2022062320/56649cfe5503460f949cfa3f/html5/thumbnails/3.jpg)
Problems with standard ADO.NET data access
What is ORM?What is SubSonic? SetupBasicsWeb Form ControlsOther SubSonic GoodnessSummary / Resources
![Page 4: Michael Paladino Lead Application Developer EagleOne.](https://reader035.fdocuments.in/reader035/viewer/2022062320/56649cfe5503460f949cfa3f/html5/thumbnails/4.jpg)
Demo 1: Data access in code-behind Requires duplication Lots of hand-coding No compile-time checking
Demo 2: Custom objects Lots of hand-coding No compile-time checking
![Page 5: Michael Paladino Lead Application Developer EagleOne.](https://reader035.fdocuments.in/reader035/viewer/2022062320/56649cfe5503460f949cfa3f/html5/thumbnails/5.jpg)
Object-Relational MappingWikipedia:
“…programming technique for converting data between incompatible type systems in relational databases and object-oriented programming languages.”
Typically automatedExample .NET Implementations:
NHibernate Wilson’s O/R Mapper ADO.NET Entity Framework LINQ to SQL
![Page 6: Michael Paladino Lead Application Developer EagleOne.](https://reader035.fdocuments.in/reader035/viewer/2022062320/56649cfe5503460f949cfa3f/html5/thumbnails/6.jpg)
ORM tool – Provides .NET objects that allow access to the underlying database.
Designed for web development but can be used in Windows Forms apps
Collection of web forms controls to speed up web development
Provides ability to track database changes Supports SQL Server 2000 and 2005,
MySQL, Oracle (SQLLite, SQLCE, PostGres coming soon)
Open Source
![Page 7: Michael Paladino Lead Application Developer EagleOne.](https://reader035.fdocuments.in/reader035/viewer/2022062320/56649cfe5503460f949cfa3f/html5/thumbnails/7.jpg)
One-Time Download and install release 2.0.3 Setup toolbar buttons in Visual Studio Add controls to Visual Studio toolbox
Per-Project Add reference to SubSonic.dll Update Web.config Create _DB and _Generated folders
![Page 8: Michael Paladino Lead Application Developer EagleOne.](https://reader035.fdocuments.in/reader035/viewer/2022062320/56649cfe5503460f949cfa3f/html5/thumbnails/8.jpg)
Basic blog engine Multiple authors, only one per post Multiple categories per post Comments Simple editing
Database structure SubSonic conventions
![Page 9: Michael Paladino Lead Application Developer EagleOne.](https://reader035.fdocuments.in/reader035/viewer/2022062320/56649cfe5503460f949cfa3f/html5/thumbnails/9.jpg)
ActiveRecord patternWorking with single objects
ViewPost.aspxWorking with collections
Default.aspx Add comments to ViewPost.aspx
Updating and deleting EditPost.aspx
![Page 10: Michael Paladino Lead Application Developer EagleOne.](https://reader035.fdocuments.in/reader035/viewer/2022062320/56649cfe5503460f949cfa3f/html5/thumbnails/10.jpg)
Calendar Control – EditPost.aspxRadio Buttons – EditPost.aspxDropdown – EditPost.aspxManyManyList – EditPost.aspxScaffold – Scaffold.aspxAuto Scaffolding –
AutoScaffolding.aspxQuickTable – Sandbox.aspx
![Page 11: Michael Paladino Lead Application Developer EagleOne.](https://reader035.fdocuments.in/reader035/viewer/2022062320/56649cfe5503460f949cfa3f/html5/thumbnails/11.jpg)
Views – Sandbox.aspxStored Procedures – Sandbox.aspxQuery Tool – Sandbox.aspxPartial Classes – Comment.vb“Sugar” – Sandbox.aspxDB VersioningTemplate Customization
![Page 12: Michael Paladino Lead Application Developer EagleOne.](https://reader035.fdocuments.in/reader035/viewer/2022062320/56649cfe5503460f949cfa3f/html5/thumbnails/12.jpg)
SubSonic has the potential to greatly speed up database-driven web development
Future possibilities?
![Page 13: Michael Paladino Lead Application Developer EagleOne.](https://reader035.fdocuments.in/reader035/viewer/2022062320/56649cfe5503460f949cfa3f/html5/thumbnails/13.jpg)
Main Site: http://subsonicproject.com/
CodePlex: http://www.codeplex.com/subsonic
Rob Conery: http://blog.wekeroad.com/
Presentation Slides: http://www.fsdnug.org/previousMeetings.html
![Page 14: Michael Paladino Lead Application Developer EagleOne.](https://reader035.fdocuments.in/reader035/viewer/2022062320/56649cfe5503460f949cfa3f/html5/thumbnails/14.jpg)
Michael Paladino Email: [email protected] Blog: www.mpaladino.com Twitter: www.twitter.com/mpaladino LinkedIn:
http://www.linkedin.com/in/michaelpaladino
Fort Smith .NET User Group www.fsdnug.org