Professional Documents
Culture Documents
A project Report on
Synopsis
Industrial Man Power Resource Organization Project proposal Bachelor of Computer Application (B.C.A)
Of IGNOU UNVERSITY
Submitted By
Sr. No. 1 2 3 4 5 6 7 8 9 10 11 12 13
Topic Name INTRODUCTION OBJECTIVE IMPRO SYSTEM benefits IMPRO SYSTEM modules software and hardware reuquirments ABOUT LANGUAGE AND DATAABSE Data flow Diagram flow chart E-R Diagram Process Logic flow of Modules Data Dictionary Scope and Limatation Testing Type
Page No. 5 5 6 7 12 13 14 17 18 19 23 28 29
1.Introduction
towards the human capital. Now Hierarchical Organization is part of every organization, and has its own identity and importance. In this scenario, the bigger organizations need to put lot of effort in the management of human Resources, as they are underlying capital asset to the organization. In doing so, along with times, the Organization Information changed from its
basic operations to more strategic approach. With emerging a new term of corporates things are needed and getting more practical day by day and instant accesses is needed to all to avoid time consumption factor behind a single task. Industrial manpower resource organization (IMPRO) provides a centralized view of Employee module where by sitting at remote location of the one can see a total hierarchy with every single detail of employee working within the company from top to bottom. These help the management to have one centralized database so that they do not need many management software.to monitor the hierarchy of the company this software will surely automate and create a helping hand to various department of the company especially to the board of directors to of the company monitor and have quick look to the current working status of employees from various branch
2.Objectives
Organizer) is to maintain the hierarchy of the employees within an organization. It complete enterprise and helps them in managing employees. The objective behind developing IMPRO (Industrial Manpower Resource provides the manger and administrative Department an overall hierarchical view of the Every Organization has many managers, who are responsible for all the activities in the organization. These managers manage different aspects of the organizational essential management issue is human resource organization management issues, such as manufacturing, production, Marketing, etc.one such
Finding ground level employee performance by the topmast manager. Maintenance of profile details of the employees, and retrievals as and when required. Overall & detailed view of the organization hierarchy, which is very much essential in making effective decisions. Judging the potentiality of the employees. Maintenance of the data when the organization has many branches spread over wide geographical area. Accessing one branch information from another branch. Future planning issues based on the current HR information. Employees success planning. Vacancy situations and their priority /effect on the organizations performance. Employee motivational & conflict resolving issues.
Description of modules
From an end-user perspective, the industrial man power resource organization Project consists of three functional elements employee Module, department Modules and a display module
Add/Modify Branches
Add/Modify Employee portfolio In this sub-module of employee portfolio admin edit the employee information such as employee work progress, change in personal details and so on.
can add, delete employee information from the database and at the same time he can
and at the same time he can remove HR from particular section of the Sub-
H-R Module -
managing the manpower of the company he can assign, Remove, and manipulate the department according to his Decision and the employee.
Add Employee In this sub-module Human Resource Manager can add employee
taken decisions. He can create employee registration
in the particular sub section of department or in the main department according to the
Assign Designation
Employee from particular Section or from particular Department .He can also modify the Designation by an another Employee
other basic information .He can see updated vacancy and he can do only associated work as
monotony in his work / duty. These will result in poor performance, sometimes leads to major errors in the field of operation. This can be overcome job rotation process. In this the employee will be moved to other department of interest, so that the employee will work with renovated vigor and vitality. In some cases, to fill up the emergency vacancies, job rotation process will be executed to avoid unforeseen delays. In any case along with the candidate / employee his credentials and other associates will be passed to the destination department.
weightage, section weightage and even the designation weightage. Each position in the organization will have certain importance in the functionality of the overall organization. The and as well as the position in the authority flow. weightage of the each position will be calculated by using the actual position in the organization
Live status section- Live status gives accurate information about which Employee Will work in which section his superior employees or his subordinates can be identified along with their corresponding departments so that the employee info can be managed easily. department as and when required this can be effectively managed. Their performance can be monitored and if they need can be deputed to other
User Registration -The system has a process of registration. Every User need to submit his complete details in the form of registration. Whenever a User registration completed he/she can log into the system. automatically he/she can get a user id and password. By using that user id and password
10
Reports -In this Module it allows to submit Various Reports from various
Departments, Section, employee and so on .Following are the various kinds of Reports. Vacancy Reports Employee Report Branch Report
Authentication -Authentication is nothing but providing security to the system. Here every must enter into the system throw login page. The login page will restrict the unauthorized users. A user must provide his credential like user Id and password for log
into the system. For that the system maintains data for all users. Whenever a user enters his user id and password, it checks in the database for user existence. If the user is exists he can be treated as a valid user .Otherwise the request will throw back.
11
. Software requirement
Front end - vb.net Back end - SQL server 2005 Tools - Microsoft visual studio 2008 O.S xp/windows 98 /windows 7 IE 6.0+ / Firefox 3.5+ /chrome. Enabled intranet administration with other facility
Hardware requirement
Processor Intel Pentium 4 or above Minimum 512 MB Of RAM At least 16 GB Hard disk space Cache 512 KB NIC (network interface card ) Video CRT 1024 x786 Bit Code Mode
12
Industrial Man Power Resource Organization 6 .ABOUT LANGUAGE AND DATAABSE VB.net
Visual Basic 6 is built on the Windows Server System to take major advantage of the OS and which comes with a host of different servers which allows for building, deploying, managing and maintaining Windows Based solutions. The Windows Server System is designed with performance as priority and it provides scalability, reliability.
Rapid Application Development (RAD) Support. Powerful Windows-based Applications Simplified Deployment Improved Coding
Powerful, Flexible, Simplified Data Access Direct Access to the OS Platform Object-Oriented Constructs COM Interoperability
13
14
15
16
17
9. ER-Diagrams of (IMPRO)
Job_Rotation Sections +Sect_ID +Sect_name +Section_Inch +Dept_number +Emp_ID +present_Designation +Deputed_to +Status +Remarks
Employees Department +Dept_No +Dept_name +Dept_head +Dept_location +Emp_ID +Emp_name +Dept_number +Designation _ID +Section_ID 1..* +Address +Phone +Email 1..* Vacancies +Vacancy_ID +Dept_No +Section_ID +Designation_ID +No_of_vacancies +Status +Vacancy_ID +Prirority Vacancy_Fill_Details +Vacancy_Id +Emp_ID 1..* +Fill_Date +In_Take_Details Designation_Layer +Designation_Id +Layer +Weightage
1..*
18
19
20
21
22
23
24
25
26
27
can enhance according to the needs of the company and changing competitive trend in upcoming future .the project have the ability of modification according to the need of the
IMPRO (industrial manpower resource organization) will help them to have one central database so the authority can access from any remote location branch
In the upcoming time to make the company more modernized in corporate fashion (employee can work rite from the home from associated system ) The system can be empowered with advance protocol for networks among the branches so that there could be more authentication and accesses could be secure and quick (for data security purpose )
Limitations Every software cannot be self-center red for any such its
case Industrial Manpower Resource Organization (IMPRO) as some of its limitation which are mention as follows Prepared according to customers requirement so in these
employees cannot be automated according to customer Requirement we have to add that module. Though the IMPRO is an online (intranet) project do not
28
29
Project Report
30
Submitted to Indira Gandhi National Open University in partial fulfillment & Requirement for the Degree B.C.A
31
CERTIFICATE
This is to certify that Mr. Angad.J.Kamat bearing Enrollment no. 105321041 has successfully submitted partially completed project titled Industrial Manpower Resource Organization under Mrs. Sneha Motilalji Gupta guidance towards the partial fulfillment of semester VI of Bachelor of Computer Applications as prescribed by the IGNOU University under academic year of 2010-2013
32
ACKNOWLEDGMENT
I express thanks and gratitude and thanks to Almighty God, my parents and other family members and friends without whose unstained support; I could not have made this career in Software Industry I wish to place on my record my deep sense of gratitude to my project guide, Mrs. Sneha Motilalji Gupta for her constant motivation and valuable help through the project work. Express my gratitude to Mrs. Neeta Patil, Principal of Sahyog College of Management & Computer Studies for her valuable suggestions and advices throughout the B.C.A course. I also extend my thanks to other Faculties for their Cooperation during my Course. Finally I would like to thank my friends for their cooperation to complete this project.
33
Preface
Organization project (IT resources) done by Angad.J.Kamat for managing the manpower of the organization in synchronous and one directional way to obtain cent percent growth. the project. This report depicts the logic, coding, various diagrams, models used for preparing
This
report.
The intricate details of the software have been published in the project
present in the project are subjected to further enhancements as per the needs of the company.
Although the software has been prepared with utmost care, the Ingredients
34
Table of contents
Sr. No. 1 2 3 4 5 Topic Name Abstract Introduction Objective Project Profile Requirment Analysis
5.1 SRS (Software Requirment Specification) 5.2 Display Module 5.3 Benefits of Module 5.4 Functional Requirement 5.5 User-Interface 5.6 Technology Review
Page No. 37 39 41 43 45
6 7 8
Feasiblity Study Methodology Design Model 8.1 E-R Diagram 8.2 Data Flow Diagram (All Level) 8.3 Activity Diagram 8.4 Uml Diagram
65 69 75
35
36
Abstract
37
The software industry is one of the fastest growing business sectors worldwide
with new Opportunities emerging continually in hundreds of different fields.
applicant and set up the interview between their applicants and the client firm. recruited as employees of that firm for the duration of the project (job)
Software firms match the requirement of the firm with the skills of their
Interviews are then conducted and the candidates selected in the interview are
The system is implemented using 3-tier approach, with backend database (SQL
server database) a middle tier of Microsoft internet
create and implement the application. information service (IIS) and VB.NET as a front end. This report also discusses each of the underlying technologies used to
has many branches spread over wide geographical area . Future planning issues based on the current HR information
38
Introduction
39
In this scenario, the bigger organizations need to put lot of effort in the
management of human Resources, as they are underlying capital asset to the organization. In doing so, along with times, the Organization Information changed from its basic operations to more strategic approach. With emerging a and instant accesses is needed to all to avoid time consumption factor behind a single task.
new term of corporates things are needed and getting more practical day by day
board of directors to monitor and have quick look to the current working status
40
Objectives
41
Resource Organizer) is to maintain the hierarchy of the employees within an organization. It provides the manger and administrative department an overall hierarchical view of the complete enterprise and helps them in managing employees. By providing modules such as Job rotation, Recruitment Process System, Employee Portfolio, Employee potential and work progress, Hierarchical view of employee structure from ground level employee to board of director The combination of these modules into one application assures the perfect platform for re-engineering and aligning your HR processes along with the organizational goals
Development of a Vacancy situation and their priority /effect on the organizations performance for the HR group of a Company Development of an Employee motivational & conflict resolving issues / Overall & detailed view of the organization hierarchy, which is very much essential in making effective decisions.
42
Project Profile
43
1
- Angad Jayendra Kamat
Developed by
Enrollment NO - 105321041 Internal Guide - Snehal motilalji Gupta Front End Back End
- VB.NET -
44
Requirement Analysis
45
(IMPRO) software is to improve and automate the Administration of human resource of an organization. IMPRO will assist to improve future planning Of an organization by checking the potentiality and progress of its employee .which in returns will take the graph of company to a high extend .IMPRO is a project or software to improve the quality and quantity of the employee of a particular organization. This yields the growth of organization.
Scope
Industrial Manpower Resource Organization as a wide range of scope in the company .With the assistance of IMPRO human resource administration of an organization can be managed synchronously. With the help of contrasted points of IMPRO such as Job rotation Recruitment management Vacancy formulation. Employee portfolio. Hierarchy of employee (top to bottom) conflict resolution Employees potential & work progress.
46
Existing System
Existing Human resource management system is manual based The Man power Resource Organization falls short of controlling the used in synchronization system.
The decision for appraisal of assigning next project to the employee or to train him/her to enhance the skills. Employee potentiality is not recognized.
Draw Backs
There is no backup Facility.
The existing system requires more man power, as one or more Need of extra manual effort Not very much accurate
Employees are required for data maintenance and data entry work
47
Proposed system
The proposed system provides detail general information about the if associated.
It enhances the HR Administrator in adding, viewing and updating employees detail and generates various reports regarding employees skills, experience, potential and work progress. Suggestions posted by the employees are upheld for taking care of the necessary steps in forwarding companys obligation.
It provides recruitment, training, vacancy management portal which becomes handy for HR manger.
It gives an hierarchical view of employees working ,which becomes easy for monitoring
48
Finding ground level employee performance by the topmast manager. Maintenance of profile details of the employees, and retrievals as and when required. Overall & detailed view of the organization hierarchy, which is very much essential in making effective decisions. Judging the potentiality of the employees. Maintenance of the data when the organization has many branches spread over wide geographical area. Accessing one branch information from another branch. Future planning issues based on the current HR information. Employees success planning. Vacancy situations and their priority /effect on the organizations performance. Employee motivational & conflict resolving issues.
49
Description of modules
From an end-user perspective, the industrial man power resource organization Project consists of three functional elements employee Module, department Modules and a display module and job rotation
each employee is created with their corresponding department, designation and section
list enumeration
database so the details can be retrieved as and when required by taking the selective criteria from the HR manager..
Employee
profile details where HR manager can view Basic details , Technical Education , Experience , skills and other potentiality
50
department and sub department names, live status of employee, job rotation, and position
Department entry/department hierarchy section-In this module, Master Data for the departments can be created employees refer this data .Sub departments Can be identified .Some of The departments will have Different
Sections Each Department having Department heads ,so department employees should reported to the department head he may be subordinate to his superior Department he shall report to him. Some of department having sections so section employees shall be reported to the section in charge he shall report to the department head. From this Departments, sub-departments the Department hierarchy shall be created
Live status section- Live status gives accurate information about which Employee Will work in which section his superior employees or his subordinates can be identified along with their corresponding departments so that the
employee info can be managed easily. Their performance can be monitored and if they need can be deputed to other department as and when required this can be effectively managed.
database so the details can be retrieved as and when required by taking the overseas branches through inter-network schema.
selective criteria from the HR manager. This database can be also viewed from
51
Industrial Man Power Resource Organization Process details - Employee hierarchy can be created using Employers their
superiors information. Department Hierarchy can be created using the departmental interdependencies. Vacancy list in various departments can be identified and prioritized by calculating the position weight ages. Employees can be transferred from one department to another based on different criteria provided by the HR manager. Employee retention can be processed depending their performance. Ongoing process work of the employee and the department a general report can be viewed
Job Rotation-
experiences monotony in his work / duty. These will result in poor performance, sometimes leads to major errors in the field of operation. This can be overcome job rotation process. In this the employee will be moved to other department of interest, so that the employee will work with renovated vigor and vitality. In some cases, to fill up the emergency vacancies, job rotation process will be executed to avoid unforeseen delays. In any case along with the candidate / employee his credentials and other associates will be passed to the destination department.
Vacancies details and process details section-Vacancies raised in various departments can maintained by filling the new employees or by shifting/additional charges to existing employees.
52
Display module - In these module login, menus, contact us, instant search,
department tables, change of administrator, monitor section are shown
software is being shown such employee details. Department details ,employee work status ,vaccines in the company ,hierarchy of the company employee
Contact us module help the user to contact the software developer in case of any problems faced and online support is also provided through software development to solve their problems
Instant accesses- these module provides instant accesses of hierarchical and detail information from other branch of the company siting at remote location
53
specified... The main objective during the input designs is as given below...
To produce a cost-effective method of input. To achieve the highest possible level of accuracy.
Input Stages - input design should have a validation so that it as synchronize output. The main input stages can be listed as below
Data recording Data transcription Data conversion Data verification Data control Data transmission Data validation Data correction
54
Industrial Man Power Resource Organization Input Type According to input Design and Input Stage, input type is
Associated with the data input. Depend on the variable taken while designing the software input type may differ from numerical, alphabets, alphanumerical etc. It is necessary to determine the various types of inputs. Inputs can be categorized
External inputs, which are prime inputs for the system. Internal inputs, which are user communications with the system. Operational, which are computer departments communications to the system? Interactive, which are inputs entered during a dialogue. Mandatory Information ,which are essential to complete the process
Input Media- Input media should consider the following factors. Type of input Flexibility of format Speed Accuracy Verification methods Rejection rates Ease of correction Storage and handling requirements Security Easy to use Portability
55
Industrial Man Power Resource Organization Output Design Outputs from computer systems are required primarily to
communicate the results of processing to users. They are also used to provide a permanent copy of the results for later consultation Output Design is usual meant after the input design that varies from input variable taken while designing structure, the various types of outputs in general are: . External Outputs, whose destination is outside the organization,. . Internal Outputs whose destination is within organization and they are the Users main interface with the computer. . Operational outputs whose use is purely with in the computer department. . Interface outputs, which involve the user in communicating directly with interface.
be defined in terms of the following points Content of the output Format of the output Location of the output Frequency of the output Volume of the output Sequence of the output The suitability for the device to the particular application...
56
User Interface-
between the software now it base on whether the user interface is command base system or graphical user interface. If the user interface is graphic based then the user may get friendly with the software and becomes handy to use. But if the user interface is command line base then user may have some problem with handiness For managing with the software. So based on the user interface it has been broadly categorized between -
Forms oriented interface: The user calls up an image of the form to his/her screen and fills in the form. The forms oriented interface is chosen because it is the best choice.
Process
cannot
be
completed
without
user
57
b.COMPUTER-INITIATED
based on smart user interactive interface where by the process compilation is not totally dependent on user, it as a self-programmed setup .for example while completing query in oracle database self-correction program setup where it corrects the user query. Compared to user dependent interface computer-initiated interface is quite flexible in installation and friendly to non-programmer end user. Error detection, error stimulation, error correction, is some examples of smart computer initiated interface. Following computer initiated interfaces were used:
The menu system for the user is presented with a list of alternatives and the user chooses one of alternatives. Questions answer type dialog system where the computer asks question and takes action based on the basis of the users reply. It provides a MCQ type question format where user just want to tick the appropriate answer and the process is completed
58
Technology Review
Technology Overview -A major element in building a system is
the selection of compatible software since the software in the market is experiencing a geometric progression. Selected software should be acceptable to the firm and the user as well as it should be feasible for the system. Selection of software should be according to the market trend and user requirement so that while using the software userfriendless must exist. The system is developed in VB.NET 2008 (Microsoft Visual Studio) and SQL server 2005 for use on Intranet Environment
59
60
Industrial Man Power Resource Organization Visual Basic.Net (VB.Net) Is an object-oriented computer programming
the .NET Framework. Microsoft currently supplies two main editions of IDEs for developing in Visual Basic: Microsoft Visual Studio 2012, which is commercial software and Visual Basic Express Edition 2012, which is free of charge. The command-line compiler, VBC.EXE, is installed as part of the freeware .NET Framework SDK. Mono also includes a commandline VB.NET compiler
Features of VB.Net
Hosted Common Language Runtime with SQL server 2005 developers can create
database objects using familiar language such as Microsoft visual C# .Net and Microsoft Visual Basic .Net. Developers can also create two new objects user defined types and aggregates.
database allowing developers to build new classes of connected around web service and across any platform or device..
Native XML Support native XML data be stored, Queried and indexed in a SQL server
(MARS), ADO.NET in SQL server 2005 evolves access and multiplication to achieve greater scalability and flexibility.
ADO.Net Version 2.0- from new support for SQL types to multiple Active result Sets
Security Enhancements- the security model in SQL Server 2005 separate users from
objects, provides fine-grain access and enables greater control of data access. Additionally all system tables are implemented as views providing more control over database system objects.
61
database tier making SQL Server a hypertext protocol (HTTP) listener and providing a new type of data access capability for web services- centric applications..
framework streamlines development and debugging of data-driven applications. Developers can build database objects, such as stored procedures using any .Net language and can seamlessly debug across .Net and transact (TSQL) languages...
Visual Studio Integration tight integration with Microsoft visual studio and the .Net
Embedded Reports use client side reporting controls to embed real time reports into
for developing scalable database application .These enhancement include error handling, recursive query capabilities, relational operator PIVOT, APPLY, ROW_NUMBER and other row ranking functions and more.
Transact SQL Enhancements SQL server 2005 provides new language capabilities
Messaging infrastructure that provides reliable transactional delivery of critical messages between servers- with the scalable high performance that is expected with asynchronous Queuing
62
SQL 2005 (Structure Query Language) - Microsoft SQL server 2005 provides the
database developer the opportunity to locate programming code in native formats or create 2005, delivers the functionality of the powerful class library in combination with modern server driven complex systems. The .Net framework in combination with the SQL Server programming languages. Common Language Runtime (CLR) is used to code procedures, triggers and function within the chosen language in the .Net framework .Using object oriented constructs such as structured exception handling, name space, classes and array assist the programmer.
Feature My SQL 2005 Database Mirroring extend log shipping capabilities with the database mirroring
solution .you will be able to use database mirroring to enhance availability of your SQL server system by setting up automatic failover to a standby server.
Online restore - with SQL server 2005 database administration are able to perform
the availability of SQL server because only data being restored is unavailable.
a restore operation while an instance of SQL server is running .online restore Improves
modification (updates, deletes and inserts) to the underlying table or clustered index while a clustered index is being rebuilt you can use to make updates to make updates to
Fast recovery a new faster recovery option improves availability of SQL database.
Administration can reconnect to a recovering database transaction log has been rolled forward
63
SQL Server Management Studio SQL Server 2005 includes SQL Server
Management Studio a new integrated suite of management tools with the functionality to develop .deploy and Troubleshoot SQL Server database as well as enhancement to previous functionality
Data Partitioning data Partitioning is enhanced with native table and index
partitioning that enabled efficient manageability of large and indexes.
64
Feasibility Study
65
Analytical issues based on the user requirements and the detailed analysis of a new system, the new system must be designed .this is the phase of system designing .It is a most crucial phase in the development of a system. Normally the design proceeds in two stages.
the features of the new system are specified. The cost of implementing
66
Industrial Man Power Resource Organization Structure or Detailed design- in the detailed design stage, computer
oriented work begins in earnest. At this stage the design of the system becomes more structured. Structure design is a blue print of a computer
system solution to a given problem having the same components and interrelationship among the same components as the original problem. Input, output and processing specification are drawn up in details. In the design stage, the programming language and platform in which the new system will run are also decided
doctors and facility team members on their manual work performed. We work to be done. An important outcome of preliminary investigation is the As more insight is gained during problem
feasible. The objective in accessing feasibility is to determine whether the development project has a reasonable chance of success. There are six different categories of feasibility and they are-
67
Economic Feasibility No extra hardware and software cost because all the resources are available... are familiarized with required in introducing the system the
Users
68
METHODOLOGY
69
SDLC Methodology
This
document play a vital role in the development of life cycle (SDLC) as it
describes the complete requirement of the system. It means for use by developers and will be the basic during testing phase. Any changes made to the requirements in the future will have to engineering, information systems and software engineering, is a process of creating or altering information systems, and the models and that people use to develop these systems. In software engineering, the SDLC concept underpins many kinds of software development methodologies. These methodologies form the framework for planning and controlling the creation of an information system the software development process..... go through formal change approval process... In systems
Spiral model Defined by Barry Boehm in his 1988 article, A spiral Model
of Software Development and Enhancement. This model was not the first model to discuss iterative development, but it was the first model to explain why the iteration models. As originally envisioned, the iterations were typically 6 months to 2 years long. Each phase starts with a design goal and ends with a client reviewing the progress thus far.Analysis and engineering efforts are applied at each phase of the project, with an eye toward the end goal of the projectMain contrast points of spiral model are
Risk determines level of effort Risk determines degree of detail
Use anchor point milestones Focus on the system and its life cycle
70
71
Industrial Man Power Resource Organization The steps for Spiral Model can be generalized as follows:
The new system requirements are defined in as much details as external or internal users and other aspects of the existing system.
possible. This usually involves interviewing a number of users representing all the
A first prototype of the new system is constructed from the preliminary design. A second prototype is evolved by a fourfold procedure:
. At the customer option, the entire project can be aborted if the risk is deemed too great. Risk factors might involve development cost overruns, operating-cost miscalculation, or any other factor that could, in the customers judgment, result in ales -than-satisfactory final product. Evaluating the first prototype in terms of its strengths, weakness, and risks. Defining the requirements of the second prototype. Planning a designing the second prototype. Constructing and testing the second prototype.
was the previous prototype, and if necessary, another prototype is developed from it according to the fourfold procedure outlined above. The preceding steps are iterated until the customer is satisfied that the refined prototype represents the final product desired.
72
obtain feedback from the users early in the project. The client and the contractor can compare if the software made matches the software specification, according to which the software program is built.it also allows the software engineer some insight into accuracy of initial project estimates and weather the deadlines and milestones proposed can be successfully met. The degree of completeness and the techniques used in the spiral model have been in development Spiral model also avoid the great expense and difficulty of changing a finished software product. Following are some interactive benefits of spiral model
Spiral Life Cycle Model is one of the most flexible SDLC models in place. Development phases can be determined by the project manager, according to the complexity of the project. Project monitoring is very easy and effective. Each phase, as well as each loop, requires a review from concerned people. This makes the model more transparent. Risk management is one of the in-built features of the model, which makes it extra attractive compared to other models. Changes can be introduced later in the life cycle as well. And coping with these changes isnt a very big headache for the project manager. Project estimates in terms of schedule, cost etc. become more and more realistic as the project moves forward and loops in spiral get completed.
It is suitable for high risk projects, where business needs maybe unstable.
73
(subroutines) to perform. In OOP, each object is capable of receiving messages, processing data, and sending messages to other objects. Each object can be viewed as an independent "machine" with a distinct role or responsibility. Actions (or "methods") on these objects are closely associated with the object. For example, OOP data structures tend to "carry their own operators around with them" (or at least "inherit" them from a similar object or class)except when they must be serialized. Simple, non-OOP programs may be one "long" list of commands. More complex programs often group smaller sections of these statements into functions or subroutineseach of which might perform a particular task. With designs of this sort, it is common for some of the program's data to be 'global', i.e., accessible from any part of the program. As programs grow in size, allowing any function to modify any piece of data means that bugs can have wide-reaching effects. In contrast, the object-oriented approach encourages the programmer to place data where it is not directly accessible by the rest of the program. Instead, the data is accessed by calling specially written functions, commonly called methods, which are bundled in with the data. These act as the intermediaries for retrieving or modifying the data they control. The programming construct that combines data with a set of methods for accessing and managing those data is called an object. The practice of using subroutines to examine or modify certain kinds of data was also used in non-OOP modular programming, well before the widespread use of object-oriented programming. An object-oriented program usually contains different types of objects, each corresponding to a particular kind of complex data to manage, or perhaps to a realworld object or concept such as a bank account, a hockey player, or a bulldozer. A program might contain multiple copies of each type of object, one for each of the realworld objects the program deals with. For instance, there could be one account.
74
Design Model
75
E-R Diagram
Job_Rotation Sections +Sect_ID +Sect_name +Section_Inch +Dept_number +Emp_ID +present_Designation +Deputed_to +Status +Remarks
Employees Department +Dept_No +Dept_name +Dept_head +Dept_location +Emp_ID +Emp_name +Dept_number +Designation _ID +Section_ID 1..* +Address +Phone +Email 1..* Vacancies +Vacancy_ID +Dept_No +Section_ID +Designation_ID +No_of_vacancies +Status +Vacancy_ID +Prirority Vacancy_Fill_Details +Vacancy_Id +Emp_ID 1..* +Fill_Date +In_Take_Details Designation_Layer +Designation_Id +Layer +Weightage
1..*
76
Context Diagram
77
Login Flow
78
Admin Flow
79
Admin Flow
80
Admin Flow
81
HR -Flow
82
HR - Flow
83
HR - Flow
84
Employee Flow
85
Employee Flow
86
Activity Diagram
Registration Activity
87
Login Activity
88
Admin Activity
89
H-R Activity
90
Employee Activity
91
UML-Diagrams
SYSTEM.WINDOWS.FORMS
SYSTEM.WINDOWS.FORMS.CONTROLS
BUTTON Click Text Visible Name Causes validation Sender as system. Object E as system .even tags
TEXTBOX Click Text Name Visible Text changed Sender as system. Object E as system .event rags
DATAGRID Click Navigate Data member Data source Data bind Sender as system. Object E as system. Windows. Forms. Navigate
Control UML
92
SYSTEM.DATA
SYSTEM.DATA.OLEDB Oracle connection Oracle adapter Dataset Oracle delete command Oracle update command Oracle insert command Oracle select command State change Row updated Disposed Fill Sender as object E as system. Data. State Change Event Arcs
SYSTEM.DATA..SQLC LIENT SQL connection SQL data adapter Dataset SQL delete command SQL update command SQL insert command SQL select command State change Row updated Disposed fill Sender as object E as system. data. State change event arcs
Data UML
93
SYSTEM
SYSTEM.WINDOWS.FORMS.FORM
FORM1 Dispose (protected, overloads, overwrites) Initialize Component (private) New (public) Load (private)
Form UML
94
Design Document
95
Master Table
96
97
Data Dictionary
98
Industrial Man Power Resource Organization Name Registration Description Stores Details of Registration information
99
100
101
102
103
104
Modularization Details
Architecture Design -To implement a web application client-server
architecture server architectures are the twotier and the three tier architecture the choice of architecture affects theDevelopmenttime and the fut ure flexibility and maintenance of theapplication. While selecting the architecture most suitable for an application, many factorsi n cl u d i n g t h e c om p l e x i t y of th e a p pl i ca ti o n , th e n u m b er of u s er s a n d th ei r g eog r a p h i c a l dispersion are considered. This system is designed based on a traditional three-tier architecture used by many web layer, and the data layer. The three-tier architecture is shown in Figure applications. Architecture includes a presentation layer, business rules/ logic is required. The most popularclient-
105
Scalability
the three-tier architecture a popular choice over the two-tier architecture for Inter-applications.
access layer (DAL) in computer software, is a layer of provides simplified access to data stored in persistent
storage of
in Microsoft ASP.NET environments. For example; the DAL might return a reference to an object (in terms of object-oriented
program which
instead of a row of fields from a database table. This allows the client (or user) modules to be created with a higher level of abstraction. This kind of model could be implemented by creating a class of data access methods that directly reference a corresponding set of database stored procedures. Another implementation could potentially retrieve or write records to or world from a file system. The DAL hides this complexity of the underlying data store from the external
programming)
106
Presentation Layer presentation layer is also called as client tier layer is responsible for the presentation of data, receiving user events and entirely through the layer... controlling the user interface. The user interaction with the system is
Database Design
Design is the first step in the development phase of any engineering product or system. It may define as the process of applying various techniques and
principles for the purpose of defining a device, a process, or system insufficient through which requirements are translated into a Blue Print for construction of directly translated to specific data, functional and behavioral requirements
detail to permit its physical realization. Software design is an interactive process software. The design is represented at high level of abstraction a level that can be
Design Principles
process
Basic design principles that enable the software engineer to navigate the design
The design process should not suffer from
The design should be traceable to the analysis The design should not reinvent the wheel integrity
107
Normalization
is used to handle the problems that can arise due to data redundancy i.e. problems that can arise due to insertion, updating, deletion anomalies. It is a process of converting a relation to a standard form. The process
represent of data is the database, maintain data integrity as well as handling the Decomposing is the process of splitting relations into multiple relations to this we use normal forms for structuring relation.
eliminate anomalies and maintains anomalies and maintains data integrity. To do A basic objective of the first normal form defined by Cod in 1970 was to
permit data to be queried and manipulated using a "universal data sub-language" grounded in first-order logic. (SQL is an example of such a data sub-language, albeit one that Cod regarded as seriously flawed. Following are the anomalies used in normalization
Insertion anomaly: Inability to add data to the database due to absence of other data. Deletion anomaly: Unintended loss of data due to deletion of other data. Update anomaly: Data inconsistency resulting from data redundancy and partial update.
108
First normal form (1NF) - A relation is said to be in first normal form if the
values in the relation are atomic for every attribute in the relation. By this we mean simply that no attribute value can be set of values, or as it is
sometimes expressed, a repeating group. Having a unique key does not resolve
the requirements of 1NF. According to the rules, there can be no multiple entries into a single field. For example, in a data table of customer information, a single field could be allowed to store multiple entries, such as where a customer has multiple telephone numbers. This is a violation of the 1NF rules. This particular problem in our example can be resolved by creating a customer ID index in the main table and then adding a separate table that has a column for the telephone numbers and another column for the customer ID.
Second Normal Form (2NF) -Second normal form (2NF) is the second step in
normalizing a database. 2NF builds on the first normal form (1NF).Normalization is the process of organizing data in a database so that it meets two basic requirements: There is no redundancy of data (all data is stored in only one place).Data dependencies are logical (all related data items are stored together).A 1NF table is in 2NF form if and only if all of its non-prime attributes are functionally dependent on the whole of every candidate key. A relation is said to be
in second Normal form is it is in first normal form and it should satisfy any one of the following rules.
Primary key is not a composite primary key. No non-key attributes are present. Every non-key Attribute is fully primary key. functionally dependent on full set of
109
Third Normal Form (3NF) third normal form (3NF) is the third step in
normalizing a database and it builds on the first and second normal forms, 1NF and 2NF.3NF states that all column reference in referenced data that are not dependent on the primary key should be removed. Another way of putting this is that only foreign key columns should be used to reference another table, and no other columns from the parent table should exist in the referenced tableTransitive Dependency: If two nonkeys depend on each other as well as on the primary key then they are said to be transitively dependent. The above normalization principles were applied to decompose the data in multiple tables hereby making the data to be maintained in a consistent state. Following are the advantages of transitive Dependency
Are mainly twofold. First, the amount of data duplication is reduced and therefore your database becomes smaller. When duplicated data changes, there's a big risk of updating only some of the data, especially if it's spread out in a number of different places in the database If address and zip code data were stored in three or four different tables, then any changes in zip codes would need to ripple out to every record in those three or four tables.
110
111
Form -Login
112
113
114
115
116
Private Sub Txtuname_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles Txtuname.KeyPress ' Dim s As String ' Dim res As String ' s = e.KeyChar ' res = cn.allownum(s) 'If res = False Then ' e.Handled = True ' Else ' e.Handled = False ' End If End Sub
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click End End Sub
End Class
117
Form1 Design
118
119
120
121
122
123
124
j.MdiParent = Me j.Show() End Sub Private Sub MenuItem10_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuItem10.Click Dim fo As New FrmOrg() fo.MdiParent = Me fo.Show() End Sub Private Sub MenuItem19_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuItem19.Click Dim re As New RptEmp() re.MdiParent = Me re.Show() End Sub Private Sub MenuItem20_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuItem20.Click Dim u As New RptUser() u.MdiParent = Me u.Show() End Sub Private Sub MenuItem21_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuItem21.Click Dim d As New RptDept() d.MdiParent = Me d.Show() End Sub Private Sub MenuItem22_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuItem22.Click Dim s As New RptSect() s.MdiParent = Me s.Show() End Sub Private Sub MenuItem24_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuItem24.Click Dim dd As New FrmInterDep() dd.MdiParent = Me dd.Show() End Sub
125
Private Sub MenuItem23_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuItem23.Click Dim r As New RptInvEmp() r.MdiParent = Me r.Show() End Sub Private Sub MenuItem26_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuItem26.Click c.Invoke() End Sub Private Sub MenuItem27_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuItem27.Click End End Sub End Class
126
127
Imports System.Data.OleDb Public Class FrmDept Inherits System.Windows.Forms.Form Dim selcmd As OleDbCommand Dim da As OleDbDataAdapter Dim ds As New DataSet() Dim inscmd As New OleDbCommand() Dim delcmd As New OleDbCommand() Dim dr As OleDbDataReader Dim s As String #Region " Windows Form Designer generated code " Public Sub New() MyBase.New() 'This call is required by the Windows Form Designer. InitializeComponent() 'Add any initialization after the InitializeComponent() call End Sub 'Form overrides dispose to clean up the component list. Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean) If disposing Then If Not (components Is Nothing) Then components.Dispose() End If End If MyBase.Dispose(disposing) End Sub 'Required by the Windows Form Designer Private components As System.ComponentModel.IContainer 'NOTE: The following procedure is required by the Windows Form Designer 'It can be modified using the Windows Form Designer. 'Do not modify it using the code editor. Friend WithEvents Label1 As System.Windows.Forms.Label Friend WithEvents Label2 As System.Windows.Forms.Label Friend WithEvents Label3 As System.Windows.Forms.Label Friend WithEvents Label4 As System.Windows.Forms.Label Friend WithEvents Label5 As System.Windows.Forms.Label Friend WithEvents Button1 As System.Windows.Forms.Button Friend WithEvents Button2 As System.Windows.Forms.Button Friend WithEvents Button3 As System.Windows.Forms.Button Friend WithEvents Button4 As System.Windows.Forms.Button Friend WithEvents Button5 As System.Windows.Forms.Button Friend WithEvents Button6 As System.Windows.Forms.Button
128
129
130
131
132
133
134
135
136
137
Imports System.Data.OleDb Public Class FrmEmployee Inherits System.Windows.Forms.Form #Region " Windows Form Designer generated code " Public Sub New() MyBase.New() 'This call is required by the Windows Form Designer. InitializeComponent() 'Add any initialization after the InitializeComponent() call End Sub 'Form overrides dispose to clean up the component list. Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean) If disposing Then If Not (components Is Nothing) Then components.Dispose() End If End If MyBase.Dispose(disposing) End Sub 'Required by the Windows Form Designer Private components As System.ComponentModel.IContainer 'NOTE: The following procedure is required by the Windows Form Designer 'It can be modified using the Windows Form Designer. 'Do not modify it using the code editor. Friend WithEvents Button4 As System.Windows.Forms.Button Friend WithEvents Button3 As System.Windows.Forms.Button Friend WithEvents Button2 As System.Windows.Forms.Button Friend WithEvents Button1 As System.Windows.Forms.Button Friend WithEvents Label5 As System.Windows.Forms.Label Friend WithEvents Label4 As System.Windows.Forms.Label Friend WithEvents Label3 As System.Windows.Forms.Label Friend WithEvents Label2 As System.Windows.Forms.Label Friend WithEvents Label1 As System.Windows.Forms.Label Friend WithEvents Label6 As System.Windows.Forms.Label Friend WithEvents Label7 As System.Windows.Forms.Label Friend WithEvents Label8 As System.Windows.Forms.Label Friend WithEvents Label9 As System.Windows.Forms.Label Friend WithEvents Button8 As System.Windows.Forms.Button Friend WithEvents Button7 As System.Windows.Forms.Button Friend WithEvents Button6 As System.Windows.Forms.Button Friend WithEvents Button5 As System.Windows.Forms.Button Friend WithEvents Label10 As System.Windows.Forms.Label Friend WithEvents txtDesig As System.Windows.Forms.TextBox
138
139
140
141
142
143
144
145
146
147
148
Private Sub Button6_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button6.Click If rno > 0 Then rno -= 1 Call fillfields(rno) Else MsgBox("First Record") End If End Sub Private Sub Button7_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button7.Click If rno < ds.Tables(0).Rows.Count - 1 Then rno += 1 Call fillfields(rno) Else MsgBox("Last Record") End If End Sub Public Sub clw() Me.Hide() End Sub End Class
149
150
Imports System.Data.OleDb Public Class Frmsections Inherits System.Windows.Forms.Form #Region " Windows Form Designer generated code " Public Sub New() MyBase.New() 'This call is required by the Windows Form Designer. InitializeComponent() 'Add any initialization after the InitializeComponent() call End Sub 'Form overrides dispose to clean up the component list. Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean) If disposing Then If Not (components Is Nothing) Then components.Dispose() End If End If MyBase.Dispose(disposing) End Sub 'Required by the Windows Form Designer Private components As System.ComponentModel.IContainer 'NOTE: The following procedure is required by the Windows Form Designer 'It can be modified using the Windows Form Designer. 'Do not modify it using the code editor. Friend WithEvents Button8 As System.Windows.Forms.Button Friend WithEvents Button7 As System.Windows.Forms.Button Friend WithEvents Button6 As System.Windows.Forms.Button Friend WithEvents Button5 As System.Windows.Forms.Button Friend WithEvents Button4 As System.Windows.Forms.Button Friend WithEvents Button3 As System.Windows.Forms.Button Friend WithEvents Button2 As System.Windows.Forms.Button Friend WithEvents Button1 As System.Windows.Forms.Button Friend WithEvents Label5 As System.Windows.Forms.Label Friend WithEvents Label4 As System.Windows.Forms.Label Friend WithEvents Label3 As System.Windows.Forms.Label Friend WithEvents Label2 As System.Windows.Forms.Label Friend WithEvents Label1 As System.Windows.Forms.Label Friend WithEvents TxtSinc As System.Windows.Forms.TextBox Friend WithEvents TxtSname As System.Windows.Forms.TextBox Friend WithEvents TxtSno As System.Windows.Forms.TextBox Friend WithEvents CmbDno As System.Windows.Forms.ComboBox <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
151
152
153
154
155
156
157
158
159
160
Industrial Man Power Resource Organization Source code for Vaccancy Registration
Imports System.Data.OleDb Public Class FrmVacancyMast Inherits System.Windows.Forms.Form #Region " Windows Form Designer generated code " Public Sub New() MyBase.New() 'This call is required by the Windows Form Designer. InitializeComponent() 'Add any initialization after the InitializeComponent() call End Sub 'Form overrides dispose to clean up the component list. Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean) If disposing Then If Not (components Is Nothing) Then components.Dispose() End If End If MyBase.Dispose(disposing) End Sub 'Required by the Windows Form Designer Private components As System.ComponentModel.IContainer 'NOTE: The following procedure is required by the Windows Form Designer 'It can be modified using the Windows Form Designer. 'Do not modify it using the code editor. Friend WithEvents Label10 As System.Windows.Forms.Label Friend WithEvents Button8 As System.Windows.Forms.Button Friend WithEvents Button7 As System.Windows.Forms.Button Friend WithEvents Button6 As System.Windows.Forms.Button Friend WithEvents Button5 As System.Windows.Forms.Button Friend WithEvents Label6 As System.Windows.Forms.Label Friend WithEvents Label7 As System.Windows.Forms.Label Friend WithEvents Label8 As System.Windows.Forms.Label Friend WithEvents Button4 As System.Windows.Forms.Button Friend WithEvents Button3 As System.Windows.Forms.Button Friend WithEvents Button2 As System.Windows.Forms.Button Friend WithEvents Button1 As System.Windows.Forms.Button Friend WithEvents Label5 As System.Windows.Forms.Label Friend WithEvents Label4 As System.Windows.Forms.Label Friend WithEvents Label3 As System.Windows.Forms.Label
161
162
163
164
165
166
167
168
169
170
171
172
Industrial Man Power Resource Organization Source code for Designation Registration
Imports System.Data.OleDb Public Class FrmDesig Inherits System.Windows.Forms.Form #Region " Windows Form Designer generated code " Public Sub New() MyBase.New() 'This call is required by the Windows Form Designer. InitializeComponent() 'Add any initialization after the InitializeComponent() call End Sub 'Form overrides dispose to clean up the component list. Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean) If disposing Then If Not (components Is Nothing) Then components.Dispose() End If End If MyBase.Dispose(disposing) End Sub 'Required by the Windows Form Designer Private components As System.ComponentModel.IContainer 'NOTE: The following procedure is required by the Windows Form Designer 'It can be modified using the Windows Form Designer. 'Do not modify it using the code editor. Friend WithEvents Button8 As System.Windows.Forms.Button Friend WithEvents Button7 As System.Windows.Forms.Button Friend WithEvents Button6 As System.Windows.Forms.Button Friend WithEvents Button5 As System.Windows.Forms.Button Friend WithEvents Button4 As System.Windows.Forms.Button Friend WithEvents Button3 As System.Windows.Forms.Button Friend WithEvents Button2 As System.Windows.Forms.Button Friend WithEvents Button1 As System.Windows.Forms.Button Friend WithEvents Label3 As System.Windows.Forms.Label Friend WithEvents Label2 As System.Windows.Forms.Label Friend WithEvents Label1 As System.Windows.Forms.Label Friend WithEvents txtDesigname As System.Windows.Forms.TextBox Friend WithEvents txtDesigid As System.Windows.Forms.TextBox <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent() Dim resources As System.Resources.ResourceManager = New System.Resources.ResourceManager(GetType(FrmDesig)) Me.Button8 = New System.Windows.Forms.Button()
173
174
175
176
177
178
179
180
181
Industrial Man Power Resource Organization Source Code Vaccancy Filling From
Imports System.Data.OleDb Public Class FrmVacancyFill Inherits System.Windows.Forms.Form #Region " Windows Form Designer generated code " Public Sub New() MyBase.New() 'This call is required by the Windows Form Designer. InitializeComponent() 'Add any initialization after the InitializeComponent() call End Sub 'Form overrides dispose to clean up the component list. Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean) If disposing Then If Not (components Is Nothing) Then components.Dispose() End If End If MyBase.Dispose(disposing) End Sub 'Required by the Windows Form Designer Private components As System.ComponentModel.IContainer 'NOTE: The following procedure is required by the Windows Form Designer 'It can be modified using the Windows Form Designer. 'Do not modify it using the code editor. Friend WithEvents Button8 As System.Windows.Forms.Button Friend WithEvents Button7 As System.Windows.Forms.Button Friend WithEvents Button6 As System.Windows.Forms.Button Friend WithEvents Button5 As System.Windows.Forms.Button Friend WithEvents Button4 As System.Windows.Forms.Button Friend WithEvents Button3 As System.Windows.Forms.Button Friend WithEvents Button2 As System.Windows.Forms.Button Friend WithEvents Button1 As System.Windows.Forms.Button Friend WithEvents txtfdate As System.Windows.Forms.TextBox Friend WithEvents Label5 As System.Windows.Forms.Label Friend WithEvents Label4 As System.Windows.Forms.Label Friend WithEvents Label3 As System.Windows.Forms.Label Friend WithEvents Label2 As System.Windows.Forms.Label Friend WithEvents Label1 As System.Windows.Forms.Label Friend WithEvents cmbvid As System.Windows.Forms.ComboBox Friend WithEvents cmbempno As System.Windows.Forms.ComboBox
182
183
184
185
186
187
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click Dim str As String str = "insert into vacancyfilldetails values('" & cmbvid.Text & "','" & cmbempno.Text & "','" & CDate(txtfdate.Text) & "','" & txtdet.Text & "')" MsgBox(str) inscmd.Connection = conn inscmd = New OleDbCommand(str, conn) inscmd.ExecuteNonQuery() MsgBox("Successfully Saved") End Sub Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button4.Click Dim r As String r = InputBox("Enter The Vid Number ToDelete") 'Call efill(r) Dim s As String s = "delete from vacancyfilldetails where vacancyid='" & r & "'" delcmd.Connection = conn delcmd = New OleDbCommand(s, conn) Dim res As Integer
188
189
190
191
192
193
194
195
196
197
198
199
Private Sub cmbename_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles cmbename.SelectedIndexChanged 'Dim cm As OleDbCommand 'Dim s As String 's = "select designationid from employees where ename='" & Trim(cmbename.Text) & "'" 'cm = New OleDbCommand(s, conn) 'Dim d As OleDbDataReader 'd = cm.ExecuteReader 'd.Read() 'txtpdesig = d.Item(0) 'd.Close() End Sub Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click cn.ClearFields(Me) End Sub Private Sub Button5_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button5.Click rno = 0 fillfields(rno) End Sub Private Sub Button6_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button6.Click If rno > 0 Then rno -= 1 fillfields(rno) Else MsgBox("First Record") End If End Sub
200
201
202
Imports System.Data.OleDb Public Class FrmInterDep Inherits System.Windows.Forms.Form #Region " Windows Form Designer generated code " Public Sub New() MyBase.New() 'This call is required by the Windows Form Designer. InitializeComponent() 'Add any initialization after the InitializeComponent() call End Sub 'Form overrides dispose to clean up the component list. Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean) If disposing Then If Not (components Is Nothing) Then components.Dispose() End If End If MyBase.Dispose(disposing) End Sub 'Required by the Windows Form Designer Private components As System.ComponentModel.IContainer 'NOTE: The following procedure is required by the Windows Form Designer 'It can be modified using the Windows Form Designer. 'Do not modify it using the code editor. Friend WithEvents Button8 As System.Windows.Forms.Button Friend WithEvents Button7 As System.Windows.Forms.Button Friend WithEvents Button6 As System.Windows.Forms.Button Friend WithEvents Button5 As System.Windows.Forms.Button Friend WithEvents Button4 As System.Windows.Forms.Button Friend WithEvents Button3 As System.Windows.Forms.Button Friend WithEvents Button2 As System.Windows.Forms.Button Friend WithEvents Button1 As System.Windows.Forms.Button Friend WithEvents Label4 As System.Windows.Forms.Label Friend WithEvents Label3 As System.Windows.Forms.Label Friend WithEvents Label2 As System.Windows.Forms.Label Friend WithEvents Label1 As System.Windows.Forms.Label Friend WithEvents cmbdno As System.Windows.Forms.ComboBox Friend WithEvents txtldpt As System.Windows.Forms.TextBox Friend WithEvents txtudpt As System.Windows.Forms.TextBox <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent() Dim resources As System.Resources.ResourceManager = New System.Resources.ResourceManager(GetType(FrmInterDep)) Me.Button8 = New System.Windows.Forms.Button()
203
204
205
206
207
208
209
210
211
Imports System.Data.OleDb Public Class FrmOrg Inherits System.Windows.Forms.Form #Region " Windows Form Designer generated code " Public Sub New() MyBase.New() 'This call is required by the Windows Form Designer. InitializeComponent() 'Add any initialization after the InitializeComponent() call End Sub 'Form overrides dispose to clean up the component list. Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean) If disposing Then If Not (components Is Nothing) Then components.Dispose() End If End If MyBase.Dispose(disposing) End Sub 'Required by the Windows Form Designer Private components As System.ComponentModel.IContainer 'NOTE: The following procedure is required by the Windows Form Designer 'It can be modified using the Windows Form Designer. 'Do not modify it using the code editor. Friend WithEvents Label1 As System.Windows.Forms.Label Friend WithEvents Label2 As System.Windows.Forms.Label Friend WithEvents ListBox1 As System.Windows.Forms.ListBox Friend WithEvents ListBox2 As System.Windows.Forms.ListBox Friend WithEvents Label3 As System.Windows.Forms.Label Friend WithEvents Label4 As System.Windows.Forms.Label Friend WithEvents ListView1 As System.Windows.Forms.ListView <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent() Me.Label1 = New System.Windows.Forms.Label() Me.Label2 = New System.Windows.Forms.Label() Me.ListBox1 = New System.Windows.Forms.ListBox() Me.ListBox2 = New System.Windows.Forms.ListBox() Me.Label3 = New System.Windows.Forms.Label() Me.Label4 = New System.Windows.Forms.Label() Me.ListView1 = New System.Windows.Forms.ListView() Me.SuspendLayout() ' 'Label1 '
212
9.75!,
9.75!,
9.75!,
213
214
215
216
217
Industrial Man Power Resource Organization Source code for Design Structure
Imports System.Data.OleDb Public Class FrmDesigtructure Inherits System.Windows.Forms.Form #Region " Windows Form Designer generated code " Public Sub New() MyBase.New() 'This call is required by the Windows Form Designer. InitializeComponent() 'Add any initialization after the InitializeComponent() call End Sub 'Form overrides dispose to clean up the component list. Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean) If disposing Then If Not (components Is Nothing) Then components.Dispose() End If End If MyBase.Dispose(disposing) End Sub 'Required by the Windows Form Designer Private components As System.ComponentModel.IContainer 'NOTE: The following procedure is required by the Windows Form Designer 'It can be modified using the Windows Form Designer. 'Do not modify it using the code editor. Friend WithEvents TreeView1 As System.Windows.Forms.TreeView <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent() Me.TreeView1 = New System.Windows.Forms.TreeView() Me.SuspendLayout() ' 'TreeView1 ' Me.TreeView1.Dock = System.Windows.Forms.DockStyle.Fill Me.TreeView1.Location = New System.Drawing.Point(0, 0) Me.TreeView1.Name = "TreeView1" Me.TreeView1.Size = New System.Drawing.Size(1008, 499) Me.TreeView1.TabIndex = 0 ' 'FrmDesigtructure ' Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13) Me.ClientSize = New System.Drawing.Size(1008, 499) Me.Controls.Add(Me.TreeView1) Me.Name = "FrmDesigtructure"
218
219
220
Industrial Man Power Resource Organization Source code for Designation Registration
Imports System.Data.OleDb Public Class FrmPosDesigw Inherits System.Windows.Forms.Form #Region " Windows Form Designer generated code " Public Sub New() MyBase.New() 'This call is required by the Windows Form Designer. InitializeComponent() 'Add any initialization after the InitializeComponent() call End Sub 'Form overrides dispose to clean up the component list. Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean) If disposing Then If Not (components Is Nothing) Then components.Dispose() End If End If MyBase.Dispose(disposing) End Sub 'Required by the Windows Form Designer Private components As System.ComponentModel.IContainer 'NOTE: The following procedure is required by the Windows Form Designer 'It can be modified using the Windows Form Designer. 'Do not modify it using the code editor. Friend WithEvents Button8 As System.Windows.Forms.Button Friend WithEvents Button7 As System.Windows.Forms.Button Friend WithEvents Button6 As System.Windows.Forms.Button Friend WithEvents Button5 As System.Windows.Forms.Button Friend WithEvents Button4 As System.Windows.Forms.Button Friend WithEvents Button3 As System.Windows.Forms.Button Friend WithEvents Button2 As System.Windows.Forms.Button Friend WithEvents Button1 As System.Windows.Forms.Button Friend WithEvents Label4 As System.Windows.Forms.Label Friend WithEvents Label3 As System.Windows.Forms.Label Friend WithEvents Label2 As System.Windows.Forms.Label Friend WithEvents Label1 As System.Windows.Forms.Label Friend WithEvents txtLayer As System.Windows.Forms.TextBox Friend WithEvents txtwei As System.Windows.Forms.TextBox Friend WithEvents cmbdesig As System.Windows.Forms.ComboBox <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
221
222
223
224
225
Sub fillfields(ByVal rnum As Integer) cmbdesig.Text = ds.Tables(0).Rows(rnum)(0) txtLayer.Text = ds.Tables(0).Rows(rnum)(1) txtwei.Text = ds.Tables(0).Rows(rnum)(2)
226
227
228
229
Imports System.Data.OleDb Public Class FrmdeptDesigw Inherits System.Windows.Forms.Form #Region " Windows Form Designer generated code " Public Sub New() MyBase.New() 'This call is required by the Windows Form Designer. InitializeComponent() 'Add any initialization after the InitializeComponent() call End Sub 'Form overrides dispose to clean up the component list. Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean) If disposing Then If Not (components Is Nothing) Then components.Dispose() End If End If MyBase.Dispose(disposing) End Sub 'Required by the Windows Form Designer Private components As System.ComponentModel.IContainer 'NOTE: The following procedure is required by the Windows Form Designer 'It can be modified using the Windows Form Designer. 'Do not modify it using the code editor. Friend WithEvents txtwei As System.Windows.Forms.TextBox Friend WithEvents cmbdesig As System.Windows.Forms.ComboBox Friend WithEvents Button8 As System.Windows.Forms.Button Friend WithEvents Button7 As System.Windows.Forms.Button Friend WithEvents Button6 As System.Windows.Forms.Button Friend WithEvents Button5 As System.Windows.Forms.Button Friend WithEvents Button4 As System.Windows.Forms.Button Friend WithEvents Button3 As System.Windows.Forms.Button Friend WithEvents Button2 As System.Windows.Forms.Button Friend WithEvents Button1 As System.Windows.Forms.Button Friend WithEvents Label4 As System.Windows.Forms.Label Friend WithEvents Label3 As System.Windows.Forms.Label Friend WithEvents Label2 As System.Windows.Forms.Label Friend WithEvents Label1 As System.Windows.Forms.Label Friend WithEvents CmbDeptno As System.Windows.Forms.ComboBox
230
231
232
233
234
desigcmd = New OleDbCommand("select Deptno from departments", conn) Dim d1 As New OleDbDataAdapter(desigcmd) d1.Fill(ds, "departments") For i = 0 To ds.Tables("departments").Rows.Count - 1 CmbDeptno.Items.Add(ds.Tables("departments").Rows(i)(0)) Next rno = 0
235
Sub fillfields(ByVal rnum As Integer) cmbdesig.Text = ds.Tables(0).Rows(rnum)(0) CmbDeptno.Text = ds.Tables(0).Rows(rnum)(1) txtwei.Text = ds.Tables(0).Rows(rnum)(2) End Sub Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click Dim str As String str = "insert into designationweightage values('" & cmbdesig.Text & "'," & CmbDeptno.Text & ",'" & txtwei.Text & "')" MsgBox(str) inscmd.Connection = conn inscmd = New OleDbCommand(str, conn) inscmd.ExecuteNonQuery() MsgBox("successfully saved") End Sub Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button4.Click Dim r As String r = InputBox("Enter The DesignationId To Delete") 'Call efill(r) Dim s As String s = "delete from designationweightage where DESIGNATIONID='" & cmbdesig.Text & "' and deptno=" & CmbDeptno.Text delcmd.Connection = conn delcmd = New OleDbCommand(s, conn) Dim res As Integer res = delcmd.ExecuteNonQuery() If res = 1 Then MsgBox("Record deleted.....") Else MsgBox("sorry") End If End Sub Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click If Button3.Text = "&Edit" Then Button3.Text = "&Update" recno = InputBox("Enter DesignationId to Modify...") dno = InputBox("Enter Deptno to Modify...") Call efill(recno) Else Dim ucmd As OleDbCommand Dim ups As String ups = "update designationweightage set WEIGHTAGE='" & txtwei.Text & "'where DESIGNATIONID='" & recno & "' and deptno=" & dno MsgBox(ups) Try ucmd = New OleDbCommand(ups, conn) ucmd.ExecuteNonQuery()
236
237
Private Sub Button8_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button8.Click rno = ds.Tables("designationweightage").Rows.Count - 1 Call fillfields(rno) End Sub Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click cn.ClearFields(Me) End Sub Public Sub clw() Me.Hide() End Sub End Class
238
Imports System.Data.OleDb Module MainMod Public Delegate Sub cl() Public c As cl Public conn As New OleDbConnection Public Class connectdatabase Public Function connect() As OleDbConnection conn.ConnectionString = ("Provider=SQLOLEDB.1;User ID=sa;DATABASE=HOI;Data Source=SERVER")
'If conn.State = 1 Then conn.Close() conn.Open() Return conn MsgBox("connected") End Function Public Sub ClearFields(ByVal frm As Form) Dim cnt As Control For Each cnt In frm.Controls If TypeOf cnt Is TextBox Then cnt.Text = "" End If Next End Sub Public Function getid(ByVal reqfld As String, ByVal sendfld As String, ByVal tblname As String, ByVal supval As String) As String Dim cmd As OleDbCommand Dim s As String s = "select " & reqfld & " from " & tblname & " where " & sendfld & " = '" & Trim(supval) & "'" MsgBox(s) Dim f As OleDbDataReader cmd = New OleDbCommand(s, conn) f = cmd.ExecuteReader f.Read() getid = f.Item(0) f.Close() End Function
239
Public Function allownum(ByVal num As Integer) As String Dim b As Boolean If Asc(num) < 47 Or Asc(num) > 57 Then MsgBox("sorry") b = False Return b Else b = True Return b End If End Function End Class
End Module
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
Testing
Testing is the phase where the errors remaining from all the previous phase must be detected. Hence, testing is very critical role for quality assurance and for ensuring the reliability of software.Testing of designed software consists of providing the software with a set of test outputs and observing if the software behaves as expected. If thesoftware fails to behave as expected, then the conditions under which failure occurs when needed for debugging and correction. Presence of an error implies that a failure must have occurred, and the observation of a failure applies that a fault does not imply a failure must occur. We have tested our project in many ways for e.g., by storing information of employees branches and their departments etc., into the database and checking the information by retrieving thefrom the database..following test practiced were used
Unit Testing Each form was intensively tested to check for error and defects. the mistakes were rectified Integration Testing Each form was intensively combined to check for error and defects.the mistakes were rectified System testing- the whole system was tested to check for more errors and defects .the mistake were rectified.
261
Objectives of Testing
Testing is aprocess of executing a program with the intent of finding an error. A good test cause is one that has a probability of finding an undiscovered error A Sucessful test is one that uncovers errors A Good test should be neither too simple nor too complex
Principles of Testing
All tests should be traceable to consumer requirements. Test should be planned long before testing begins. Testing should begin in small and progress toward testing in large. Exhaustive testing is not possible. To be most effective, an independent third party should conduct testing.
I
262
Unit Testing
Unit testing focuses verification effort on smallest unit of software design. This is white box testing oriented in the INDUSTRIAL MANPOWER RESOURCE ORGANIZER project each and every module is tested in the following ways This module interfaces are tested to ensure the information properly flows into and putthe program unit under test. The local data structure is examined to ensure data storedemporarily maintains its integrity during all steps in an algorithm execution. Boundary conditions are tested to ensure that the module operations properly at boundaries establish to limit or restrict processing. All independent paths through The control structure are exercised to ensure that all statements in a
263
Integration Testing
Integration testing is a systematic technique for construction the program structure whileat the some time conducting tests to uncover errors associated with interfacing The objective isto take unit tested modules and build a program structure that has been dictated by design. Allthe modules are combined in advance. The entire program tested as a whole. Present developed software is tested using bottom integration begins construction andtesting with atomic modules. Lowlevel modules are combined into clusters and driver was written to coordinate test case input output. The cluster is tested. The drivers are removed and clusters are combined and moving upward in the program structure. TopDownIntegration testing is an incremental approach to construction of the softwarearchitecture. Modules are integrated by moving downward through the control hierarchy,beginning with the main control module. Modules subordinate to the main control BreadthFirstmanner module areincorporated into the structure in either a depthFirstor
264
System Testing
System testing is actually a series of different test whose primary purpose is to fullyexercise the computerbasedsystem. Steps taken during software design and the larger system Security testing verifies that protection mechanisms built into a system will, ifact, protect it from improper penetration. To quote Beizer: The systems security must, of course,be tested for invulnerability from frontal attackbutmust also be tested for invulnerability from flank or rear attack testing can greatly improve the probability of successful software integration in
Stress testing executes a system in a manner that demands resources in abnormal quantity, frequency, or volume
Performance tests are often coupled stress testing and usually require both hardware andsoftware instrumentation. That is, it is often necessary to measureresourceutilization in anexacting fashion. Externally instrumentation can monitorexecution intervals, log events has theyoccur, and sample machine states on a regular basis
Validating Testing
Software validation is achieved through a series of blackbox tests that demonstrate conformity with requirements. A test plan outlines the classes of tests to be conducted, and a test procedure defines specific with requirements In this validation testing we check each object for its validity like whether it is valid withthe value entered or not. test cases that will be used in an attempt to uncover errors in conformity
265
Testing Process
Organise Project
266
Test Case
Login form
Test Case ID
Test_001
Expected Output
Allows the
Actual Output
Admin is able to login into Website
Test Result
password and
Respective
PASS
Test _002
Enter
password and
application to
PASS
Test_003
Enter
password and
Respective
employee to
Employee is
PASS
Test_004
Enter
password and
Respective wrong
Allows the
267
Registration
Form
Test Case Steps and Test Input Enter username and 8 digit
Actual
Output User is successfully registred in form the mention Not a valid input
Test_002
Enter
password with Username and password Enters Test_003 User enter details (mandatory ) Test_004 Enter phone number in mail place of E-
alphanumeric
FAIL
successfully
PASS
FAIL
268
Description Employee
Test Case Steps Expected and Test Input the Enter Employee Ouput the Information
Test Result
Information
Should add to
inserted PASS
After clicking
Test_002
Number
Gets PASS
Test_003
View
Shortlised details
candidates
interview date applicant and time for should candidates about the shortlisted informed
Shortlisted
their
FAIL
interview schedule
269
Job Rotation
Test Case
Description
Actual Output
Test Result
Enter present Enter emp ID Designation ,Deputed status EmpID And Remark Designation mandatory
rotation PASS
Test_002
data in Error
the unsucessfully
in Job
rotation FAIL
270
Test_001
Dept_no
Dept_no
been
PASS
IMPRO
Test_002
Enter
incorrect
Dept Head
in output
in
matches
the
entering any blank click data in the fields & click on Add , Save
Blank Feilds
FAIL
Test_004
Recall
previous
the Press
registred by
on Previous
department
and recall the deleted from last registred the database and
is sucessfully
previous data
271
User Registration
Test
Case Test case Steps and Expected Test Input user Output Enter number in User
Actual
Output in Name is
Password,
ID, registar
gets Employee
Enter invalid data User is not Enter in the fields (such register as data Alphanumeric since invalid input and data feilds
valid FAILL in
information
Test_004
Delete
Exisitng User
registered
has User
with PASS
272
Test Case ID
Test
Description
case Test
Steps
Actual
Output Section
Test Results
Test_001
in Sub-Section as
Department
Dept_no,and Section
in database IMPRO
been been
Name
as
PASS
Incorrect in section
registration
FAIL
section_Incharge Test_003
in each other
donot match
incharge previous tab section edit button press been Register as been register Section as PASS
by editing
altered sucesfully
273
Department Dependency
Test
Description up_Dept
Actual Output
Enter Dept_no Enter number Dependency as Dependency lower_Dept in Dept field been created in created and then char IMPRO Dept enter Add in up & lower database sucesfully
Test_002
Enter
dept_no upper
enter incorrect and click on Department lower Dept Test_003 Enter Upper Lower and and Add button
is Department
FAIL
FAIL
enter upper
previous
Added data
274
Test Case ID
Test
Steps
Actual
Test Results
vacancy_id,employee_id number and information Fill date ,intake details intake details updated as character incorrect drop sucessfully Vacancy information
Vacanciy
PASS
Test_002
Updation failed
FAIL
,employee_id fill date numbers and not updated ,intake details Test_003 Enter section fields Enter down
except
correct intake
choose incorrect details choose from intake details failed from the choosen Test_004 drop box down donot match on Previous
Updation
since updation
Vacancy
FAIL
button
delete successfully
as updated
Vacancy
PASS
275
Test
Description Enter
case Test case Steps Expected and Test Input Enter layer id Output
Actual Output
hierarchy selected
from registered
Weightage Enter
as Of IMPRO
Test_002
Enter
Designation_ID, Designation_ID, Registration Layer incorrect and Layer incorrect and failed improper
Designation
FAIL
weightage
Enter Incorrect Enter data in Please weightage and choose correct Layer from
& the fields and valid layer in Registration drop data the field
down arrrow
Test_004
Delete
previous
the Press
Resgistered
previous Data
PASS
designation
IMPRO
database
276
System Testing
Test Results
Somothly without
interruption IMPRO
Test_002
smoothly faster
with
runs PASS
in
Test_003
Windows 8 server
Ram 2GB
smoothly
donot FAIL
Test_004
FAIL
277
Security Implementation
278
Implementation of Security
/change
,Assign
Manage profile /apply Very Limited Access register/Request vacancy /Get for
279
System-Implementation
280
281
Software requirement
Front end - vb.net Back end - SQL server 2005 Tools - Microsoft visual studio 2008 O.S xp/windows 98 /windows 7 IE 6.0+ / Firefox 3.5+ /chrome. Enabled intranet administration with other facility
Hardware requirement Processor Intel Pentium 4 or above Minimum 512 MB Of RAM At least 16 GB Hard disk space Cache 512 KB NIC (network interface card ) Video CRT 1024 x786 Bit Code Mode
282
283
Limitations Every software cannot be self centertred for any such its
case Industrial Manpower Resource Organzition (IMPRO) as some of its limitation which are mention as follows Prepared according to customers requirement so in these
employees cannot be automate according to customer Requirment we have to add that module.
Organization Organization
with jobfinder websites so to fill up the vacancy Employee to work from Remote location
can link there recuirtment site directly can add Remote Login module for
284
Conclusion
285
No user No Software
Every project work, doesnt matter software project or any other project, could not be result of sole effort; even though developer team consists one member. I think success of any project doesnt depend only on better software development skills but also ,zeal to listen and help the users .only user interaction at development at development phase can give you an idea to fulfill their requirement .Because software is of developer up to the development or installation phase ,but then after it is of users. I experienced that do make the software for users not for frame of being better programmer of software developer. Ultimately users appraise your efforts not you peer.
286
Initially the time was spent merely on getting familiar to the organizations work structure .this didnt took long as it was quite friendly and healthy environment
Our first phase was preliminary investigation in which we collected all the phase we made our minds clear about what we were going to develop Second phase was the Analysis phase in which we collected all the
requirement from our company .we also studied nonfunctional requirement and domain requirement that were not told by the company .we analyzed the requirement and made UML diagrams for our system
After that design came into place where we have fixed our database and decided the different modules that would work for our system
After completing analysis and design we started coding for application .we used Microsoft visual studio 2008 as a development tool with VB.NET and SQL server 2005 as a database management system.
After completing the coding phase we started testing our applications. Many of the interface.
Defects were found that were fixed through changes in coding or even design
287
Bibliography
Beginning VB.NET -Chris hart , john Clifton Andrew Tyrolese Microsoft Visual Studio 2008 & .Net 3.5 platform SQL complete Reference James .R .Gruff software Engineering -Prof .B.W khalkar
288
289