1. Trang chủ
  2. » Luận Văn - Báo Cáo

Stock Listing Company Management System

104 395 0
Tài liệu đã được kiểm tra trùng lặp

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Tiêu đề Stock Listing Company Management System
Tác giả Pham Thi Thanh Dung, Thai Thi Thu Hien, Nguyen Thuy Linh, Quach Hong Trang
Người hướng dẫn MSC. Luong Vu Nam, MA. Kazi Shahidul Islam, Dr. Nguyen Minh Viet, Vice. Prof Dr. Nguyen Viet Huong
Trường học Hanoi University of Technology
Chuyên ngành Genetic Computer
Thể loại Đồ án tốt nghiệp
Năm xuất bản 2006
Thành phố Hanoi
Định dạng
Số trang 104
Dung lượng 1,54 MB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

The main purpose of the system is to serve HASTC in management for registration and information of company listed at the center and assisting them for auctioning and bidding financial assets such as: bonds, stocks

Trang 1

A CKNOWLEDGEMENT

When all the last parts of the project were finished and all the corrections were made, our group is

so happy and proud for all we have done in the project developing process At the beginning, itwas realized that working in a group with a cooperative spirit is not easy at all With the resultsthat we get today, all team’s members have tried our best However, having the today’s results, wewould like to send our thanks to our lectures, friends, and family members who have helped,encouraged and supported us enthusiastically to complete the project, which is the proof of ourknowledge after five year studying at Hanoi University of Technology-Genetic Singapore JointProgram

We would like to give special thank to MSC Luong Vu Nam, who was very dedicated He has

spent a lot of time on reviewing and editing our system analysis and design as well as systemdeveloping process

Special thank to MA Kazi Shahidul Islam for his assistances and consultancy to our documents,

language and presentation

We also will never forget the kind support of Dr Nguyen Minh Viet, Vice.Prof Dr.Nguyen Viet

Huong and other teachers as well as the staffs of International Joints Training program – Hanoi

University of Technology and Genetic Computer School

Batch 7

Group 7

Pham Thi Thanh Dung

Thai Thi Thu Hien

Nguyen Thuy Linh

Quach Hong Trang

Hanoi, Vietnam

May 2006

Trang 2

TABLE OF CONTENTS

CHAPTER 1 – INTRODUCTION 5

1.1 SCENARIO 5

1.2 BACKGROUND 6

1.3 EXISTING SYSTEM AND SLIMS 7

1.3.1 Current System 7

1.3.2 SLIMS 8

1.4 PROJECT SCOPE 9

CHAPTER 2 - DEVELOPING TOOLS 11

2.1 MODELING LANGUAGE 11

2.1.1 Unified Modeling Language (UML) 11

2.1.2 Rational Rose 11

2.2 DATABASE MANAGEMENT SYSTEMS (DBMS) 12

2.2.1 Introduction to DBMS 12

2.2.2 Kinds of DBMSs 13

2.2.4Choose DBMS and Explain Reasons 14

2.3 PROGRAMMING LAGUAGES 17

2.3.1 Introduction to Programming Language 17

2.3.3 Choose Programming language and explain reasons 20

2.4 OTHER TOOLS 21

2.4.1 Platform 21

2.4.2 Developing Tool 21

2.4.3 System design tool 26

2.4.4 Report designing tool 26

CHAPTER 3 - SYSTEM ANALYSIS 27

3.1 DETERMINING REQUIREMENTS OF THE SYSTEM 27

3.1.1 Managing Account 29

3.1.2 Managing Initial Information 30

3.1.3 Managing Periodic Information 31

3.1.4 Managing Extraordinary Information 32

Trang 3

3.1.5 Managing Report 33

3.1.6 Managing Daily Transaction 34

3.2 ANALYSE SAMPLE FORMS 35

3.2.1 Analyze Input Form 35

3.2.2 Analyze Output Form 39

3.3 SEQUENCE DIAGRAMS 42

3.3.1 Sequence Diagram for Accessing To the System 42

3.3.2 Sequence Diagram for Setting Account 43

3.3.3Sequence Diagram for Updating Account 44

3.3.4 Sequence Diagram for Disable User 45

3.3.5 Sequence Diagram for Creating Stock Information 46

3.3.6 Sequence Diagram for Updating Company Information 47

3.3.7 Sequence Diagram for Searching Profit Plan 48

3.3.8 Sequence Diagram for Deleting Shareholders 49

3.3.9 Sequence Diagram Report 50

3.3.10 Sequence Diagram Daily Transaction 51

3.4 STATECHART DIAGRAMS 52

3.4.1 Statechart Diagram of “Accessing to system” Function 52

3.4.2 Statechart Diagram of “Account Management” Function 53

3.4.3 Statechart Diagram of “Granting role” Task 54

3.4.4 Statechart Diagram of “Term Management 55

3.4.5 Statechart Diagram of “Balance Sheet 56

3.4.6 Statechart Diagram of “Extraordinary Information 57

3.4.7 Statechart Diagram of “Daily Transaction 58

3.4.8 Statechart Diagram of “Report Management 59

3.4.9 Statechart Diagram of “Financial Report Explanation Management 60

3.5 CLASS DIAGRAM Error! Bookmark not defined. 3.5.1 Access To System Function 62

3.5.2 Account Management Function 63

3.5.3 Role Management Function 64

Trang 4

3.5.4 User_Role Management Function 65

