Presentation is loading. Please wait.

Presentation is loading. Please wait.

Web application project Advertising board web site Created by : Alon Nagar Supervisor:Victor Kulikov.

Similar presentations


Presentation on theme: "Web application project Advertising board web site Created by : Alon Nagar Supervisor:Victor Kulikov."— Presentation transcript:

1 Web application project Advertising board web site Created by : Alon Nagar Supervisor:Victor Kulikov

2 The Task Create an advertising board web site website having the following features: 1.Managing users accounts. 2.Managing ads. 3.Classification of the ads by: category, sub category & region. 4.Basic maintenance operation.

3 Main goals 1.Get familiar with Microsoft tools: Asp.net, Sql server, c#. 2.Learn how to create a structured web site. 3.Acquire software design abilities. (hierarchical design, working with design patterns etc.) 4.Designing and working with a database.

4 Web-site layered structure

5 Reuse of layers Dependencies are kept local Exchangeabilities : –Replacement of old implementation easily Why layer design?

6 Layers: Liabilities Lower efficiency Unnecessary work: functions of a layer called many times for one service Difficulty of establishing correct granularity of layers: To few layer -> less benefits, to much layer -> complexity and overhead…

7 Implementation using: key constraint primary / foreign key. Views Stored procedures The Database Main responsibilities: store large amount of data. retrieve the data efficiently. enforcing data consistency rules on the data. Implemented using SQL server.

8 Database structure

9 DAL-Data Access Layer 1. Create records in the database 2. Read records in the database, and return business entity data to the caller 3.Update records in the database, by using revised business entity data supplied by the caller 4. Delete records in the database A Data Access Logic Component provides methods to perform the following tasks upon a database, on behalf of the caller: Implementation: Singleton Datasets Direct access (sqlCommand, dataReader)

10 DAL-Data Access Layer

11 BLL- Business Logic Layer  serves as an intermediary for data exchange between the presentation layer and the DAL  Enforce business rules on the data: -Expired ads -Validation checking (credit card, ID). etc.  Prepare the data for storage\removal in\from database: -Encryption (if necessary) - Delete ads etc. While the DAL cleanly separates the data access details from the presentation layer, it does not enforce any business rules that may apply Implementation: Object oriented -Structural and modular code.

12 BLL- Business Logic Layer

13 Presentation layer Acquiring data from the user Rendering data to the user Validation, input masking, and using appropriate controls for data input Managing visual layouts, styles, and the general appearance and navigation of the application Formatting data and displaying it in useful visual styles Browsing, searching, and organizing displayed data Responsibilities:

14 Implementation using: Master page CSS Web user controls Various asp.net controls: -Validation controls -Gridviews -Button -Datasource etc… HTML Presentation layer

15 Home page Search results My ads Subscribe Create ad Update ad administrator Login Update user Messages-Errors

16 Bibliography Asp.net website -videos -tutorials w3school website MSDN web site Wiley, Professional ASP.Net 2.0 (2006) -electronic version Sams ASP.NET 3.5 Unleashed-Jan 2008- Ebook. The Oracle – Google: -Forums -web sites

17 Remarks… Special difficulties: Presentation layer -75% of the time. -graphics -positioning -data validation Huge amount of knowledge. Mastering many different tools: -asp.net -html -sql server -c# -css -visual studio Working alone… Special thanks to software laboratory team and especially to Victor who was always there for me. Helping, advising, supporting – and not less important always with a glowing smile on his face.


Download ppt "Web application project Advertising board web site Created by : Alon Nagar Supervisor:Victor Kulikov."

Similar presentations


Ads by Google