Download presentation
Presentation is loading. Please wait.
Published byEthelbert Boyd Modified over 9 years ago
1
DotNetNuke® Web Application Framework Michael Washington http://www.ADefwebserver.com Webmaster@ADefwebserver.com Socaldug.org – Buena Park, CA - 2006 Creating a DotNetNuke Module using the DAL+
2
Presenter Michael Washington Webmaster@ADefWebserver.com Core member of DotNetNuke® Creator of the Creating a DotNetNuke® Module For absolute beginners! series of tutorialsCreating a DotNetNuke® Module For absolute beginners!
3
Agenda DotNetNuke® Overview The DAL+ Demo Questions
4
DotNetNuke® Overview Open Source Software Project ( BSD License ) Windows Server / ASP.NET platform Released December 24, 2002 Web Application Framework Based on N-Tier, Object Oriented, Best Practice architecture Used in private sector, public sector, military, non-profit, community, and individual web sites Active business ecosystem with hundreds of vendors offering products and services Incubator for complementary Open Source Projects Support for ASP.NET 1.1 and ASP.NET 2.0
5
Modules Applications for managing a specific type of portal Content Allows you to extend DotNetNuke without modifying the core framework. Written in.NET code ( C#, VB.NET, etc… ) Private Assemblies Run-time deployment
6
Modules Design Create Module Project (Developer) Replace Implement Custom Functionality (Developer) Package Package Module for Installation (Developer) Deploy Install into Portal (Admin)
7
Previous development process (DNN 3) Configuration was difficult Data Access Layer was difficult to understand
8
New development process (DNN 4) Configuration is no longer needed using the new ASP.NET 2.0 Website project model The DAL+ simplifies the Data Access Layer
9
The DAL+ You no longer have to code a separate data provider It adds “Generic Methods” to ease module development. ExecuteNonQuery - Used to execute a stored procedure that will not return a value. ExecuteReader - Used to execute a stored procedure that will return multiple records. ExecuteScalar - Used to execute a stored procedure that will return a single value. ExecuteSQL - Used to execute an sql statement.
10
The DAL+ Public Function GetItems(ByVal ModuleId As Integer) As ArrayList Return CBO.FillCollection(DataProvider.Instance().ExecuteReader("GetItems",ModuleId), GetType(ItemInfo)) End Function
11
Demo Create DAL+ “Things For Sale” Module
12
Questions?
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.