3.5.5 User_Company Management Function 66

3.5.6 Company Management Function 67

3.5.7 Bad Debt Management Function 68

3.5.8 Business Result Management Function 69

3.5.9 Financial Report Explanation Management Function 70

3.5.10 Balance Sheet Management Function 71

3.5.11 Extraordinary Information Management Function 72

3.5.12 Transaction Cancellation Management Function 73

3.5.13 Split/Attach Management Function 74

3.5.14 Addition Stock Management Function 75

3.5.15 Report Management Function 76

3.5.16 Daily Transaction Management Function 77

3.5.18 Management Function 79

3.5.19 Management Function 80

3.5.21 Management Function 82

3.6 SYSTEM DESIGN 83

3.6.1 DATABASE DESIGN 83

3.6.2 The Process of Normalization 83

3.6.3 Defining Relationships 84

3.6.4 Result of Database Normalization and Design Process 85

3.7 SYSTEM DESIGN 93

3.7.1 System Menu 93

3.7.2 Input Design 97

3.7.3 Output Design Error! Bookmark not defined. CHAPTER 4 - CONCLUSION AND DEVELOPMENT TENDENCY 100

4.1 ADVANTAGES 100

4.2 LIMITATION AND SOLUTION 100

4.3 CONCLUSION AND DEVELOPMENT TENDENCY 101

Trang 5

CHAPTER 1 – INTRODUCTION

Nowadays, Information Technology (IT) plays an important role in our life It is the mostmodern and helpful tool to people The Stock is an aspect of life that IT has been applied widely.This has brought many significant successes in order to promote the development of the stockmarket

Hanoi Security Trading Center (HASTC) is a special financial one of State SecurityCommission which was set up in 1998 and situated in Hanoi – Vietnam During 8 year’sdevelopment, HASTC has overcome the difficult stages However, it has created a sustainablebelief in everyone about Vietnamese stock market

Realizing the important role of developing securities in Vietnamese finance and studyingabout it for a long time, we see that there is still a part in security that IT has not yet exploited.That is Management for registration and information of companies listed in the stock market

At present, the traditional management model with documents, staff have to work withpaper, is quite well-liked or popular in Management for registration and information of companieslisted at the center However, this model now has met some problems such as:

- Waste of time

- Need a lot of supervising staff

- Waste a large amount of money for printing documents and writing papers

- Do not avoid negative actions in management

- Decrease importunacy procedure

- And other unexpected problems¼

Basing upon the current IT infrastructure of HASTC, as well as conforming to the rulesand principles of a management procedure for registration and information at the center, wedecide to build a system in order to deal with the drawbacks of such traditional exam model It iscalled: System for Registration and Supervision of securities listing company in HASTC Itsabbreviation is: SLIMS – Stock Listing Company Management System

Trang 6

The system allows users at different level to manage user’s account and generate reports.Employee is able to manage initial information, periodic information and extraordinaryinformation as well as calculate daily transaction of a company listed at the center Somecompanies are granted to control for an employee by an administrator All of the above tasks arecarried out through LAN to help the management become easier and more convenient

The main purpose of the system is to serve HASTC in management for registration and information of company listed at the center and assisting them for auctioning and bidding

financial assets such as: bonds, stocks … We hope that this system can increase the quality of operation as well as partly contribute to the development of the center in particular and generally

in Vietnamese stock market

What is Stock Listing Company Management System?

Differ from traditional Stock Listing Company Management System, SLIMS enablesemployee from working with computer to use it proficiently in management Furthermore,employee will view information, edit listed company information, and give their opinionsaiming to develop the management of center better and better In addition, the system alsosupport administrator effectively in performing tasks such as: managing employee, backing up

or restoring data The system works with users in the faster, most effective and most friendlyway

What are the purposes of Stock Listing Company Management System?

The main purpose of the is to serve HASTC in managing registration of listing companies

in centralized way, also in supplying necessary information about listing companies toemployee and involved people We hope that this system can increase the quality as well aseffect of management, partly contribute to the development of stock market at the center inparticular and generally in Vietnam

The professional knowledge of management involved:

- Managing registration for listing company

- Managing additional adjustments after giving listing company’s permission

Trang 7

- Supervising listing companies.

- Managing audit company and auditor agreement

This system will be run on LAN of Department for Transaction Management It alsoallows users at different level to manage user account, generate reports, create and adjustinformation of listing companies The outstanding advantage of the system is high security.The system is based upon a principle: just an employee creates data then be able to edit data

In addition, SLIMS also has other advantages in comparing with the traditional measure suchas: save time, low cost, are not waste of human resource, etc…Data of system are managedcentrally by database management system SQL Server 2000 Data are structured andunstructured (text file)

Because of the preeminent features that SLIMS provides, we hope that the system will give users and administrators satisfactions when they use it

1.3.1 Current System

At present, with the traditional management model, all the tasks of Department forTransaction Management performed with papers manually, from preparing and executing jobsmust be done for listing when it is ended

As listing License is accepted, an employee is taken the management of some specificcompanies by manager If this employee is out of work or busy, company management isinterrupted It takes a lot of time to give this work to another, as well as it takes a lot of timefor another to review This management is ineffective and waste amount of money for printingdata

Question Paper

1 What are the objects and applying areas of the new program?

2 What ideas originated from employee/managers?

3 How are forms represented?

4 For what does the system need to provide?

