Divyansh Project
Divyansh Project
We would like this opportunity in expressing our deepest gratitude to all those persons who in one way or other helped us in making our endeavours a success. No words can reflect our thankfulness and respect towards these persons for their significant contribution in the completion of this project. Development of a system involves efforts from so many persons and same is the case of ours. This project is an output of joint efforts. We are truly indebted to our revered Director Sh. O. P. GERA, who has put in all the efforts to start the recognized computer education in the institute for the benefits of students and provide us a wonderful learning environment & required infrastructure. He is a painstaking person who wants overall development of students. We owe our sincere gratitude with folded hands to Sh. A. P. SINGH, He took personal interest in spite of his busy schedule to help us to complete this assignment and provided us the required, even more than required, information and guidance His valuable suggestions and moral support during the making of this project as well as in all related fields. We are very inspired by his hardworking and caring nature which is quite helpful while learning. He is indeed a very genuine guide. We also thank all the staff members of NextGen Compusoft PVT LTD., all our classmates and friends for their wholehearted assistance and cooperation which was extremely essential for the completion of this project. In the last but not the least, we thank the almighty. May he stand with all of us.
Page | 1
CONTENTS
1. Introduction
1.1 Objective of training 1.2 Profile of the Company 1.2.1 About the company 1.2.2 Quality policy
2. Basic Concepts
2.1 .Net 2.2 C# 2.3 MS-Access
Page | 2
INTRODUCTION
As the part of curriculum of Rajasthan Technical University, I have completed my training for 30 days during the time period from 13th June to 16th July. I am, thus, writing this report to present my learning and the knowledge gained during the training while working on the live project. I pursued my training at NextGen Compusoft PVT LTD., NextGen Compusoft is a Technical Education Centre that deals with many offshore and onshore clients. They work on various technologies like ASP.net, JAVA, Flash, PHP, etc. I opted for C#.net as my training technology. I used MS-Access as the
backend technologies. I worked on a project named Cyber Cafe Management the project was assigned to a group of 2 trainees. Cyber Cafe Management is very bulky project and only a few modules of it were assigned to us, we started our work from the phase of requirement analysis. I prepared the software requirement specification for the project modules assigned to us, then we were asked to prepare the data flow diagrams, the entity-relationship diagrams and the class diagrams. Our training curriculum was divided in brushing-up sessions (for 7 days) and project work (for 23 days). In brushing-up sessions we were taught about the basic concepts of .NET, C#, OOP, web applications v/s desktop applications, and connection strings. A detailed description of the project is discussed in section 4 of the report.
Page | 3
Page | 4
1.2
BASIC CONCEPTS
2.1 What is .NET?
.NET is set of common services which can be used from a number of languages and have the following specialties: These services are executed in the form of intermediate code that is independent of the underlying architecture. They operate in the runtime (Common Language Runtime), which manages resources and monitors applications execution. The .NET frameworks are a multi-language environment for building, deploying, and running web services and applications. The Microsoft .NET platform provides .NET infrastructure and tools to build and operate a new generation of services.
Page | 7
.NET Architecture
2.2.1 Common Language Specification (CLS)
The CLS is a common platform that integrates code and components from multiple .NET programming languages. In other words, a .NET application can be written in multiple programming languages with no extra work by the developer (though converting code between languages can be tricky). .NET includes new object-oriented programming languages such as C#, Visual Basic .NET, J# (a Java clone) and Managed C++. These languages, plus other experimental languages like F#, all compile to the Common Language Specification and can work together in the same application.
Page | 9
2.3 C#
C# provides cross-language interoperability. It is also called mixed language programming. Cross language interoperability is crucial for the creation of large, distributed software system. It is also desirable for programming software components, because the valuable component is one that can be used by the widest variety of computer language in the greatest number of operating environments. C# was created at Microsoft late in 1990s and was part of Microsoft overall .NET strategy. By building C# upon a solid, well understood foundation, C# offers an easy migration path from these languages.
2.3.1 Features of C#
Directly derived from C, C++ and Java. Provides Multilanguage interoperability. Full integration with windows platform. Related to .NET Runtime Environment. Object Oriented No pointers required .C# programs typically have no need for direct pointer manipulation. Automatic memory management through garbage collection. Formal syntactic constructs for classes, interfaces, structures, enumerations, The ability to build generic types and generic members. Using generics, you are able to build very efficient and type-safe code that defines numerous placeholders specified at the time you interact with the generic item. T he ability to define a single type across multiple code files (or if necessary, as an in-memory representation) using the partial keyword.
Page | 10
2.4 MS-ACCESS
Microsoft Office Access, previously known as Microsoft Access, is a relational database management system from Microsoft that combines the relational Microsoft Jet Database Engine with a graphical user interface and softwaredevelopment tools. It is a member of the Microsoft Office suite of applications, included in the Professional and higher editions or sold separately. I made use of MS ACCESS 2007, as the backend technology. Access stores data in its own format based on the Access Jet Database Engine. It can also import or link directly to data stored in other applications and databases. Software developers and data architects can use Microsoft Access to develop application software, and "power users" can use it to build simple applications. Like other Office applications, Access is supported by Visual Basic for Applications, an object-oriented programming language that can reference a variety of objects including DAO (Data Access Objects), ActiveX Data Objects, and many other ActiveX components. Users can create tables, queries, forms and reports, and connect them together with macros.
To scale Access applications to enterprise or web solutions, one possible technique involves migrating to Microsoft SQL Server or equivalent server database. A clientserver design significantly reduces maintenance and increases security, availability, stability, and transaction logging.
Page | 12
HANDS ON EXPERIENCE
I had a very good training experience and my objectives of training were fulfilled by the training session. I am quite happy and satisfied by what I have learned during these 30 days. My hands on experiences from this training session are: 3.1 How to build user complaint products? 3.2 What is product plug ability? 3.3 What is product scalability? 3.4 How to make robust software? 3.5 How to built Dynamic Applications? 3.6 How to organize time, to complete the project on deadline? 3.7 Team building capabilities. 3.8 How to develop software using ISO standards? 3.9 Leadership Skills. 3.10 .Net Skills. 3.11 Building Documents. 3.12 Team Work. 3.13 Trouble Shooting.
Page | 13
PROJECT MODULES
4.1 INTRODUCTION
The Cyber Cafe Management is a system in which we collect and save all the records of the users like their name, contact number, address, date of birth, his or her image and information about the id submitted by the user. The major objective of the entire project is to handle the entire caf by it keeping its day to day records of the users visited the cafe. Once a user has visited the cafe, a unique caf id is given to the user so that when the user next time visits the caf he or she just has to provide the cafe id.
Page | 14
4.3.2 User Aspect 4.3.2.1 Requesting for the registration 4.3.2.2 Request to Logging into the system
Page | 15
Main Function
Main Form
Home Page
New User
Search
Change Password
Browse Records
Modify Record
Page | 16
SEE
RECORDS
NEW USER
SEARCH
CHANGE PASSWORD
EXIT
UPDATE
RECORDS
DELETE
RECORDS
The project, Cyber Cafe Management is used to hold records of the users that visited the cyber cafe, it contains lot of data that has to keep in record. Following are the main data file:
USER
Contains information about the user which is using the project & to add new user.
RECORD
LOGIN
Data in these files are stored in the format of relations (Tables) i.e. each file represents a relation in words of relational modelling. The detail about fields (attributes) in each file is as follows:
Page | 18
Field Name User_Id User Name Date of Birth Address Contact Id type
Description User id Name of the user Dob of user Address of user Contact no. of user Type of id submitted by the user.
Field Type Varchar(20) Date Time Date Time Date Time Text
Description Userid Entrance time Departure time Date which Pc allotted to user
Page | 19
Designed for Windows XP computer hardware logo System requirements for Windows XP Home and Professional editions as follows:
Minimum
Recommended
Processor
233 MHz
Memory
128 MB RAM
20 GB or higher
Drives
Input devices
Page | 20
4.6.1 Software Requirements: Operating System : Windows 2000XP/Windows 2000 NT RDBMS Front End : MS ACCESS 2007 : Microsoft Visual Studio.NET with C#
4.7
USER INTERFACE
Page | 21
This is the home page for the administrator. The administrator will go to the New User button if the user is visiting the Caf for the first time. Otherwise asks the user for the Caf Id and then authentifies it.
Page | 22
4.7.3 New User Registration Page : For the New User following details have to fill up by the administrator. As soon as the registration process is complete a Cafe Id is generated and that Caf Id is the Id for the user. Next time when the same user visits the Cafe the user will have to give its Cafe Id, no filling up of the form is required.
Page | 23
4.7.4 Searching Of Records: Searching of the record can be done either with the help of the user name or mobile number. It can also be done with the help of Cafe Id. Once the Cafe Id is verified all the details of the user will be displayed.
Page | 24
Page | 25
Page | 26
Page | 27
ANNEXURE
6.1 BOOKS
6.1.1 C# In Detail By Jon Jagger 6.1.2 C#, The Basics By Vijay Mukhi , Sandeep Shanbhag, Sonal Mukhi. 6.1.3 Bible for C#, Wiley Publications 6.1.4 Database System Concepts, McGraw-Hill International Publications
6.2 LIBRARY
6.2.1 MSDN
MSDN Library Visual Studio .Net release The MSDN Library is the essential reference for developers, with more than a gigabyte of technical programming information; including sample code, documentation, technical articles, the Microsoft Developer Knowledge Base, and anything else we might need to develop solutions that implement Microsoft technology.
6.3 REFERENCES
6.3.1 www.google.com 6.3.2 www.wikipedia.org 6.3.3 www.nextgencompusoft.net
Page | 28