Beruflich Dokumente
Kultur Dokumente
IN PARTIAL FULFILLMENT OF THE REQUIREMENT FOR THE AWARD OF THE DEGREE IN BACHELOR OF ENGINEERING (INFORMATION TECHNOLOGY)
BATCH: 2005-2009
STUDENT NAME
(ROLL NO)
ACKNOWLEDGEMENT
We take this opportunity to thank all those who have helped us in completing the project successfully. We sincerely thank Dr. Babu Singh, Director & Dr S.K.Gupta, Principal of B.S.Anangpuria Institute of Technology and Management, Alampur for providing us a platform to build this project. We would also like to show our gratitude to Dr. S.P.S Saini (H.O.D. of the institutes Computer and IT department) for providing us with well trained faculty and giving us all the required resources and a healthy environment for our carrying out our project work. We are highly obliged to Ms. Ranjna Gupta (Faculty and Project Guide) for providing us continuous and invaluable guidance throughout the project. Her kind and elderly advice always inspired us in putting our best efforts to develop an efficient project.
CERTIFICATE
This is to certify that the project work entitled, WORK PLANNER, submitted by the students of B.S. ANANGPURIA INSTITUTE OF TECHNOLOGY AND MANAGEMENT (2005-2009) in partial fulfillment of the requirement for the degree B.E. of M.D. University Rohtak , is a bonafid record of the work carried out by them under my supervision and is their original work.
INDEX
1.)
Reduce the manual work of planning Have a relevant time plan always available. 4
The Work Planner is the organizer of a project or projects. The Planner sets out, monitors, maintains and updates the project plan/program in coordination with all stakeholders of the project. Reduce the manual work of planning. Have a relevant time plan always available. It maintains staff record and replacements.
Manager: Manager should be able to assign task, approve task set by team members and authorize the progress of tasks. Manager can add team members, Manager create project with details, Manager can select team member and then assign tasks to team member, Manager can approve suggested task. Manager should be able to see the tasks project wise and team member wise. Team Member: Team members should be able to see that tasks assigned by manager, add new tasks, mark progress of assigned tasks Team member can add tasks by choice. Only approved task by manager will appear on screen. Team member can mark progress of assigned task.
ASP.NET is a web application framework developed and marketed by Microsoft, that programmers can use to build dynamic web sites, web applications and web services. It was first released in January 2002 with version 1.0 of the .NET Framework, and is the successor to Microsoft's Active Server Pages (ASP) technology. ASP.NET is built on the Common Language Runtime (CLR), allowing programmers to write ASP.NET code using any supported .NET language. ASP.NET aims for performance benefits over other script-based technologies (including Classic ASP) by compiling the server-side code to one or more DLL files on the web server. This compilation happens automatically the first time a page is requested (which means the developer need not perform a separate compilation step for pages). This feature provides the ease of development offered by scripting languages with the performance benefits of a compiled binary. However, the compilation might cause a noticeable delay to the web user when the newly-edited page is first requested from the web server. 1.3.3
SQL Server 2005 SQL Server 2005 (codenamed Yukon), released in October 2005, is the successor to SQL Server 2000. It included native support for managing XML data, in addition to relational data. For this purpose, it defined an xml data type that could be used either as a data type in database columns or as literals in queries. XML columns can be associated with XSD schemas; XML data being stored is verified against the schema. XML is converted to an internal binary data type before being stored in the database. Specialized indexing methods were made available for XML data. XML data is queried using XQuery; SQL Server 2005 added some extensions to the T-SQL language to allow embedding XQuery queries in T-SQL. In addition, it also defines a new extension to XQuery, called XML DML, that allows query-based modifications
to XML data. SQL Server 2005 also allows a database server to be exposed over web services using TDS packets encapsulated within SOAP (protocol) requests. When the data is accessed over web services, results are returned as XML. For relational data, T-SQL has been augmented with error handling features and support for recursive queries. SQL Server 2005 has also been enhanced with new indexing algorithms and better error recovery systems. Data pages are checksummed for better error resiliency, and optimistic concurrency support has been added for better performance. Permissions and access control have been made more granular and the query processor handles concurrent execution of queries in a more efficient way. Partitions on tables and indexes are supported natively, so scaling out a database onto a cluster is easier. SQL CLR was introduced with SQL Server 2005 to let it integrate with the .NET Framework. 2.
Customer
Team Leader
FeedBack
Assigned project Add or delete team leader Update information Insert,update or delete team member
Project Manager
Admin
Username
Password
User Admin have login id, password. Admin is familiar with this environment. Actor will sign in. Actor will write the login id and password. Actor will press ok.
Use case 2
Brief Description The main objective of this use case is to show the activities that a Customer, Project Manager and Project Leader can perform.
Place Order
Customer
Settle payment
Assign Task
Project Manager
Monitoring
Edit
Project leader
Status Check
Remove
Cu st o m er
P roj e c t M a na ge r
P roj e c t L e a de r
S TAR T
P lac e O rder
Login for A DM IN [ No ]
L o g in s u cce s fu l [ Ye s ]
[ No ]
All Ta s ks a s s ig n e d
[ Y es ]
S ettle P ay m ent
M onitering
EXIT
10
3. CODING
3.1 CUSTOMER:<%@ Page Language="C#" %> <%@ Import Namespace = System.Data.SqlClient %> <%@ Import Namespace = System.Data %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <script runat="server"> protected void Page_Load(object sender, EventArgs e) { Label8.Text = ("Visitor number is "+ Application["sessioncount"]+ "<br>"); } string k = ""; protected void Button1_Click(object sender, EventArgs e) { (); if (RadioButton1.Checked == true) { k = "male"; } else { k = "female"; } string s2;
s2 = "insert into customer values ('" + TextBox1.Text + "','" + TextBox2.Text (); conn.Close(); Button1.Text = "Thanks for your Visit"; } </script>
3.2 GLOBAL.ASAX:<%@ Application Language="C#" %> <script runat="server"> void Application_Start(object sender, EventArgs e) { // Code that runs on application startup } void Application_Error(object sender, EventArgs e) { // Code that runs when an unhandled error occurs
11
} void Session_Start(object sender, EventArgs e) { on1_Click(object sender, EventArgs e) { if (TextBox1.Text == "manager" && TextBox2.Text == "sharma") { Server.Transfer("Managerhome.aspx"); } else { Label4.Text = "Invalid user"; } if (TextBox1.Text == "teamleader" && TextBox2.Text == "gupta") { Server.Transfer("TeamLeaderSe.aspx"); } else { Label4.Text = "Invalid user"; }
3.5MANAGER HOME:<%@ Page Language="C#" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <script runat="server"> protected <span style="font-size: 24pt; background-image: url(OFFISUPP.GIF);"> <span><span style="color: #ffffff"> <span style="text-decoration: underline"> </span> <asp:HyperLink ID="HyperLink1" runat="server" FontSize="16pt" Height="25px" NavigateUrl="~/Default.aspx" Width="207px" ForeColor="White">Assigning new project</asp:HyperLink><br />
12
<br /> <asp:HyperLink ID="HyperLink2" runat="server" Font-Size="16pt" NavigateUrl="~/assignedproject.aspx" Width=" <br /> <asp:HyperLink ID="HyperLink6" runat="server" Font-Size="16pt" ForeColor="White" Height="24px" <br /> <br /> <br /> </div> </form> </body> </html>
3.6 ASSIGNING NEW PROJECT:using System; using System.Data; using System.Configuration; using System.Web; ','" + TextBox1.Text + " ','" + TextBox2.Text + "','" + TextBox3.Text + "','" + TextBox4.Text + "','" + Label1.Text + " ','" + Label2.Text + "')"; comm = new SqlCommand(s2, conn); comm.ExecuteNonQuery(); string s3; s3 = "delete from team_leader where TL_id = '"+ DataGrid1.SelectedItem.Cells[1].Text + "' "; comm = new SqlCommand(s3, conn); comm.ExecuteNonQuery(); string s4; s4 = "insert into assigned_team_leader values('" + DataGrid1.SelectedItem.Cells[1].Text + "','" + DataGrid1.SelectedItem.Cells[2].Text + "','" + DataGrid1.SelectedItem.Cells[3].Text + "','" + DataGrid1.SelectedItem.Cells[4].Text + "','" + DataGrid1.SelectedItem.Cells[5].Text; TextBox5.Text = DataGrid1.SelectedItem.Cells[1].Text; } protected void Calendar1_SelectionChanged(object sender, EventArgs e) { if (RadioButtonList1.Items[0].Selected) { Label1.Text = Calendar1.SelectedDate.ToString(); } else { Label2.Text = Calendar1.SelectedDate.ToString(); } } protected void LinkButton1_Click(object sender, EventArgs e) { } }
13
<%@ Page Language="C#" %> <%@ Page Language="C#" %> <%@ Import Namespace = "System.Data.SqlClient" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <script runat="server"> protected void Page_Load(object sender, EventArgs e) { } protected void Button1_Click(object sender, EventArgs e) { conn.Close(); Label6.Text = "Inserted into the Database"; } </script>
<%@ Page Language="C#" %> <%@ Import Namespace = "System.Data.SqlClient" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <script runat="server"> s1 = "server = ESYS; uid = sa; pwd = smart; database = wp"; conn = new SqlConnection(s1); conn.Open(); string s2; s2 = " delete from team_leader where TL_id = '" + TextBox1.Text + "'
";
comm = new SqlCommand(s2, conn); comm.ExecuteNonQuery(); conn.Close(); Button1.Text = "Deleted from the Database"; } protected
3.10 ADJUST TEAM LEADER:<%@ Page Language="C#" %> <%@ Import Namespace = "System.Data.SqlClient" %> <%@ Import Namespace = "System.Data.Sql" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <script runat="server"> protected void Page_Load(object sender, EventArgs e) { }
14
protected void Button1_Click(object sender, EventArgs e) { SqlConnection conn; SqlCommand comm; string s1; s1 = "server = ESYS; uid = sa; pwd = smart; database = wp"; conn = new SqlConnection(s1); conn.Open(); string 1].Text + "','" + DataGrid2.SelectedItem.Cells[2].Text + "','" + DataGrid2.SelectedItem.Cells[3].Text + "','" + DataGrid2.SelectedItem.Cells[4].Text + "','" + DataGrid2. { TextBox1.Text = DataGrid2.SelectedItem.Cells[1].Text; TextBox2.Text = DataGrid2.SelectedItem.Cells[2].Text; } protected void LinkButton1_Click(object sender, EventArgs e) {} </script>
3.11 LIST OF VIEWERS;<%@ Page Language="C#" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <script runat="server"> protected void Button1_Click(object sender, EventArgs e) {} protected void Page_Load(object sender, EventArgs e) {} ; <span style="font-size: 24pt; color: #0000cc"><span style="text-decoration: underline; color: #ffffff;">
3.12 STATUS OF PROJECT:<%@ Page Language="C#" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <script runat="server"> protected void Page_Load(object sender, EventArgs e) {} protected void Button1_Click(object sender, EventArgs e) {} </script> <html xmlns="http://www.w3.org/1999/xhtml" > <head runat=" le="width: 973px; height: 114px" /><br /><br /> <span style="font-size: 16pt;color: #ffffff; text-decoration: underline">1.) Requirement Phase </span> <span style="color: # height: 301px"> <asp:DetailsView ID="DetailsView1" runat="server" AllowPaging="True" HorizontalAlign="Center" /> <Fields<asp:BoundField DataField="Objective" HeaderText="Objective" SortExpression="Objective" />
15
<asp:BoundField DataField="Resources" HeaderText="Resources" SortExpression="Resources" /><asp:BoundField DataField="Risk_Factor" HeaderText="Risk_Factor" SortExpression="Risk_Factor" /><asp:BoundField DataField="Percentage_Risk_Resolved" <asp:BoundField DataField="Percentage_Risk_Resolved" HeaderText="Percentage_Risk_Resolved"SortExpression="Percentage_Risk_Resolve d" /><asp:BoundField DataField="Percentage_Development" HeaderText="Percentage_Development" <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:wpConnectionString %>" SelectCommand="SELECT * FROM [status_designing]"></asp:SqlDataSource> <span style="font-size: 16pt; color: #ffcc99"> Number of Iterations</span> </td> </tr><tr><td style="width: 398px; height: 360px"> & ; <span style="font-size: 16pt; color: #ffcc99">Number of Iterations</span></td> <td style="width: 409px; height: 360px"> <spanstyle="font-size: 16pt; color: #ffffff; textdecoration: underline"> 4.) Testing Phase</span><asp:DetailsView ID="DetailsView4" runat="server" AllowPaging="True" AutoGenerateRows="False" CellPadding="4" DataSourceID="SqlDataSource4" ForeColor="#333333" GridLines="None" Height="218px" Width="509px <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" /><CommandRowStyle BackColor="#E2DED6" Font-Bold="True" /> <RowStyle BackColor="#F7F6F3" ForeColor="#333333" /> < ; <span style="font-size: 16pt; color: #ffcc99">Number of Iterations</span></td></tr></table> <br /> <br /> </div> </form> </body> </html>
3.13.CREATE NEW TEAM (TEAM LEADER SECTION):<%@ Page Language="C#" %> <%@ Import Namespace = "System.Data.SqlClient" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http Button1.Text = "Inserted into the Database"; //enteries get delete from coder table Sq string s3; s3 = "delete from coder where Coder_id = '" + GridView1.SelectedRow.Cells[1].Text + "' "; comm = new SqlCommand(s3, conn); comm.ExecuteNonQuery(); (); (); string s6; //
16
s6 = "insert into assigned_designer values('" + GridView2.SelectedRow.Cells[1].Text + "','" + GridView2.SelectedRow.Cells[2].Text + "','" + GridView2 (s7, conn); comm.ExecuteNonQuery(); string s8; s8 = "insert into assigned_tester values('" + GridView3.SelectedRow.Cells[1].Text + "','" + GridView3.SelectedRow.Cells[2].Text + "','" + eaderSe.aspx"); } </script>
3.16 DESIGNER UPDATE:<%@ Page Language="C#" %> <%@ Import Namespace = "System.Data.SqlClient" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <script runat="server"> protected void Button1_Click(object sender, EventArgs e) {
17
SqlConnection conn; SqlCommand comm; string s1; s1 = "server = ESYS; uid = sa; pwd = smart; database = wp"; </script>
<%@ Page Language="C#" %> <%@ Import Namespace = "System.Data.SqlClient" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> _Click(object sender, EventArgs e) { ; s2 = "insert into tester values ('" + TextBox1.Text + "','" + TextBox2.Text + "','" + TextBox3.Text + " ')"; comm = new SqlCommand(s2, conn); comm.ExecuteNonQuery(); conn.Close(); Button3.Text = "Inserted in the Database"; } </script>
3.19 SHIFT DESIGNER:<%@ Page Language="C#" %> <%@ Import Namespace = "System.Data.SqlClient" %>
18
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <script runat="server"> protected void Button1_Click(object sender, EventArgs e) { SqlConnection conn; SqlCommand comm; string s1; s1 = "server = ESYS; uid = sa; pwd = smart; database = wp"; conn = new SqlConnection(s1); .Cells[1].Text + " ' "; comm = new SqlCommand(s5, conn); comm.ExecuteNonQuery(); conn.Close(); Button1.Text = "Updated the Database"; } e) protected void GridView2_SelectedIndexChanged(object sender, EventArgs { TextBox1.Text = GridView2.SelectedRow.Cells[1].Text; TextBox2.Text = GridView2.SelectedRow.Cells[2].Text;
} </script>
<%@ Page Language="C#" %> <%@ Import Namespace = "System.Data.SqlClient" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <script runat ; uid = sa; pwd = smart; database = wp"; conn = new SqlConnection(s1); conn.Open(); string s3; s3 = "update team_created set Tester_id = '" + TextBox1.Text + "',Tester_name = '" + TextBox2.Text + "' "; comm = new SqlCommand(s3, conn); comm.ExecuteNonQuery(); TextBox1.Text = GridView2.SelectedRow.Cells[1].Text; TextBox2.Text = GridView2.SelectedRow.Cells[2].Text; } </script>
19
protected void Button2_Click(object sender, EventArgs e) { Server.Transfer("StatusDesigning.aspx"); } protected void Button3_Click(object sender, EventArgs e) { Server.Transfer("StatusCoding.aspx"); } protected void
<%@ Page Language="C#" %> <%@ Import Namespace = "System.Data.SqlClient" %> } </script>
3.23 DESIGNING STATUS:<%@ Page Language="C#" %> <%@ Import Namespace = "System.Data.SqlClient" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <script runat="server"> protected void Page_Load(object sender, EventArgs e) { } protected void Button1_Click(object sender, EventArgs e) { SqlConnection conn; SqlCommand comm; string s1; (s2, conn); comm.ExecuteNnQuery(); conn.Close(); Button1.Text = "Status get recorded"; } </script>
3.24 CODING STATUS:<%@ Page Language="C#" %> <%@ Import Namespace = "System.Data.SqlClient" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <script runat="server"> protected void Page_Load(object sender, EventArgs e) {
20
} protected void Button1_Click(object sender, EventArgs e) { SqlConnection conn; atus get recorded"; } </script>
3.25 TESTING STATUS:<%@ Page Language="C#" %> <%@ Import Namespace = "System.Data.SqlClient" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> < _testing values ('" + TextBox1.Text + "','" + TextBox2.Text + "','" + TextBox3.Text + " ','" + TextBox4.Text + "','" + TextBox5.Text + "','" + TextBox6.Text + "')"; comm = new SqlCommand(s2, conn); comm.ExecuteNonQuery(); conn.Close(); Button1.Text = "Status get recorded"; } </script>
21
4.3 Assigning new project to the available team leaders in the company according to user specified platform.
Using designing tools :- Calender, Datagrid etc Table for assigning new project
4.4. Assigned Project:Displays the list of Projects undergoing within company along with the Team leader details, Project name, Start and due date. And retrieving the team details of selected team leader from the data grid using Data Grid and Details View
4.5 Inserting New Team leader details in the database Table of ASSIGNED TEAM LEADER:4.6 Doing updation and deletion of selected team leader in the database. 4.7 Updated values for Team Leader (Mr Manik Mehra) 4.8 Shifting the selected Team Leader from the list in case of leaves.
Selecting the TL for replacement from the below list.
4.9 List of viewers who has visited our company site online. 4.10 Manager can view the status of project which has been entered by the team leader. 4.11 LOGIN form for Team leader 4.12 Team Leader now creating the new team for the Project assigned to him by Manager. Table of TEAM CREATED:4.13 Updating and Deleting Team Members
22
4.14 Inserting new tester to database Table of Tester:4.15 Making changes in the fields of Rony Kapoor i.e updation 4.16 Deleting the Mr. Manik record from the database 4.17 Updating and Deleting a Tester 4.18Shifting of Team Members 4.19 Shifting of Coder
5. TESTING
5.1 Brief Description of Testing
In computer programming, unit testing is a software design and development method where the programmer gains confidence that individual units of source code are fit for use. A unit is the smallest testable part of an application. In procedural programming a unit may be an individual program, function, procedure, etc., while in object-oriented programming, the smallest unit is a method, which may belong to a base/super class, abstract class or derived/child class.. Ideally, each test case is independent from the others: substitutes like method stubs, mock objects, fakes and test harnesses can be used to assist testing a module in isolation. Unit tests
23
are typically written and run by software developers to ensure that code meets its requirements and behaves as intended. Its implementation can vary from being very manual (pencil and paper) to being formalized as part of build automation.
6. CONCLUSION
With the Work planner we: Can easily share the project Plan amongst team members. Team members can actually login and update the status of their respective tasks in real time and hence can follow the project plan strictly.
24
Project manager can restrict the users to access certain views of project plan hence maintaining the confidentiality Manager can closely watch the progress of the plan and can monitor the health of the project depending on the current status of the plan Manual labour is reduced. Lots of time is saved.
25