Trang 8

5 How do employee/managers solve problems before the introduction of the program?

6 Where is data taken from?

Magnetic tape/Compact Disk/Magnetic Compact Disk/Hard Disk/COM port/OutsideSystem

7 How often is data exchanged?

Daily/Weekly/Fortnight/Monthly/Annually

8 How many people will access the system?

9 Who are allowed to modify input data?

10 How is data input?

11 Which information of employee/managers must you input?

12 Is the current service economic and does it meet the employee’s needs?

13 Any trouble arises from using it?

14 Is there any Stock Listing Company Management System used in Vietnamese stockmarket?

15 Is the infrastructure good enough for implementing the system?

16 What are the benefits of Stock Listing Company Management System compared toconventional method of assessment?

17 Does the use of Stock Listing Company Management System require professionalknowledge?

18 What are the feedbacks and recommendations for the system?

19 How much does it cost for a system like Stock Listing Company Management System?

20 Does the administrator of the Stock Listing Company Management System need to haveprofessional knowledge?

1.3.2 SLIMS

In order to overcome the disadvantages of traditional model, we develop SLIMS, which

is applied to Department for Transaction Management at HASTC

This system will be run on LAN of Department for Transaction Management It also allows users at different level to manage user account, generate reports, create and adjust

information of listing companies The outstanding advantage of the system is high security The

Trang 9

system is based upon a principle: just an employee creates data then be able to edit data In

addition, SLIMS also has other advantages in comparing with the traditional measure such as: save time, low cost, are not waste of human resource, etc…Data of system are managed centrally

by database management system SQL Server 2000 Data are structured and unstructured (text file) And the printer allows the user store documents

Tools

Infrastructure

Trang 10

To operate completely the system, we need a large amount of interconnected PCsthat forming a networked PC area (LAN) At present, the centre has a room with 10 PCs Withthe current PCs, that is enough for processing information of listing companies at the centre.Especially, we need at least one Server PC with the very high configuration The advantage

of the client/server architecture is that the client and server machines work together to accomplish the processing of the application being used The processing capacity is improved and efficiently utilized The clients are optimized for user interaction Meanwhile, centralized, multi-user

functionalities are performed by the servers The database can be stored and backup in multiple servers for data safety

Trang 11

CHAPTER 2 - DEVELOPING TOOLS

2.1 MODELING LANGUAGE

2.1.1 Unified Modeling Language (UML)

Trang 12

UML is the modeling language It includes the unified notations, meanings, and thedefinitions about meta-model UML is used to display, specify and built documentation Indeveloping object oriented programs, it supports user to establish the reports, diagrams, forms,Web pages…

UML is the standard language to build software detail plan It’s suitable for suchsystems like: business information system, web based distributed systems, real time embeddedsystems…

In UML, there are vocabularies and rules that concentrate on displaying the systemphysically and conceptually This is the industrially standard language used to make softwaredetailed design

UML is a graphical language with views and graphic notations allow designer to buildvisual and friendly communication models

UML concentrates on specifications of designing, analysis, and installation decisions inthe developing and deploying software system It allows the designer to describe modelsexactly and completely

Although it is not visual programming language, UML’s model can directly link toother programming languages This means it’s enable to map models in UML to otherprogramming languages like Java, C++ and relational database tables, object orientateddatabase tables… This mapping allows consent converting from UML to programminglanguages and inverse converting from installing to UML model, as well That means, itsupplies the ability to consistent manipulate with documentation or graphic

2.1.2 Rational Rose

Rational Rose is a powerfully tool software that support analyzing, designing objectoriented software It helps us to model the system before coding, so that the system canoperate exactly Rose model includes all the UML diagrams, actors, use cases, object, classes,components and deployment nodes… It describes in detail which the system includes, how thesystem works so that the developer can use it as a detail plan for the system development

Trang 13

Rose model is a system picture including all UML diagrams, actors, use cases, objects,classes, components and deployment nodes It details what the system includes and how itworks so that the system developer can use it like a detailed plan for building system Rosesupports to solve an eternal problem – human force to communicate with customer andmaking decision documents.

2.2 DATABASE MANAGEMENT SYSTEMS (DBMS)

A database management system (DBMS) is a software system used to create, accessand control the database The DBMS serves as a bridge or interface, between the database andthe application programs, systems analysts, and end users of the database

It allows users to define the database, usually through a Data Definition Language (DLL).The DLL allows users to specify the data types and structures, and the constraints on the data

to be stored in the database

It allows users to insert, update, delete and retrieve data from the database, usuallythrough a Data Manipulation Language (DML) Having a central repository for all data anddata descriptions allow the DML to provide a general enquiry facility to the data, is called aquery language The provision of a query language alleviates the problems with file-basedsystems where the user has to work with a fixed set of queries or there is a proliferation ofprograms, giving major software management problems

It provides controlled access to the database, for example, it may provide:

Trang 14

o A concurrency control system, which allows shared access of the database.

state following a hardware or software failure

o A user-accessible catalog, which contains description of the data in the database

2.2.2 Kinds of DBMSs

There are many types of DBMS, ranging from small systems that run on personalcomputers to huge systems that run on mainframes Each one has many advantages, along withdisadvantages The following popular DBMSs:

Oracle

