E - Lawyer Desktop Application PDF
E - Lawyer Desktop Application PDF
E - Lawyer Desktop Application PDF
11 December 2015
Sara Dkhissi
Dr. B.Falah
I would like to express my gratitude and thankfulness to Dr. Falah for his supervision
and guidance through the different stages during the whole semester. His advices were very
constructive and valuable to the project progress, as well as his guidelines which contributed
to a better work and hence good outcomes. I would like also to thank Mr. Abdelouahed Jabri,
the lawyer and client for whom the e-lawyer application is intended. Mr. Jabri trusted my
capacities and skills in carrying out this project and delivering the application, in addition he
helped me a lot in gathering enough knowledge and provided me with several detailed
documents with information about his work.
ii
Table of Contents
1. INTRODUCTION ......................................................................................................... 1
3. Methodology................................................................................................................... 3
7. Difficulties .................................................................................................................... 27
8. Outcomes ...................................................................................................................... 28
8. CONCLUSION ............................................................................................................ 35
9. REFERENCES ......................................................................................................... 36
Appendix A ...................................................................................................................... 37
Appendix B....................................................................................................................... 38
Appendix C ...................................................................................................................... 39
iii
Table of figures
iv
Table of tables
Table 1: Schedule ................................................................................................................ 5
v
ABSTRACT
The capstone project I have been working on is about the development of a desktop
application for a lawyer, Mr. Abdelouahed JABRI. This application also called E-lawyer has
as purpose to help my client in managing his work; as for any lawyer, organization, planning
and management are important criteria required by this job. The different clients’ information,
law cases’ documents and so on should be well saved and documented. E-lawyer application
will offer several features such as managing clients, law cases, and documents; making the
client work easy and efficient. The report reflects the work done and it’s progress and
describes in more details the Capstone project’s stages.
The project’s first stage is the requirements and specification stage. During this stage,
the client’s needs are gathered and proceeded; for e-lawyer application, the requirements were
expressed explicitly. The lawyer gave me detailed specifications about the features the
application should fulfill, documents used during the process of adding new clients/ court
session… in addition of other extra information such as detailed information about the divers
courts in Morocco.
Once this phase done, comes up the feasibility study where the technical aspect is
tackled. This stage is partially driven by the application’s type to be developed, technology
enablers such as programming language, and database.
After the feasibility study done comes the design and analysis phase with the design of
database entities, main use case diagram and sequence diagrams.
Finally comes the implementation phase with a description of all the necessary tools
used to develop the application.
vi
1. INTRODUCTION
The majority of lawyers in Morocco still rely extensively in managing their work using
the traditional way; which does not always help in achieving efficiency and keeping the work
organized.
This type of business involves the usage of big quantity of documents, forms and notes, it also
requires several transit between the office, and courts… some documents tend to be crucial
and any lose can lead to the delay of court session and therefore a waste of time. Due to the
high number of clients, law cases, and court sessions an automated application can turn out to
be very helpful.
The client is Mr. Jabri, a lawyer with a fairly large number of clients and whose office is
located in Casablanca. Mr. Jabri wants an automated solution that will help him in the
achievement of his tasks.
E-Lawyer is a desktop application to be designed for a lawyer business usage. Its purpose is to
automate the lawyer’s work and manage all the lawyer business aspects offering him several
features such as, the possibility to know ahead of time his agenda (covering the whole week’s
activities), the display and access of all his clients’ information, and his law cases with one
click, keeping track of each case’s evolution with its details and more importantly preserving
the confidentiality of clients.
1
2. STEEPLE Analysis
A steeple analysis applied to this Capstone project would help give an insight to the
different macro-environmental factors relevant to it. Since the application is limited to the
lawyer office and affect only his work, the seven macro-environmental factors do not witness
Societal Consideration: E-Lawyer application is limited to one user, who is the lawyer.
Therefore only his work style will be affected and witness some changes; any other
person won’t be affected.
Political Consideration: the client’s business does not interfere with politics and is
does not affect or threaten the country’s political stability or instability.
Legal Consideration: the legal aspect will remain unchanged as well, since the e-
lawyer application does not involve the legal aspect such as taxes.
Economic Consideration: the economic growth is left untouched and the application
will not suppress any job position or cause an inflation.
2
3. Methodology
As a Computer science student, having the skills and knowledge is often not enough;
in many situations, the application to be developed will require a deep understanding of the
functioning of the processes to be automated.
In my case, the capstone project involving law procedures, technical words, data and concepts
requires a preliminary research. In order to build enough knowledge and gather the necessary
information that will be needed during the conception of the application, besides the client
information, I relied on interviews with another two Moroccan lawyers and on internet
explanations.
On the other hand, for the software engineering model I choose to follow for this project the
incremental technique. This technique allows to reduce the risks a project may hold by
breaking the project into a step by step with the possibility to go back in case a change is to be
made in the previous steps.
3
4. Requirements Specification
E-lawyer will be designed according to the needs of Dr. Jabri (the client). The
requirements and specification phase was about gathering all necessary information about the
features wanted. Those features were expressed explicitly by the client in details, in addition
documents used in the lawyer’s office were given along with extra ones containing
information about other entities related to the field, and with whom the lawyer interacts
extensively. The client wants the e-lawyer application to manage all his work’s aspects;
including his clients, documents, law cases, court meeting, and agenda; and emphasized on the
easiness and usability of the desktop application.
Appendices at the end of the report gather the documents I relied partially on to build the
requirements. Those documents including forms were handed by Dr. Jabri who uses them in
his business and with his clients.
During the feasibility study a number of approaches and possibilities were discussed.
Since the client did not set any constrains regarding the technology enablers or software
engineering approaches to use, I had a large choice of possibilities to choose from. In addition
I decided to follow a basic approach, and therefore using a direct connection between the
database and the application. The technology enablers I ended up choosing are described
below:
4
4.1.1.2. Language:
C# is the result of the improvement and updating of many C and C++ features. It is
also a general object-oriented programming (OOP) language for networking and Web
development [2].
4.1.1.3. Platform:
Microsoft Visual Studio is an integrated development environment (IDE) from
Microsoft. It is used to develop computer programs for Microsoft Windows, as well as web
sites, web applications and web services. Visual Studio uses Microsoft software development
platforms such as Windows API, Windows Forms, Windows Presentation Foundation,
Windows Store and Microsoft Silverlight [3].
4.2. Schedule
Table 1 illustrates the different tasks performed since the beginning of the capstone project
with their corresponding dates and period of time it took to achieve them.
Table 1: Schedule
-Interim report
-Testing
5
13 23/11 -Final report and professional CV
The major functional requirements expressed by the client are described below in terms of
purpose, input, output and if any exception:
6
4.3.2.4. Exception:
Exceptions are raised when the user does not select the row to be deleted.
7
4.3.5.2. Input:
The lawyer performs a search, click on the corresponding row and then click on view
button.
4.3.5.3. Output:
The detailed client information form is retrieved from the clients’ forms list and
displayed to the screen.
4.3.5.4. Exception:
Exceptions are raised when the user does not select the row to be viewed and when the
no such form exist.
8
The case form is removed from the list of cases.
4.3.7.4. Exception:
Exceptions are raised when the case form does not exist.
9
Exception is raised when the case form does not exist.
10
The lawyer performs first a search to retrieve the court session, then choses the row
related to the case to be deleted and click on delete button.
4.3.12.3. Output:
The court session is then removed from the list of court sessions.
4.3.12.4. Exception:
Exception is raised when the id entered does not exist or when no row is selected.
11
4.3.14.4. Exception:
Exception is raised when id or folder nb or date field is empty.
12
4.3.18. Appointments Management: Edit appointment
4.3.18.1. Purpose:
The lawyer should be able to edit an appointment with new information.
4.3.18.2. Input:
The lawyer should click on the appointment to edit.
4.3.18.3. Output:
The appointment is updated and saved with the new modifications in the list of
appointments.
13
4.3.21. Documents Management: Delete document
4.3.21.1. Purpose:
The lawyer should be able to delete documents by entering the case id and selecting on
of the documents that appear in the list.
4.3.21.2. Input:
The lawyer should enter the case id and select the document to be deleted.
4.3.21.3. Output:
The document is removed from the list of documents.
4.3.21.4. Exception:
Exception happens when no id is entered before clicking on delete button.
14
4.3.24. Contact Management: Search contact
4.3.24.1. Purpose:
The lawyer should be able to search for contacts using different ways such as type, or
name.
4.3.24.2. Input:
The lawyer should enter the search information.
4.3.24.3. Output:
A list of contacts is displayed to the lawyer with corresponding information.
15
An exception happens if no row is selected before clicking on the button.
16
The lawyer should search for the procedure by entering at the beginning the case id and
then selecting the procedure to delete from the list displayed.
4.3.29.3. Output:
The procedure is deleted from the procedures’ list.
4.3.29.4. Exception:
An exception happens if id entered doesn’t exist or no row is selected.
17
4.4. Non functional requirements
The application is user friendly, and provide a simple interface to facilitate the
interaction with the user and its understanding. The application has a simple and clear
menu allowing the user to directly access his documents, cases….
18
4.4.3. External requirement:
4.4.3.1. Ethical requirement:
E-lawyer application shall rely on ethics to make sure to not infringe any ethical rules
or regulations like not disclosing the clients’ information.
19
5. Design and analysis
5.1. Entity relationship diagram
The entity relationship diagram reflects the project’s database’s tables with their
entities, attributes and relationships. Figure 1 below reflects the EER (enhanced entity
relationship) Diagram created in Mysql Workbench, reflecting the project database
components.
20
5.2. Use Case Diagram
The use case diagram gives a description of the system major components and features
as well as representation of the functionality of your system from a top-down perspective [4].
It includes the actors, system, use case, and relationships between them. Regarding E-lawyer
application, there is only one actor, who is the lawyer that will have access to it. Also a
number of actions are available to him and are represented in more details in figure 2 below.
21
5.3. Sequence diagrams
The sequence diagrams represent the interaction between the different objects over a
specific period of time. They model the flow of logic within the system in a visual manner,
enabling at the same time to both document and validate the logic, and are commonly used for
both analysis and design purposes [5].
Figure 3 shows the sequence diagram of how the authentication process is done.
22
Figure 4 shows the sequence diagram of adding a new client information form. The add is
done through a number of unique steps that the lawyer should follow in order to achieve the
add client information process.
23
5.4. Class diagram
Class diagrams show the classes of the system, their interrelationships (including
inheritance, aggregation, and association), and the operations and attributes of the classes [6].
The figure below illustrates the class diagram of E-lawyer application.
24
6. Development and Implementation
6.1. Mysql database- Visual Studio connection
Figure 2 illustrates a snippet c# code from visual studio used to establish a connection
25
6.2. Authentication code
The figure below shows a snippet code for the authentication process required at the
start of e-lawyer application.
26
7. Difficulties
To achieve those results and fulfill my capstone design project, I had to go through a number
of difficulties and face several obstacles. The majority of the problems I faced was due to my lack of
knowledge about the law field, including how a lawyer business works, the new concepts and
technical data… To get over this obstacles I did several interviews with other lawyers to understand
more the concepts and how the application is supposed to work. The other obstacles were about the
technical aspect; the implementation and the errors/ exceptions it raised, as well as the huge amount of
time it required while being organized and focus; which wasn’t easy.
27
8. Outcomes
By the end of my capstone project, I got the chance to learn several things. I was able to gain
more experience in my field, in developing desktop applications and learning a new programming
language (C#). I also had the chance to acquire a certain knowledge concerning the law field and how
a lawyer business works; in addition of getting a real experience similar to work field; with a real
client.
28
9. Screenshots of E-lawyer application
29
Figure 10: Add client information page
30
Figure 12: Add case information
31
Figure 14: Add procedure to case
32
Figure 16: Search court session information
33
Figure 18: Preview, add and delete case’s document
34
8. CONCLUSION
This report introduces my capstone project and reflects the work’s results; in addition
of details about each phase outcomes. During this period, the project requirements
specification were first gathered then analyzed, the environment’s settings needed for the
development of the application were chosen and established; and the implementation phase
which was one of the major phases required a lot of work. The e-lawyer application is a full
system offering the lawyer a way to handle several aspects of his business with one
application.
35
9. REFERENCES
36
Appendix A
بطاقة المعلومات
األتعاب..............:درهم. المرجـ ــع...............:
تاريخ التسجيل................:
لفائدة.......................................................................................:
رقم بطاقة التعريف الوطنية...................................................................:
العنوان......................................................................................:
الهاتف.......................................................................................:
ضد.........................................................................................:
العنوان......................................................................................:
37
Appendix B
.............................................................................................. المحكمـة: ............................................................... المرجع:
.......................................................................................... نوع الملف: ............................................... تاريخ التسجيل:
........................................................................................... رقم الملف:
........................................................................................... اسم المقرر:
.......................................................................................... القاعــة:
38
Appendix C
39