Escolar Documentos
Profissional Documentos
Cultura Documentos
DEDICATION
To our families most especially our parents for their sacrifice and
encouragement, their moral, material and financial support. To all our
dear classmates, thanks for your laughs, your sweet voices, beautiful
smiles, and frequent jokes. We love you. To all, we dedicate the fruits of
many long days and nights. Thanks for your support and understanding.
TABLE OF CONTENTS
DEDICATION ....................................................................................................................................................ii
TABLE OF CONTENTS .................................................................................................................................. iii
LIST OF FIGURES............................................................................................................................................v
LIST OF TABLES............................................................................................................................................. vi
PREFACE ......................................................................................................................................................... vii
PART I SPECIFICATION BOOK ...................................................................................................................2
INTRODUCTION ............................................................................................................................................3
CHAPTER 1 CONTEXT .................................................................................................................................4
A. Context .....................................................................................................................................................4
B. Problematic ..............................................................................................................................................4
CHAPTER 2 NEEDS SPECIFICATION.........................................................................................................5
A. Non-Functional Needs .............................................................................................................................5
B. Functional Needs .....................................................................................................................................6
CHAPTER 3 CONTRAINTS...........................................................................................................................8
CHAPTER 4 PRINCIPAL FUNCTIONALITIES ...........................................................................................9
CHAPTER 5 PROJECT STRUCTURING ................................................................................................... 10
A. Scheduling ............................................................................................................................................. 10
B. Estimation of Resources Needed ......................................................................................................... 11
CHAPTER 6 END PRODUCTS ................................................................................................................... 13
CONCLUSION ............................................................................................................................................. 14
PART II ANALYSIS PHASE......................................................................................................................... 15
INTRODUCTION ......................................................................................................................................... 16
CHAPTER 1 STUDY OF EXISTING SYSTEM ......................................................................................... 17
CHAPTER 2 LIMITATIONS OF THE EXISTING SYSTEM .................................................................... 18
CHAPTER 3 PRESENTATION OF THE METHOD OF ANALYSIS........................................................ 19
A. Usual Methodologies............................................................................................................................. 19
B. Selected Methodology........................................................................................................................... 19
C. CONCEPTUAL MODEL OF COMMUNICATION (CMC)............................................................................. 20
D. CONCEPTUAL MODEL OF TREATMENT (CMT) ....................................................................................... 21
CHAPTER 4 MODELING OF THE PROPOSED SOLUTION................................................................... 24
LIST OF FIGURES
LIST OF TABLES
PREFACE
ABSTRACT
Most training schools such as AICS provide a process of evaluating students in their different courses in
order to measure how much of the assigned material they have mastered. In this light, we were assigned
in our MERISE course the project themed “Computerized Management of a Supermarket”. Our
project consists of modeling a system that will enable supermarkets to have full control of their inventory.
To realize this project, we took as case study LADYLANELLE supermarket found in Yaoundé,
Nkolanga at Awae Escalier. To attain our objective of managing the entire supermarket, we decided to
focus on the management of incoming and outgoing products since it is the main area of any supermarket.
RESUME
La plupart des écoles de formation telles que AICS fournissent un processus d'évaluation des étudiants dans leurs
différents cours afin de mesurer la quantité de matériel assigné qu'ils maîtrisent. Dans cette optique, nous avons
été affectés dans notre cours MERISE au projet «Gestion informatisée d'un supermarché». Notre projet consiste à
modéliser un système qui permettra aux supermarchés d'avoir un contrôle total de leurs stocks. Pour réaliser ce
projet, nous avons pris comme cas d'étude le supermarché LADYLANELLE retrouvé à Yaoundé, Nkolanga à Awae
Escalier. Pour atteindre notre objectif de gestion de l'ensemble du supermarché, nous avons décidé de nous
concentrer sur la gestion des produits entrants et sortants puisque c'est la zone principale de n'importe quel
supermarché.
TOPICAL COVERAGE
This document is a comprehensive guide to the modelling of our system. It is divided into four parts,
each focusing on a different aspect of our system.
I
SPECIFICATION BOOK
PREAMBLE
A specification book is a written document, which makes the synthesis of observations realized
in the institution. It gives the directives on the product to be delivered, the conditions of their delivery
and the technical specifications of the deliverables.
A. Context
The African Institute of Computer Science provides a process of evaluating students in their different
courses in order to measure how much of the assigned material they have mastered. In this light, we
were assigned in our MERISE course the project themed “Computerized Management of a
Supermarket”.
Our case study, Ladylanelle is a supermarket whose main aim it is to provide its customers quality
goods. It is head by a Manager who works with a staff of at least 15 members to ensure that the
objectives of the supermarket and its surroundings are met in due time.
B. Problematic
After collecting all the information on the management of a supermarket at the Ladylanelle
supermarket, we could observe that even though it is computerized (and it has been so for several
years now) many other supermarkets in the city or Yaoundé are not. In fact, there are still many
supermarkets that are managed manually. Because of this, a queue of people is often seen at the
entrance of supermarkets.
A. Non-Functional Needs
The non-functional needs correspond to the manipulation of the application and precisely the
environment of the application. This means developing an application that is correct, usable,
reliable, secure and flexible for the management of a modern supermarket.
i. User Interface
Despite the several functionalities of the application, the application has to be good looking as far
as ergonomy is concerned. This is a very important aspect of a modern application. As a result, a
user guide will be made available for the users of the application to facilitate its usage.
i.Safety Requirement
Consistency: Verify that all users (employees) are attachable to one server, so there will be
appropriate control of the data created and used by the different employees. In case of potential server
or network breakdown, only the far finished information are saved to the server.
Usability: Checking that the system is easy to handle and navigate in the most expected way with no
delays. In that case the system program reacts accordingly and traverses quickly between its states.
Functionality: Checking that the system provides the right tools for editing question in the database,
create sessions tests and analysing the test sessions i.e. the tools.
1
The non-functional requirement (NFR) is a requirement that specifies criteria that can be used to judge the operation
of a system, rather than specific behaviours.
A. Scheduling
1. Global Planning of the project
For the realization of this project, our application will pass through several stages, which depend on
each other. Each stage must be carried out with strict respect of the time which is assigned to it. The
Gantt Diagram will permit us to schedule the different activities with strict respect of the datelines.
2. Chronogram of Activities
Total 1 - - - 70 040
2. Hardware Resources
Table 3 Hardware Resources
The project will last for as long as the MERISE course lasts. At the end of the allocated hours for the
MERISE course, the following deliverables will be available:
II
ANALYSIS PHASE
PREAMBLE
The analysis document has as objective to confirm the choice of the analysis method that is going
to be used during the realization of the project. The use of a good method of analysis permits to understand
the problems and to realize expectations needed by the customer.
As mentioned above, the management of products in Ladylanelle is already computerised. But this is
not the case for all supermarkets in Yaoundé. The table below describes the supermarkets that do not
yet have a computerised system.
Information is Risk of errors during the filling of the The information of a product is
copied into the register automatically gotten using a bar
register Takes too much time code reader thus gaining time
High use of energy The cashier must login to the
Access to information is not easily system using his/her name
controlled
May lead to errors during the filling
No issuing of Receipts are not issued after a sale With our application it will be
receipts or easy and fast because the system
receipts are hand automatically prints the receipt
written
1. MERISE
MERISE is a French cascading method of analysis and structural design which was invented in
1978. MERISE consists of three ‘cycles’, the decision cycle, the life cycle and the abstraction
cycle. The abstraction cycle is the most important. In this cycle, both data and processes are first
vies at the conceptual level, the logical or organisational level and finally at the physical or
operational level.
2. Agile methods
The rapid development took part in the emergence of approaches privileging the flexibility and
the adaptability. These approaches are declined under the name of “agile’ methods and are
presented here after.
B. Selected Methodology
We decided to use the MERISE method. MERISE stands for Methode d’Etude et de Realisation
Informatique pour des Systemes d’Entreprise. It is a method of designing, developing and carrying
out IT projects. The purpose of this system is to come up with an information system. The MERISE
method is based on separation of data and treatments to be performed into several conceptual and
physical models.
MERISE is based on the separation of data and processing and on the construction of conceptual,
logical and physical models of data ordered using the Entity Relationship Model.
The MERISE designer will undertake to build a model of the operation of the company but before
that he must outline the main lines. To do this, he will identify the internal actors or domains and
Logical level How do we structure the information? Who does what, when and
where?
Physical level How do we store them? How?
MERISE
Internal External
actor actor
Flow’s Name
The CMC of our system is show on the figure below.
A. MANAGEMENT RULES
Management rules define the constraints related to the management of the IS.
B. DATA DICTIONARY
The data dictionary can be represented in a table as follows:
Entity identification
Identification of the properties of each entity
Identification of the identifiers of the entity
Setting the associations between the entities
Setting the cardinalities
Entities
An entity can be defined as an object of the real world that can be touched or not. It can also be
defined as a set of objects having the same characteristics. An element can be called an entity if
it appears more than one time in the system.
Product
Cashi er # prod_code S équen
# cashi er_i d S équen * prod_name tiel
* cashi er_Fname t i e l regi ster sal e * prod_type T exte
* cashi er_Lname T exte * prod_cp T exte bel ongs
* cashi er_tel T exte quanti ty * prod_sp Numéri que
T exte cost * prod_wei ght Numéri que
* cashi er_emai l
T exte rei mburse_cost * prod_uni t_pri ce Réel
payment date Réel
recei pt_number
bel ongs to
has
Category
Compactment
has has # cat_i d S équentiel
# com p_i d S équen
i s found i n * cat_name T exte
* comp_name t i e l
T exte
III
CONCEPTION PHASE
PREAMBLE
In this section, we are going to study in detail our project, it is necessary to engage ourselves in
this phase because it is very crucial for the realisation of the project. Our future software will depend on
this phase and it will also permit us to develop an application that will be fast.
Product
Cashi er # prod_code S équen
# cashi er_i d S équen * prod_name tiel
* cashi er_Fname t i e l regi ster sal e * prod_type T exte
* cashi er_Lname T exte * prod_cp T exte bel ongs
* cashi er_tel T exte quanti ty * prod_sp Numéri que
T exte cost * prod_wei ght Numéri que
* cashi er_emai l
rei mburse_cost * prod_uni t_pri ce Réel
T exte
payment date Réel
recei pt_number
bel ongs to
has
Category
Compactment
has has # cat_i d S équentiel
# com p_i d S équen
i s found i n * cat_name T exte
* comp_name t i e l
T exte
The OMT is based on the treatment concepts, the events, the phase or procedure and the result.
The starting point of the transition process of a CMT to an OMT is the CMC. The OMT can be
summarized using the formula below:
bel ongs to
Compactment Category
At the end of the conception phase which permitted us to conceive a solution to our software through
the drawing of the Conceptual data model, the organisational data model and the logical data model.
We can now move to the next level because we have all the information necessary for the deployment
of our software and the different classes needed for it realisation. It is then possible for us to move to
the next level which is the realisation phase in which we are going to effectively implement the
solution.
IV
IMPLEMENTATION PHASE
PREAMBLE
After conceiving, the realization document corresponds to phase where the different use case need
to be concretely implemented. It permits to describe the software as an instrument that is visible and can
be manipulated.
The implementation document is a file, which requires much more concentration during implementation
because it carries all the preceding files. It is in this phase that most of the significant points of the awaited
application are developed. It will this be question here the presentation of the physical model of data
attached to it the DBMS., the PDM, the tools used for the realisation of the application, the architecture
of the application, the programming language chose, the results obtained as well as the source code and
the comments. During the presentation of the analysis and conception phase using 2TUP, these phases
was successfully realized in the left and right branches s respectively Here we will present the part of
2TUP which pouts forward the coding and the receipt.
A physical data model (or database design) is a representation of a data design as implemented, or
intended to be implemented, in a database management system. In the lifecycle of a project it typically
derives from a logical data model, though it may be reverse-engineered from a given database
implementation.
Product
Prod_i d NUM ERIC <pk>
cashi er_i d INT 4 <fk1>
cat_i d INT 4 <fk2>
prod_name T EXT T
Cashi er Prod_type EXT
prod_cp NUMERIC
cashi er_i d NUM ERIC <pk>
prod_sp NUMERIC
Compactment Category
FK_CAT EGORY_HAS_COMPACT M
com pact_i d NUM ERIC <pk> cat_i d NUM ERIC <pk>
compact_name T EXT compact_i d INT 4 <fk>
cat_name T EXT
The Softwares used in the realization of our system are listed below.
XAMPP
XAMPP stands for Cross-Platform (X), Apache (A), MariaDB (M), PHP (P) and Perl (P). It is a
simple, lightweight Apache distribution that makes it extremely easy for developers to create a
local web server for testing and deployment purposes. Everything needed to set up a web server
– server application (Apache), database (MariaDB), and scripting language (PHP) – is included
in an extractable file. XAMPP is also cross-platform, which means it works equally well on
Linux, Mac and Windows. Since most actual web server deployments use the same components
as XAMPP, it makes transitioning from a local test server to a live server extremely easy as well.
Dreamweaver
Adobe Dreamweaver is a proprietary web development tool developed by Adobe Systems.
Dreamweaver was created by Macromedia in 1997, and was maintained by them until Adobe
Systems acquired Macromedia in 2005.
MySQL
MySQL is an open-source relational database management system. MySQL is a database
management system. A database is a structured collection of data. It may be anything from a
simple shopping list to a picture gallery or the vast amounts of information in a corporate network.
Photoshop
Adobe Photoshop is a raster graphics editor developed and published by Adobe Systems for
macOS and Windows.
PHP
PHP is a server-side scripting language designed for web development but also used as a general-
purpose programming language. PHP (recursive acronym for PHP: Hypertext Preprocessor) is a
widely-used open source general-purpose scripting language that is especially suited for web
development and can be embedded into HTML. This is the most traditional and main target field
for PHP. You need three things to make this work: the PHP parser (CGI or server module), a
web server and a web browser. You need to run the web server, with a connected PHP installation.
2TUP’s is a unified process (i.e. a software development process) built on the UML modelling
language. Every process answers the following main characteristics.
It is an incremental process, allowing a better technical and functional risk management and
thus constituting the deadline and the costs control.
It is an iterative process. The degrees of abstraction are increasingly precise at each iteration.
It is component oriented, offering flexibility to the model land supporting re-use.
It is user oriented because it is built from their expectations.
The 2TUP process answers to the constraints of change of the information systems subjected
themselves to two types of constraints: functional constraints and technical constraints.
In concrete terms, two branches (tracks) model the process:
A functional track (capitalization of knowledge trade)
A technical track (re-use of a technical knowhow).
Then these two tracks amalgamate for the realization of the system. This is why this process is called
the Y shaped process. With this development process, a model is essential in order to anticipate the
results. A model can be used with each step of the development with an increasing detailed manner
1. Implementation
The first phase of the implementation starts with the preliminary study, which introduces the project.
The specifications, initial document of the functional and technical needs, are partly the result of
this work. It is supplemented by the modelling of the total system context. Not everything is to be
described at this stage but simply to identify the external entities interacting (actors), to list the
interactions (messages) and to represent this unit on a model (context).
a) Feature/Functional Branch
The functional branch makes an inventory of the functional needs and analysed it. This
phase formalize and specifies the elements of the preliminary study. The applied use case
technique translate the whole interaction between the system and the actors. The obtained
us cases are then organized (treated on a hierarchical based, generalized, specialised…).
They made it possible to identify the classes and they permit the oriented object modelling
generated in the analysis part.
c) Middle Track
The medium branch supports the preliminary design , the detailed design, coding, the tests
and the validation. The preliminary design is one of the most sensitive steps of the 2TUP
process. It represents the fusion of the functional and technical tracks. It finishes when the
deployment model (working stations, architectures), the operating model (components,
applications), the logical model (classes diagrams, classes), interfaces (users and
components) and the software configuration model are defined.
The detailed design conceives and documents very exactly the code that will be generated. It is
largely founded on MERISE representations and implements, in an iterative manner, a system
construction process to obtain a “model ready to code”. The various components carried out in
the detailed design are coded. The code unites obtained are tested as they are written and
produced. The validation, called “recipe” step, consists of the homologation of the developed,
system functions.