Oracle is a relational database system from Oracle Corporation extensively used inproduct and internet-based applications in different platforms Oracle is a powerful relationaldatabase management system that offers a large feature set Along with Microsoft SQL Server,Oracle is widely regarded as one of the two most popular full-featured database systems today.Oracle is only used for databases with huge size, from millions to tens millions of records.Oracle database provides large company system products for transaction processing anddecision support This DBMS provides a perfect solution to the development and deployment

of Clients/Server’s application Because of complexity of database so disadvantages of Oracleare high cost of maintaining database and training IT staff

Microsoft SQL Server 2000

SQL Server 2000 is an RDBMS that uses Transact-SQL to send requests between aclient computer and a SQL Server 2000 computer An RDBMS includes databases, thedatabase engine, and the applications that are necessary to manage the data and thecomponents of the RDBMS SQL Server 2000 can integrate in harmony with other serverssuch as Internet Information Services (IIS), E-Commerce Server, Proxy Server, etc

Although SQL Server 2000 is designed to work as the data storage engine for thousands

of concurrent users who connect over a network, it is also capable of working as a stand-alonedatabase directly on the same computer as an application The scalability and ease-of-usefeatures of SQL Server 2000 allow it to work efficiently on a single computer without

Trang 15

consuming too many resources or requiring administrative work by the stand-alone user Thesame features allow SQL Server 2000 to dynamically acquire the resources required to supportthousands of users, while minimizing database administration and tuning

MySQL, the most popular Open Source SQL database management system, isdeveloped, distributed, and supported by MySQL AB company, it’s also a relational databasemanagement system MySQL software is Open Source means it is possible for anyone to useand modify the software Anybody can download the MySQL software from the Internet anduse it without paying anything The MySQL Database Server is very fast, reliable, and easy touse MySQL Server also has a practical set of features developed in close cooperation with ourusers MySQL Server was originally developed to handle large databases much faster thanexisting solutions and has been successfully used in highly demanding productionenvironments for several years Though under constant development, MySQL Server todayoffers a rich and useful set of functions Its connectivity, speed, and security make MySQLServer highly suited for accessing databases on the Internet The MySQL Database Software is

a client/server system that consists of a multi-threaded SQL server that supports different backends, several different client programs and libraries, administrative tools, and a wide range ofapplication programming interfaces (APIs)

2.2.3 Choose DBMS and Explain Reasons

Choosing an appropriate DBMS with current system plays an important role that shouldbases on various factors such as infrastructure, human resource, volume of information etc.The Genetic Exam Online System is designed for serving examinations, thus size of database

is not over large With current infrastructure, MSSQL Server 2000 is a suitable choice alongwith many benefits:

Trang 16

MS SQL Server 2000 is a perfect DBMS, provides a new generation of features andfunctions, including many strong tools for managing and controlling database Microsoft SQLServer 2000 features include:

Scalability and Availability

The same database engine can be used across platforms ranging from laptop computersrunning Microsoft Windows® 98 through large, multiprocessor servers running MicrosoftWindows 2000 Data Center Edition SQL Server 2000 Enterprise Edition supports featuressuch as federated servers, indexed views, and large memory support that allow it to scale to theperformance levels required by the largest Web sites

Enterprise-Level Database Features

The SQL Server 2000 relational database engine supports the features required tosupport demanding data processing environments The database engine protects data integritywhile minimizing the overhead of managing thousands of users concurrently modifying thedatabase SQL Server 2000 distributed queries allow you to reference data from multiplesources as if it were a part of a SQL Server 2000 database, while at the same time, thedistributed transaction support protects the integrity of any updates of the distributed data.Replication also allows you to maintain multiple copies of data, while ensuring that theseparate copies remain synchronized You can replicate a set of data to multiple, mobile,disconnected users, have them work autonomously, and then merge their modifications back tothe publisher

Ease of installation, deployment, and use

Trang 17

SQL Server 2000 includes a set of administrative and development tools that improveupon the process of installing, deploying, managing, and using SQL Server across severalsites SQL Server 2000 also supports a standards-based programming model integrated withthe Windows DNA, making the use of SQL Server databases and data warehouses a seamlesspart of building powerful and scalable systems These features allow you to rapidly deliverSQL Server applications that customers can implement with a minimum of installation andadministrative overhead.

Data warehousing

SQL Server 2000 includes tools for extracting and analyzing summary data for onlineanalytical processing SQL Server also includes tools for visually designing databases andanalyzing data using English-based questions

In addition, Microsoft SQL Server 2000 extends the performance, reliability, quality,and ease-of-use of Microsoft SQL Server version 7.0 Microsoft SQL Server 2000 includesseveral new features that make it an excellent database platform for large-scale onlinetransactional processing (OLTP), data warehousing, and e-commerce applications

The OLAP Services feature available in SQL Server version 7.0 is now called SQLServer 2000 Analysis Services The term OLAP Services has been replaced with the termAnalysis Services Analysis Services also includes a new data-mining component TheRepository component available in SQL Server version 7.0 is now called Microsoft SQL

Server 2000 Meta Data Services References to the component now use the term MetaData Services The term repository is used only in reference to the repository engine withinMeta Data Services

2.3 PROGRAMMING LAGUAGES

2.3.1 Introduction to Programming Language

A programming language is an artificial language used to write a sequence ofinstructions (a computer program) that can be run by a computer Similar to natural languages,such as English, programming languages have a vocabulary, grammar, and syntax However,

Trang 18

