1 / 17

Web application project

Web application project. Advertising board web site. Created by : Alon Nagar Supervisor:Victor Kulikov. The Task. Create an advertising board web site website having the following features:. Managing users accounts . Managing ads.

yahto
Download Presentation

Web application project

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

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: • Managing users accounts . • Managing ads. • Classification of the ads by: category, sub category & region. • Basic maintenance operation.

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

  4. Web-site layered structure

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

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

  8. Database structure

  9. DAL-Data Access Layer A Data Access Logic Component provides methods to perform the following tasks upon a database, on behalf of the caller: 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 Implementation: • Singleton • Datasets • Direct access (sqlCommand, dataReader)

  10. DAL-Data Access Layer

  11. BLL- Business Logic Layer While the DAL cleanly separates the data access details from the presentation layer, it does not enforce any business rules that may apply • 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. • Implementation: • Object oriented • -Structural and modular code.

  12. BLL- Business Logic Layer

  13. Presentation layer Responsibilities: • 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

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

  15. Presentation layer Home page Search results Login Subscribe Create ad administrator My ads Update user Update ad 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.

More Related