Melon News Component was implemented following the model of three-tiered architecture.

Data Access Layer

The data access layer is represented by the assemblies GotDotNet.ApplicationBlocks.Data.dll and Melon.Components.ApplicationBlocks.Data.dll.

DATA SCHEMA

Database table which is of interest to the developers is table MC_NewsUserAdapter. This is the adapter table which makes the relation between Melon News Component and the users table of the web site where the News Component will be integrated.

Business Logic

It is represented by classes which reside in the assembly App_Code\MC_News.

Interface

The interface of the control is formed by several user controls and web pages.

There is one main user control NewsAdministration.ascx (inherits BaseNewsControl class) which is a container of the other user controls (inherit NewsControl class) and provides the communication between them. NewsAdministration control represent the news administration part of the News Component.

User controls Categories.ascx, NewsListing.ascx, NewsDetails.ascx, PopularNews.ascx, FeaturedNews.ascx, LatestNews.ascx form the front-end part of the News Component.

There are local resources for all user controls. In this version resources in English are provided. If resources for another culture are needed resource files with the same keys should be created. For more information read section How to: Manage multilanguage interface.

All styles are placed in css file NewsStyles/Styles.css so the component can be easily made themeable when putting the styles in the theme folders and customize them. For more information read section How to: Customize the look and feel.