natural languages are not suited for programming computers because they are ambiguous,meaning that their vocabulary and grammatical structure may be interpreted in multiple ways.The languages used to program computers must have simple logical structures, and the rulesfor their grammar, spelling, and punctuation must be precise Programming languages varygreatly in their sophistication and in their degree of versatility Some programming languagesare written to address a particular kind of computing problem or for use on a particular model

of computer system For instance, programming languages such as FORTRAN and COBOLwere written to solve certain general types of programming problems—FORTRAN forscientific applications, and COBOL for business applications Although these languages weredesigned to address specific categories of computer problems, they are highly portable,meaning that they may be used to program many types of computers Other languages, such asmachine languages, are designed to be used by one specific model of computer system, oreven by one specific computer in certain research applications The most commonly usedprogramming languages are highly portable and can be used to effectively solve diverse types

of computing problems Languages like C, PASCAL, and BASIC fall into this category.Programming languages allow people to communicate with computers Once a job has beenidentified, the programmer must translate, or code, it into a list of instructions that thecomputer will understand A computer program for a given task may be written in severaldifferent languages Depending on the task, a programmer will generally pick the languagethat will involve the least complicated program It may also be important to the programmer topick a language that is flexible and widely compatible if the program will have a range ofapplications The examples shown here are programs written to average a list of numbers.Both C and BASIC are commonly used programming languages The machine interpretationshows how a computer would process and execute the commands from the programs

2.3.2 Programming Languages

2.3.2.1 Introduction to Object - Oriented Programming

The fundamental aspect of object-oriented programming is that a computer program iscomposed of a collection of individual units, or objects To make the computation happen,each object is capable of receiving messages and sending messages to other objects In thisway, messages can be handled by one chunk of code but may be done so by another code

Trang 19

block seamlessly It is claimed then that this gives more flexibility over just step-by-stepprogramming, called imperative programming or structured programming in the field ofcomputer science Thus, the challenge OOP programmers face is how to distributeresponsibility over objects, or classes one of many popular implementation schemes

Proponents of OOP also claim that OOP is more intuitive and, for those new tocomputer programming, is easier to learn than a traditional way breaking the computationinto procedures In OOP, objects are simple, self contained and easily identifiable Thismodularity allows the program parts to correspond to real aspects of the problem and thereby

to model the real world Indeed, object-oriented programming often begins from a writtenstatement of the problem situation Then by a process of inserting objects or variables fornouns, methods for verbs and attributes for adjectives, a good start is made on a framework for

a program that models, and deals with, that situation This allows one to learn how to program

in object-oriented languages

The majority of the computer programmers agree that OOP is a major advance on theprevious complexities of procedure based methods, as its popularity attests to the fact, andOOP can be a major advantage in large projects where procedural methods tended to developvery complicated conditional loops and branches, difficult to understand and to maintain

2.3.2.2 Definition of Object-Oriented Programming (OOP)

Object-oriented programming (OOP) is a computer programming paradigm thatemphasizes the following aspects:

 Objects - packaging data and functionality together into units within a running computerprogram; objects are the basis of modularity and structure in an object-oriented computerprogram

 Abstraction - The ability for a program to ignore some aspects of the information it'smanipulating, i.e the ability to focus on the essential

 Encapsulation - The ability for the program to hide information about the implementation

of a module from its users, i.e the ability to prevent users from breaking the invariants ofthe program

 Polymorphism - The ability of an entity to stand for different things based on its context ofuse

Trang 20

 Inheritance - Defining classes as extensions of existing classes

The definitions of OOP are disputed In the most general sense, object-orientedprogramming refers to the practice of viewing software primarily in terms of the "things"(objects) it manipulates, rather than the actions it performs Other paradigms such asfunctional and procedural programming focus primarily on the actions, with the objectsbeing secondary considerations; in OOP, the situation is reversed

OOP itself has been used to market many products and services and the actualdefinitions and benefits attributed to OOP have often been colored by commercialmarketing goals Similarly, many programming languages have a specific view to OOP that

is less general in certain aspects from the more general definition

Widely-used terminology distinguishes oriented programming from based The former is held to include inheritance (described below), while the latter does

object-not

2.3.2.3 Benefits of Object-Oriented Programming (OOP)

Have you wondered why modern programming languages tend to be oriented? C++ was created as an extension of C to support OOP And Java, one of the mostpopular languages on the planet, is also an OOP language Then, of course, Visual Basichas evolved into VB.NET, a fully OOP language There is a good reason for thistransformation OOP offers several benefits, such as easy code maintenance, extensibility,and code reuse, not found in procedural programming languages Some of the benefits areoutlined below

object- Easy Maintenance Modularity is inherent in OOP Entities are represented

by classes and classes with the same functionality are located in the same namespace(package) You can add a class into a namespace without affecting other members ofthe namespace

Extensibility OOP naturally supports extensibility Having a class with

certain functionality, you can quickly extend that class to create a different class withextended functionality

Code Reuse Since functionality is encapsulated into a class and each class is

an independent entity, providing a library is very easy In fact, programmers of

Trang 21

any NET Framework language can and should use the NET Framework class library,

an extensive library that provides rich functionality Better still, you can extend thefunctionality of the class library to provide classes that suit your needs

2.3.3 Choose Programming language and explain reasons

