Đang chuẩn bị liên kết để tải về tài liệu:
Professional DotNetNuke ASP.NET Portals wrox phần 6

Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ

Các module này có thể được cài đặt bổ sung dễ dàng bằng cách upload chúng thông qua giao diện của trang quản trị. Một địa chỉ tốt để mua các module thương mại ( nâng cao tính chuyên nghiệp của sản phẩm) là trang http://www.snowcovered.com Một vấn đề khác các nhà phát triển cho Dotnetnuke hay vấp phải là hệ thống menu của DNN khó chỉnh sửa và hơi đơn điệu, tuy nhiên, gần đây đã có sản phẩm Navigation Suite và TransArt do công ty http://www.dnn360.net phát triển khá tốt và có thể thay thế cho Solpart Menu. | DotNetNuke Architecture Finally If Not dr Is Nothing Then dr.Close End If End Try Instead of writing all of that code the CBO Hydrator can be used to greatly simplify things. The code snippet in Listing 7-5 does the same thing as the code in Listing 7-4 only it uses the CBO Hydrator. Listing 7-5 Filling an Object Using the CBO Hydrator Return CType CBO.FillObject DataProvider.Instance .GetFolder PortalID _ FolderPath GetType Services.FileSystem.FolderInfo FolderInfo This section covered how Custom Business Objects are used throughout DotNetNuke to create a truly object-oriented design. The objects provide for type safety and enhance performance by allowing code to work with disconnected collections rather than with DataReaders DataTables or DataSets. Use the CBO Hydrator whenever possible to reduce the amount of coding and to enhance the maintainability of the application. Architectural Overview The DotNetNuke architecture permits the application tiers to be distributed across two servers the web server and the database server as shown in Figure 7-3. The web server contains the presentation business logic and data access layers. The database server contains the data layer. Web Server Database Server Figure 7-3 195 Chapter 7 Presentation Layer The presentation layer provides an interface for clients to access the portal application. This layer consists of the following elements Web Forms The primary web form is the Default.aspx. This page is the entry point to the portal. It is responsible for loading the other elements of the presentation layer. You can find Default.aspx in the root installation directory. Skins The Default.aspx web form loads the skin for the page based on the settings for each page or portal. You can find the base Skin class in admin Skins Skin.vb. Containers The Default.aspx web form also loads the containers for the modules based on the settings for each module page and portal. You can find the base Container class in admin Containers .