Internship-Report ( Work Done on Report So Far)

download Internship-Report ( Work Done on Report So Far)

of 15

Transcript of Internship-Report ( Work Done on Report So Far)

  • 8/12/2019 Internship-Report ( Work Done on Report So Far)

    1/15

    InternshipReportAt

    MDPS News

    Mentor:

    20??

    This project report is submitted to the Department of Computer Science and in partial fulfillment of

    the requirements of the Practical Training course.

    Department of Computer Science and Engineering

  • 8/12/2019 Internship-Report ( Work Done on Report So Far)

    2/15

    ii

    Abstract

    This project aims at creating a system for online News, by developing web application. The project

    addresses problems such as manual update of news section in the website will be overcome by

    automating it through interface to add/edit news. With appropriate approvals from admin side news

    can be visible on website.

    The system will allow editors to upload news and admin will validates news, viewers can be view

    from website.

    Acknowledgment

  • 8/12/2019 Internship-Report ( Work Done on Report So Far)

    3/15

    iii

    Table of Contents

    Abstract ................................................................................................................................................... ii

    Acknowledgment .................................................................................................................................... ii

    1. Background of the organization ...................................................................................................... 4

    2. Internship accomplishments ........................................................................................................... 4

    3. Requirements analysis .................................................................................................................... 4

    3.1. Project overview ..................................................................................................................... 4

    3.2. Functional requirements ......................................................................................................... 5

    High Level Requirement .................................................................................................................. 5

    Assumptions .................................................................................................................................... 7

    3.3. Non-functional requirements ................................................................................................. 7

    4. Project timeline ............................................................................................................................... 7

    4.1. Project milestones .................................................................................................................. 7

    4.2. Estimations: ............................................................................................................................. 8

    5. Solution design ................................................................................................................................ 8

    5.1. High level architecture ............................................................................................................ 8

    5.2. Detailed design ..................................................................................................................... 10

    5.2. 1. Structural model ............................................................................................................... 105.2. 2. Behavioral model .............................................................................................................. 10

    5.2. 3. Database Design ................................................................................................................ 11

    5.2. 4. User Interface Design ........................................................................................................ 12

    6. Implementation ............................................................................................................................ 13

    7. Testing ........................................................................................................................................... 14

    8. Delivery ......................................................................................................................................... 14

    9. Conclusion ..................................................................................................................................... 14

    10. Reflections and learning outcomes .......................................................................................... 14

  • 8/12/2019 Internship-Report ( Work Done on Report So Far)

    4/15

    4

    1. Background of the organization

    2. Internshipaccomplishments

    Analysis of requirements.

    Involved in Design aspx pages, Coding.

    Design of Database.

    Unit Testing

    Deployment in Local Machine.

    3. Requirements analysis

    3.1. Project overview

    Summary :To provide a mechanism to verify the news content before publishing on

    the home page of the website. To decrease the time of approval of news by

    eliminating the manual process. To increases the news updating frequency on the

    home page. To display the approved news on the home page and return the

    unapproved news items to the editor to edit/delete as per the requirements

    mentioned in the comments by the administrator.

    Solution :It is very important to have a mechanism to verify/approve before the

    news to be displayed on the home page of the companys website, so that the editor

    can have a verifications/validations check of the content of the news. It is always

    good practices to have a responsible team to take care of news items, members like

    Adminsitrator or Editorcan be given this responsibllity. The impact of

    notimplementing the solution for this project would be manual check of every news

    items, increase in time to get approval of news, increase in man power, decrease in

    the quantity and quality of the news,frequency of updation of the news items on

    the home page will come down as a result the revenues for the news company will

    come down. The online news will genenate good revenues for the stake holders

    provided the news being updated frequently and quantity and quality of the news

    should not be compromised. The advantage of implementing the projet is that

    administrator can verify/validate the content of the news and provide/suggest the

    nessesary inputs to the editor for presenting the news as per the guide lines. The

  • 8/12/2019 Internship-Report ( Work Done on Report So Far)

    5/15

    5

    completion of the project will increase the frequency and quality of the news being

    published on the home page.

    The main objective of this project is to provide mechanism to verify the content of

    the news before being published on the home page of MDPS news website. This willalso emlminate the manula approval process which is a time consuming process,

    thus increasing the number of news items of the home page of MDPS website

    without compromising on the quality of the news. Every news item before displaying

    in the home page will be validated.

    Static news section of MDPS Website made to dynamic .Earlier, to add news every day manually

    employee has to do, now automated like news will be saved in database and displays on webpage

    ordered by date newest at top.Existing system does not have any approval system, now

    incorporated with admin approval, only approved news will be displayed on website.

    3.2. Functional requirements

    High Level Requirement

    - From the use case there are three actors; the Editor, the administrator (admin) and Audience.

    - Editors: are registered users can add news, edit news delete news, which includes uploading

    images. For each and every action against news administrator will get notifications for approval

    process.

    - Admin:Only the admin can Approve news those are added, edited,deleted by editors. Only

    approved news will be displayed on home page. For every action of editor admin has to approve.- Audience (Viewers):users who can see the news on the main site.

    Use cases scope:

    1. Login

    2. Add News

    3. Edit News

    4. News Items

    5. Notification Mails

    6. Delete News

    7. News Page

    8. View News

  • 8/12/2019 Internship-Report ( Work Done on Report So Far)

    6/15

    6

    1. Use Case Diagram

    Table 1. Use cases summary

    Use case Brief description

    Login The system allows the users who have an

    account to login.

    Edit News System will allow to Edit news after editing will

    saves data Notification mail will send to Admin

    Add News Editor will adds news, notification mail will send

    to admin for approval

    News Items System will lists all news items created by logged

    in editor, allows editing, deleting and viewing

    news item individually.

    Notification Mails For Add, edit, Delete operations on every news

    item will generated notification mail which will

    be sent to admin.

    Delete News If Editor wants to delete news which are

    outdated, can do it here before deletion

    approval mail will be sent to admin.

    News Page End Users can see approved News on Home

    page in website.

    View News View news for single news item, can be viewed

    by editor and admin to ensure correct content

  • 8/12/2019 Internship-Report ( Work Done on Report So Far)

    7/15

    7

    on website.

    Assumptions

    User may input news as image or plain text or html format so the application must supportall the types.

    3.3. Non-functional requirements

    Reliability

    It is required that the system keeps functioning properly with no failures for most of the time.

    And in case of failure the system should not take more than 0.1% of the working time to be back

    online.

    Security

    All access requests to the database from outside the system should be denied. Thus only the

    authorized system components will have the ability to access the data of the system.

    Usability

    It is a key factor that the interface of the system should be understandable and easy to use.

    Extensibility

    The system should be extensiblewhere its functionality can be expanded in the future. For

    instance, can be integrated to any website with their own customisations.

    Scalability

    The system is expected to serve a large scale of users. That is why it should be able to handle

    large number of requests without losing its efficiency and reliability.

    Maintainability

    The system should be designed carefully in a flexible way that minimize the effort and the cost

    needed to modify it whether in case of fixing bugs or redesigning the system.

    4. Project timeline

    4.1.Project milestones

    Milestone Description

    Project Background/Investigation This milestone for investigated in the problem,

    and searching to know how others intend to

    solve this problem.

    Requirements gathering This milestone to identify the requirement

    needed to solve the problem, and to develop a

    use cases diagram and use case specification

    for the system.

    High level design In this milestone we are expected to deliver a

  • 8/12/2019 Internship-Report ( Work Done on Report So Far)

    8/15

    8

    high level design for the system, and choosing

    the development process for the project.

    Project planning Planning the tools to be used.

    Database Design Creating Tables, Writing Stored Procedures

    Development Design of all UI Pages, coding. Representing

    business into UI.Unit Testing Unit Testing In iterative method for each unit of

    proto type.

    Deployment Publishing website on Server.

    4.2.Estimations:

    S.No Task Pages/work Effort

    Estimation(hours)

    Floater in

    hours(may occur)

    1 Design News 4 0.5

    Add/Edit /Delete News 8 0.5

    Login/Register 8 0

    Forgot Password 2 0

    Admin Approval(Notification

    Mails)

    1 0

    2 Coding All Pages 16 2

    3. Database

    design

    Tables 1 None

    Stored Procedures 44. Unit Testing NA 8 1

    Total 52 4

    5. Solution design

    5.1.High level architecture

    The proposed architecture to develop the solution is 3-tier. This architecture mailycontains of 3 componts namely presentation layer, application layer, data layer.

    Presentation Layer

    The Presentation Layer contains pages like .aspx where data is presented to the user or input

    is taken from the user. The ASP.NET web site (the UI for the project) is called the Presentation

    Layer. The Presentation Layer is the most important layer simply because its the one that

    everyone sees and uses. Even with a well structured business and data layer, if the

    Presentation Layer is designed poorly, this gives the users a poor view of the system.in

    simple terms, the UI with which the end user actually interacts.

    Bussiness Layer

  • 8/12/2019 Internship-Report ( Work Done on Report So Far)

    9/15

    9

    A BAL contains business logic, validations or calculations related to the data.

    Though a web site could talk to the data access layer directly, it usually goes through another

    layer called the Business Layer. The Business Layer is vital in that it validates the input

    conditions before calling a method from the data layer. This ensures the data input is correct

    before proceeding, and can often ensure that the outputs are correct as well. This validationof input is called business rules, meaning the rules that the Business Layer uses to make

    judgments about the data.

    Data Layer

    A DAL contains methods that helps the Business Layer to connect the data and perform

    required actions, whether to return data or to manipulate data (insert, update, delete and so

    on).Where actual data is stored

    1)2) 2. Architecture Diagram

    3)

    Please draw more clearly high level architecture diagram. The words on the

    diagram is too small and make it related to the project by adding words from

    project like ( news, main sit of MDPS)

    Project components for architecture diagram I have taken it from my supervisor in

    the company it is:-

    The project consists of:- Web application built with .Net and C#- SQL Database

  • 8/12/2019 Internship-Report ( Work Done on Report So Far)

    10/15

    10

    - Test Server + Production Server

    4) Briefly discuss the key interactions between the identified components

    Please extend it more to 200

    5.2.Detailed design

    5.2.1.Structural model

    Class diagram must have relationships between the classes with writing the name

    of relation on the arrows check the class diagram in the example report I sent

    please. It must be the same way.

    3.Class Diagram

    5.2.2. Behavioral model

    Sequence diagram is different from activity diagram

    You have to do activity diagram (behavioral diagram) for each important class

    Also you have to do sequence diagram for each important class

    Any diagram(sequence diagram, behavior diagram) you have to explain it in 100

  • 8/12/2019 Internship-Report ( Work Done on Report So Far)

    11/15

    11

    4.Activity Diagram

    5.2.3. Database Design

    Rename please the entity to meanful names

    You have to explain the ER diagram well under the diagram.Imean everything have

    to be explained.

  • 8/12/2019 Internship-Report ( Work Done on Report So Far)

    12/15

    12

    5.Database Diagram

    5.2.4. User Interface Design

    1. Add/Edit News Page:

  • 8/12/2019 Internship-Report ( Work Done on Report So Far)

    13/15

    13

    6. Implementation

    Tools Used:

    Visual Studio 2010, C#.Net ,

    Sql Server 2008,

    Microsoft SQL Serveris arelational database management systemdeveloped byMicrosoft.As

    a database, it is a software product whose primary function is to store and retrieve data as

    requested by other software applications, be it those on the same computer or those running on

    another computer across a network .

    Java Script,

    JavaScript(JS) is adynamiccomputerprogramming language.[5]

    It is most commonly used as

    part ofweb browsers,whose implementations allowclient-side scriptstointeract with the user,

    control the browser, communicateasynchronously,and alter thedocument contentthat is

    displayed.[5]

    It is also being used in server-side network programming (withNode.js), game

    development and the creation of desktop and mobile applications.

    AjaxControlToolkit,

    The ASP.NET AJAX Control Toolkit is an open-source project built on top of the Microsoft ASP.NET AJAX

    framework. It is a joint effort between Microsoft and the ASP.NET AJAX community that provides a powerful

    infrastructure to write reusable, customizable and extensible ASP.NET AJAX extenders and controls, as well as arich array of controls that can be used out of the box to create an interactive Web experience.

    http://en.wikipedia.org/wiki/Relational_database_management_systemhttp://en.wikipedia.org/wiki/Relational_database_management_systemhttp://en.wikipedia.org/wiki/Relational_database_management_systemhttp://en.wikipedia.org/wiki/Microsofthttp://en.wikipedia.org/wiki/Microsofthttp://en.wikipedia.org/wiki/Microsofthttp://en.wikipedia.org/wiki/Dynamic_programming_languagehttp://en.wikipedia.org/wiki/Dynamic_programming_languagehttp://en.wikipedia.org/wiki/Dynamic_programming_languagehttp://en.wikipedia.org/wiki/Programming_languagehttp://en.wikipedia.org/wiki/Programming_languagehttp://en.wikipedia.org/wiki/JavaScript#cite_note-FOOTNOTEFlanaganFerguson20061-5http://en.wikipedia.org/wiki/JavaScript#cite_note-FOOTNOTEFlanaganFerguson20061-5http://en.wikipedia.org/wiki/JavaScript#cite_note-FOOTNOTEFlanaganFerguson20061-5http://en.wikipedia.org/wiki/Web_browserhttp://en.wikipedia.org/wiki/Web_browserhttp://en.wikipedia.org/wiki/Web_browserhttp://en.wikipedia.org/wiki/Client-side_scriptinghttp://en.wikipedia.org/wiki/Client-side_scriptinghttp://en.wikipedia.org/wiki/Client-side_scriptinghttp://en.wikipedia.org/wiki/User_interfacehttp://en.wikipedia.org/wiki/User_interfacehttp://en.wikipedia.org/wiki/User_interfacehttp://en.wikipedia.org/wiki/Ajax_(programming)http://en.wikipedia.org/wiki/Ajax_(programming)http://en.wikipedia.org/wiki/Ajax_(programming)http://en.wikipedia.org/wiki/Document_Object_Modelhttp://en.wikipedia.org/wiki/Document_Object_Modelhttp://en.wikipedia.org/wiki/Document_Object_Modelhttp://en.wikipedia.org/wiki/JavaScript#cite_note-FOOTNOTEFlanaganFerguson20061-5http://en.wikipedia.org/wiki/JavaScript#cite_note-FOOTNOTEFlanaganFerguson20061-5http://en.wikipedia.org/wiki/JavaScript#cite_note-FOOTNOTEFlanaganFerguson20061-5http://en.wikipedia.org/wiki/Node.jshttp://en.wikipedia.org/wiki/Node.jshttp://en.wikipedia.org/wiki/Node.jshttp://en.wikipedia.org/wiki/Node.jshttp://en.wikipedia.org/wiki/JavaScript#cite_note-FOOTNOTEFlanaganFerguson20061-5http://en.wikipedia.org/wiki/Document_Object_Modelhttp://en.wikipedia.org/wiki/Ajax_(programming)http://en.wikipedia.org/wiki/User_interfacehttp://en.wikipedia.org/wiki/Client-side_scriptinghttp://en.wikipedia.org/wiki/Web_browserhttp://en.wikipedia.org/wiki/JavaScript#cite_note-FOOTNOTEFlanaganFerguson20061-5http://en.wikipedia.org/wiki/Programming_languagehttp://en.wikipedia.org/wiki/Dynamic_programming_languagehttp://en.wikipedia.org/wiki/Microsofthttp://en.wikipedia.org/wiki/Relational_database_management_system
  • 8/12/2019 Internship-Report ( Work Done on Report So Far)

    14/15

    14

    The AJAX Control Toolkit contains more than 30 controls that enable you to easily create rich, interactive web

    pages.

    HTMLEditorExtender Description

    The HtmlEditorExtender is an ASP.NET AJAX Control that enables you to extend the standard ASP.NET TextBox

    control with support for rich formatting. For example, the HtmlEditorExtender enables users to apply bold, italic,

    underline, subscript, superscript, and different foreground and background color to text.

    7. Testing

    8. Delivery

    9. Conclusion

    10. Reflections and learning outcomes

  • 8/12/2019 Internship-Report ( Work Done on Report So Far)

    15/15

    15

    - How has this internship impacted your career goals? What skills would you like to develop in

    preparation for your career?

    - Benefits gained and the skills acquired from your internship (e.g., new programming

    languages/tools). Key lessons and new attitudes to carry forwards to your professional life

    from the internship experience. Key shortcomings that you should avoid in future projects.

    - Which of the academic courses that you have taken at QU were the most useful in yourexperience and how?

    - What were the challenges that you faced and how did you overcome them?

    />