In order to develop Stock Listing companies Management System, we useprogramming language C# (pronounced C sharp) C# is one of programming languages intoolbox Visual Studio.Net, one strategic product of Microsoft It is one advanced object-oriented programming language which assists effectively programmers in constructingapplications above Microsoft.Net platform in a convenient and fast way

An evolution of C and C++, C# is simple, modern, type-safe, and object-oriented Itwas designed for building a wide range of enterprise compiled as managed code, which means

it benefits from the services of the Common Language Runtime These services includelanguage interoperability, garbage bolection, enhanced security, and improved versioningsupport

C# is fully supported within Visual Studio .NET by project templates, designers,property pages, code assistants, an object model, and other features of the developmentenvironment The library for C# programming is the NET Framework

C# includes following salient properties:

- Productivity and safety:

 It supports all existing standards about programming

 It minimizes serious faults

tool in deciding version

- Robustness, convenience and activeness:

 It is easy to constructing all functions of application software fromprofessional skill process

 High interactive property, it provides internal supporting mechanism forCOM and Windows based API

Trang 22

Hence we choose C# programming language as developing tool for this project.

2.4 OTHER TOOLS

2.4.1 Platform

Windows 2000 Server SP (service pack) or later

Windows Server 2003 is the most productive infrastructure platform for poweringconnected applications, networks, and Web services from the workgroup to the data center.Easy to deploy, manage, and use, Windows Server 2003 helps you build a secure ITinfrastructure that provides a powerful application platform for quickly building connectedsolutions and an information worker infrastructure for enhanced communication andcollaboration anytime and anywhere

The Windows Server 2003 operating systems build on the proven reliability, scalability,and manageability of Windows 2000 Server while improving essential services Now withenhanced security and better performance, Windows Server 2003 offers the best serverinfrastructure for increasing IT efficiency, developing applications quickly, and enhancingproductivity As of March, 2005, the Windows Server 2003 operating systems ship withService Pack 1 (SP1)

Your organization can reap the cost-saving and productivity-enhancing benefits of thehighest quality Windows Server ever And a worldwide network of partners can help you buildthe solutions you need

2.4.2 Developing Tool

Microsoft Net Framework

The .NET Framework is a new computing platform that simplifies applicationdevelopment in the highly distributed environment of the Internet The NET Framework isdesigned to fulfill the following objectives:

 To provide a consistent object-oriented programming environment whether

object code is stored and executed locally, executed locally but distributed, or executed remotely

Trang 23

Internet- To provide a code-execution environment that minimizes software deployment

and versioning conflicts

including code created by an unknown or semi-trusted third party

 To provide a code-execution environment that eliminates the performance

problems of scripted or interpreted environments

applications, such as Windows-based applications and Web-based applications

the NET Framework can integrate with any other code

The NET Framework has two main components: the common language runtime andthe .NET Framework class library The common language runtime is the foundation ofthe NET Framework You can think of the runtime as an agent that manages code at executiontime, providing core services such as memory management, thread management, and remote,while also enforcing strict type safety and other forms of code accuracy that ensure securityand robustness In fact, the concept of code management is a fundamental principle of theruntime Code that targets the runtime is known as managed code, while code that does nottarget the runtime is known as unmanaged code The class library, the other main component

of the NET Framework, is a comprehensive, object-oriented collection of reusable types thatyou can use to develop applications ranging from traditional command-line or graphical userinterface (GUI) applications to applications based on the latest innovations

The following sections describe the main components and features of the .NETFramework in greater detail

Features of the Common Language Runtime

The common language runtime manages memory, thread execution, code execution,code safety verification, compilation, and other system services These features are intrinsic tothe managed code that runs on the common language runtime

Trang 24

With regards to security, managed components are awarded varying degrees of trust,depending on a number of factors that include their origin (such as the Internet, enterprisenetwork, or local computer) This means that a managed component might or might not beable to perform file-access operations, registry-access operations, or other sensitive functions,even if it is being used in the same active application.

The runtime enforces code access security For example, users can trust that anexecutable embedded in a Web page can play an animation on screen or sing a song, butcannot access their personal data, file system, or network The security features of the runtimethus enable legitimate Internet-deployed software to be exceptionally featuring rich

The runtime also enforces code robustness by implementing a strict verification infrastructure called the common type system (CTS) The CTS ensures that allmanaged code is self-describing The various Microsoft and third-party language compilersgenerate managed code that conforms to the CTS This means that managed code can consumeother managed types and instances, while strictly enforcing type fidelity and type safety

type-and-code-In addition, the managed environment of the runtime eliminates many commonsoftware issues For example, the runtime automatically handles object layout and managesreferences to objects, releasing them when they are no longer being used This automaticmemory management resolves the two most common application errors, memory leaks andinvalid memory references

The runtime also accelerates developer productivity For example, programmers canwrite applications in their development language of choice, yet take full advantage of theruntime, the class library, and components written in other languages by other developers Anycompiler vendor who chooses to target the runtime can do so Language compilers that targetthe NET Framework make the features of the NET Framework available to existing codewritten in that language, greatly easing the migration process for existing applications

While the runtime is designed for the software of the future, it also supports software oftoday and yesterday Interoperability between managed and unmanaged code enablesdevelopers to continue to use necessary COM components and DLLs

Trang 25

The runtime is designed to enhance performance Although the common languageruntime provides many standard runtime services, managed code is never interpreted Afeature called just-in-time (JIT) compiling enables all managed code to run in the nativemachine language of the system on which it is executing

Finally, the runtime can be hosted by high-performance, server-side applications, such

as Microsoft® SQL Server™ This infrastructure enables you to use managed code to writeyour business logic, while still enjoying the superior performance of the industry's bestenterprise servers that support runtime hosting

.NET Framework Class Library

The NET Framework class library is a collection of reusable types that tightly integratewith the common language runtime The class library is object oriented, providing types fromwhich your own managed code can derive functionality This not only makes the .NETFramework types easy to use, but also reduces the time associated with learning new features

of the NET Framework In addition, third-party components can integrate seamlessly withclasses in the NET Framework

For example, the NET Framework collection classes implement a set of interfaces thatyou can use to develop your own collection classes Your collection classes will blendseamlessly with the classes in the NET Framework

As you would expect from an object-oriented class library, the NET Framework typesenable you to accomplish a range of common programming tasks, including tasks such asstring management, data collection, database connectivity, and file access In addition to thesecommon tasks, the class library includes types that support a variety of specializeddevelopment scenarios For example, you can use the .NET Framework to develop thefollowing types of applications and services:

Trang 26

For example, the Windows Forms classes are a comprehensive set of reusable types thatvastly simplify Windows GUI development.

Visual Studio NET 2003

Today Microsoft Visual Studio.Net is one of the most actively and commonly usedprogramming toolbox based on Windows operating system platform Microsoft VisualStudio.Net brings out new programming method, enhances speed of programming compare

to traditional method, at the same time supports programming tools easy to use On the otherhand, Microsoft Visual Studio.Net helps to create interface for application fast, beautifullyand friendly with users An approach to Microsoft Visual Studio.Net follows visual way.The results of each work stage as well as whole system can be verified through step by stepand supported much in programming process

Visual Studio NET comes in any of three levels of capability and price: Professional,Enterprise Developer (which includes Microsoft's SQL Server), and Enterprise Architect(which includes the Visio product for modeling an application program) Existing users ofMicrosoft's Visual line and related languages may upgrade to Visual Studio .NET for adiscount from the full price

Visual Studio NET is generally comparable to Sun Microsystems' J2EE

2.4.3 System design tool

Rational Rose

Rational Rose is a powerful tool that supports for object-oriented analyzing and designing developed by Rational Rational Rose helps us modeling system before starting programming; therefore we can image system concretely from beginning to end the project

All models constructed by Rose are a panoramic picture of system It can set up all

diagrams follow visual modeling language UML such as Usecase, Sequence, State, Class diagram….It helps us modeling detailed components and operations of system Therefore programmer can use it as a design through the process of carrying out constructing system.System modeling gives us a working process that follows approach:

Trang 27

Table 2.4.3 Working process follows system modeling approach

Following this method, all members that take part in project can together discuss about system design before beginning programming, therefore all members in system can avoid misunderstanding requirements of the math

2.4.4 Report designing tool

Crystal Report for Visual Studio.Net

Crystal Report for Visual Studio.Net is a tool for making standard reports of Visual

Studio.Net It brings about for programmer ability of making complex reports which has high professional degree Instead of programming, programmer can use Crystal Report Designer to making and formatting reports Crystal Report has powerful report processing mechanism that automatically processes all declaration about formatting, group of information or charts which programmer gives out In Visual Studio.Net, We can make a new report or insert an available report into application

CHAPTER 3 - SYSTEM ANALYSIS

3.1 DETERMINING REQUIREMENTS OF THE SYSTEM

Stock listing company management system program is developed to increase the qualityand effect of management at Department for Transaction Management of HASTC Therefore,the system not only satisfies all requirements of management such as: giving information toemployee, storing information of listing companies with high security, assessing ability ofemployee, calculating daily transaction and so on but it is also better than the traditional exammodel in managing information, security, assessing the ability of employee, etc… The systemconsists of 7 main functions:

Model

Resource Code

Trang 28

1 Managing account

2 Managing Initial Information

3 Managing Periodic Information

4 Managing Extraordinary Information

5 Managing Daily Transaction

6 Managing reports

7 Backup and RestoreEach administrator and employee is responsible for several functions and they are represented by the overview Use case diagram below:

Trang 29

SLIMS SYSTEM

Access To System All users

Manage Periodic Info

Manage Extraordinary Info

Manage Daily Transaction

Manage Initial Info

Responsible for

accessing to

system

Figure 3.1 Overview Use Case of SLIMS Program

Each function has tasks as follow:

Trang 30

3.1.1 Managing Account

Account is delivered to each employee at different roles, enable to log on the system and do their specific tasks Managing account is to ensure that each employee operates in the scope of their granted roles Administrator is able to disable user account, change the Active Status of employee to DeActive This means employee is not permitted to access the system but their information is still stored in the system

Account Management

Create Account

Disable Account

Granting Company Admin

Update Personal Information

Change Password

All Users

Admin and Employee

Figure 3.1.1 Account Usecase Diagram

Trang 31

This function is used to manage initial information Firstly Admin create Company Name It can be also updated or deleted Then Employee will create general information for each company such as: Profit Plan, Stock, Shareholder, Business Area…

Initial Information

Create Initial Information

Update Initial Information

Delete Initinal Information

Search Initial Information

Employee

Create Company Name

Update Company Name

Delete Company Name

Admin

Figure 3.1.2 Initial Information Usecase Diagram

Trang 32

3.1.3 Managing Periodic Information

This function is used to manage periodic information Employee creates information for each company such as: Balance Sheet, Business Result, Financial Report Explanation and Bad Debt It is also updated or deleted

Periodic Information

Create BalanceSheet Update BalanceSheet Delete BalanceSheet Search BalanceSheet

Create Business Result Update Business Result Delete Business Result Search Business Result

Create Financial Report Explanation

Update Financial Report Explanation

Delete Finanacial Report Explanation

Search Financial Report Explanation

Create Bad Debt Update Bad Debt Delete Bad Debt Search Bad Debt Employee

Trang 33

3.1.4 Managing Extraordinary Information

This function is used to manage extraordinary information Employee creates information for each company such as: Split/Attach Stock, Additional Stock and Cancel Transaction It is also updated or deleted

Extraordinary Information

Delete Extraodinary_Info Update Extraodinary_Info

Create Extraodinary_Info

Delete Split/AttachStock_Info Update Split/AttachStock_Info

Create Split/AttachStock_Info

Delete CancelTransaction_Info Update CancelTransaction_Info

Create CancelTransaction_Info

Delete AdditionalStock_Info Update AddtionalStock_Info

Create AdditionalStock_Info Employee

Figure 3.1.4 Extraordinary Information Usecase Diagram

Trang 34

3.1.5 Managing Report

Reports are created to give information to users They are generated by Employee and Administrator

Report Managem ent

Select Date Select Company Select Year Select Quarter Select Stock

Report Daily Transaction

Report Extraordinay Infor Report Com pany Monitoring

Report Initial Infor

Report Daily Transaction of each

Trang 35

3.1.6 Managing Daily Transaction

This function is used to manage daily transaction Employee imports data then checking it before calculating

Daily Transactions

Import daily transaction Data

Calculate Data

Check Data Employee

Figure 3.1.5 Daily Transaction Usecase Diagram

Trang 36

3.2 ANALYSE SAMPLE FORMS

3.2.1 Analyze Input Form

Account Add New Form:

This form is used when Administrator want to register new user to become member

of system There are some information is required such as: User_ID, First Name, Last Name,Date of Birth, Address, Position, Gender and Telephone are optional

Account AddNew Form

User _ID*……….…First Name*……….………Last Name:*……….……….Date of Birth (dd/mm/yyyy)*……… ………… Gender (Male/Female)……… Address*………Telephone……… Position*………

Figure 3.2.1.1 Account AddNew Form

Trang 37

This form is used when Employee want to add new cancellation information In which all fields are required.

Cancellation AddNew Form

Company Name*………Date of Issuing Extraordinary Report*……….………Date of Cancellation*……….………Form of Cancelled Transaction*……… ………Reason of Cancellation*… ………Decision of State Securities Commission (Reject/Accept)*………Decision Number of State Securities Commission*………Decision Date of State Securities Commission*………

Figure 3.2.1.2 Cancellation AddNew Form

Bad Debt Add New Form:

This function is used when employee want to create Bad Debt after a period In which all

fields are required

Bad Debt AddNew Form

Company Name*………Year*……….……….Period*……… ……… Bad Debt*……….Overdue Account*………

Figure 3.2.1.2 Bad Debt AddNew Form

Balance Sheet Add New Form:

Trang 38

This form is used to when employee want to create Balance Sheet after finishing a period In which all fields are required.

Balance Sheet AddNew FormCompany Name*……….…………

Other Current Assets*………

Fixed Asset and Long-term Financing

Tangible Fixed Asset Value*………

Tangible Fixed Asset Accumulated Depreciation*………

Intangible Fixed Asset Value*………

Intangible Fixed Asset Accumulated Depreciation*……… Long-term Financing*………

Revenue Not Sharing*………

Figure 3.2.1.3 Balance Sheet AddNew Form

Business Result Add New Form:

This function is used to create Business Result after finishing a period In which all fields

are required

Business Result AddNew Form

Company Name*………Year*……….……….Quarter*……….………

Trang 39

Report Period/Accumulation*……… ………Sales and Service*……… Deducting Items*………Net Sales and Service*………Prime Cost*………Accumulation of Sales and Service*………Financing Revenue*………Financing Expense*………Financing Return*………Sale Expense*………Overhead Expense*………Other Revenue*………Other Expense*……….Profit before Tax*………Income Tax*………Profit after Tax*………Return from Share*………Dividend Per Share*………

Figure 3.2.1.4Business Result AddNew Form

3.2.2 Analyze Output Form

Cancellation View Form

This form is used when user wants to view Cancellation information

Cancellation View Form

Company Name………Date of Issuing Extraordinary Report……….………Date of Cancellation……….………

Trang 40

Form of Cancelled Transaction……… ………Reason of Cancellation… ………Decision of State Securities Commission………

Decision Number of State Securities Commission………

Decision Date of State Securities Commission………

Figure 3.2.2.1Cancellation View Form

This form is used when user wants to view Bad Debt information

Bad Debt View FormCompany Name………Year………

Bad Debt

Overdue Account

Figure 3.2.2.2 Bad Debt View Form

Balance Sheet View Form

This form is used when user wants to view Balance Sheet information.

Balance Sheet View Form

Company Name………

Year………

Quarter………

Current Asset and Short-term Financing

Cash

Short-term Financing

Net Receivable

Ngày đăng: 15/04/2013, 15:11

TỪ KHÓA LIÊN QUAN

w