Java Code Snippet: User Registration and Authentication, Slides of Design

The Java code for a user registration and authentication activity. It includes the definition of constants, interfaces, and classes for handling user input, registration logic, and error messages. The code also includes methods for checking password validity, email validity, and name validity.

Typology: Slides

2021/2022

Uploaded on 09/27/2022

mdbovary
mdbovary 🇬🇧

4.8

(8)

215 documents

1 / 53

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Perfume mixer android app
College of science Al Zulfi
Department of Computer Science and Information
Graduation Project
Submitted in partial fulfillment of the requirements for the award of
Bachelor degree of the Majmaah University
(Semester 2, 2019-20)
Submitted by:
Student: Khaled Alameri ID: 351101358
Student: Faisal Almutiri ID: 351101574
Under the supervision of:
Dr.Yousef Qawqzeh
Kingdom of Saudi Arabia
Majmaah University
Ministry of Higher Education
College of Science Al Zulfi
ةيدوعسلا ةيبرعلا ةكلمملا
ةعمجملا ةعماج
يلاعلا ميلعتلا ةرازو
مولعلا ةيلكيفلزلاب
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35

Partial preview of the text

Download Java Code Snippet: User Registration and Authentication and more Slides Design in PDF only on Docsity!

Perfume mixer android app

College of science Al Zulfi

Department of Computer Science and Information

Graduation Project

Submitted in partial fulfillment of the requirements for the award of

Bachelor degree of the Majmaah University

(Semester 2 , 201 9 - 20 )

Submitted by:

Student: Khaled Alameri ID: 351101358

Student : Faisal Almutiri ID: 351101574

Under the supervision of:

Dr.Yousef Qawqzeh

Kingdom of Saudi Arabia

Majmaah University

Ministry of Higher Education

College of Science Al Zulfi

Abstract

Perfume mixer is android app for the clients to can choose the perfume mixing by one or more of materials. Client can choose the type of perfume and choose the materials included after that the system will calculate the price for it and client will pay it. Do you like playing with scents? Do not know which scent suits you? This app has been created for you. Answer a few simple questions and find out fragrances that perfectly match your personality.

Table of Contents

Abstract ................................................................................................................................ ii

Introduction

Perfume mixer is android app for the clients to can choose the perfume mixing by one or more of materials. Client can choose the type of perfume and choose the materials included after that the system will calculate the price for it and client will pay it. Do you like playing with scents? Do not know which scent suits you? This app has been created for you. Answer a few simple questions and find out fragrances that perfectly match your personality.

CHAPTER ONE: INTRODUCTION

1.1 Problem Definition Undoubtedly when you want buy mixing perfume you have to go to the shop place and choose the materials , you will lose the time and this the problem in time so to provide all this time we create system to buy and sell mixing perfume so the client can login to the app and choose the materials based on the seller materials. This app solve the problem related by time and the materials provided because maybe you want to buy some of special perfume that is not available or it take time to be in stock, this app give you the answer at this question if the material is available or not.

1.1.2 Scope This product has great future scope. Perfume mixer android app. This project also provides security with the use of Login-id and Password, so that any unauthorized users can not use your account. The only Authorized that will have proper access authority can access the software. 1.1.3 Objectives The proposed system aims at achieving the following objectives.

  1. The perfume mixer is android app can run to serve only the products need to mixing especially the perfumes.
  2. It dependent at 2 level of actors clients, admin
  3. Admin is the owner to the shop that he put the price and give each material its features and price.
  4. Client he is the user that choose the materials and mix it together to buy it.
  5. Enable admin to get notification in case the client has left order.

1.1.4 Critical Success Factors In the markets of Saudi Arabia, the families come to Shop some day to buy their perfumes. According to the applicable regulations, the people don’t know if the martials they need in perfume is available or not before they go. Computer has become small and small with each passing year, and nowadays it is available inside a smart phone. In addition, Internet connections travel with people anywhere any time. People use mobile applications in various areas of life, such as education, health, at work, shopping, and entertainment. According to statista.com, there will be more than 24 million smart phone users in Saudi Arabia by 2020, ranked third in the world in terms of smart phone users, which helps in the 1.2 General rules This application will be developed for smartphones that run Android operating system. Another platform like IOS (iPhone) will not be supported at the first stage of the project. . The project assumes that both client and Seller have android smart phone with ability to access Internet. 1.3 Collection of Data Questionnaires and surveys can be efficient ways to collect requirements as long as key stakeholders provide honest and thorough information [1]. A questionnaire is a search tool consisting of a set of questions with the aim of collecting information from the stockholders of the proposed projects. In the questionnaire, the project requirements must be translated into questions that the participant must answer. The questions must be clear and direct to minimize the response error, and it could be distributed as paper or online. In this project, the questionnaire was designed and distributed on papers to the univers ity students. There were 33 responses to the questionnaire. From the results of the questionnaire, we found that all the respondents have not dealt will electronic buy system before. 90 % of the respondents prefer to use computer system to organize the perfume mixer. 90 % of the respondents prefer the system to be on computer, while 90 % prefer mobile application. With regards to the language of the system, we found that 42 % of the respondents prefer buy perfume online, 45 % prefer buy from shop directly,. Finally, all the respondents stated that they will use the proposed application when it is developed. Full questionnaire will be placed in the appendix. 1.4 Literature review There are some projects like the proposed project. We studied some of them and found the advantages and disadvantages of each project. 1.5 Feasibility Study

Perfume mixer android app

3. ماهى المميزات المقدمة للعمل من خالل التطبيق نسبة اإلجابات إجمالي اإلجابات 5 جودة افضل 24.24% 8 6 كل ماسبق 54.55% 18 7 ال شئ مما سبق 3.03% 1 تحليل متوسط: 8.55 انحراف معياري: 8.08 معدل الرضا: 103. اختالف: 65.34 خطأ معياري: 1. تم اإلجابة عليه 33 تم تخطيه 0 **Table 4

  1. هل تشهد صناعة العطور فى المملكة ازدهار فى العشر اعوام الماضية** نسبة اإلجابات إجمالي اإلجابات 1 نعم 69.70% 23 2 ال 3.03% 1 3 ال اعرف 27.27% 9 تحليل متوسط: 1.58 انحراف معياري: 0.89 معدل الرضا: 28. اختالف: 0.79 خطأ معياري: 0. تم اإلجابة عليه 33 تم تخطيه 0 **Table 5
  2. هل يمكن فتح اسواق جديدة خارج المملكة من خالل التطبيق** نسبة اإلجابات إجمالي اإلجابات 1 نعم 68.75% 22 2 ال 3.13% 1 3 ال اعرف 28.13% 9 تحليل متوسط: 1.59 انحراف معياري: 0.9 معدل الرضا: 29. اختالف: 0.8 خطأ معياري: 0. تم اإلجابة عليه 32 تم تخطيه 1

Table 6

6. هل تفضل شراء العطور من خالل االنترنت ام الذهاب الى المحل نسبة اإلجابات إجمالي اإلجابات 1 الذهاب الى المحل 45.45% 15 2 الشراء اون الين 42.42% 14 3 لست مهتم 12.12% 4 تحليل متوسط: 1.67 انحراف معياري: 0.68 معدل الرضا: 33. اختالف: 0.46 خطأ معياري: 0. تم اإلجابة عليه 33 تم تخطيه 0 Table 7 1.5.1 uniquefragrance http://www.uniquefragrance.com is an integrated system that create your ow n fragrance. Figure 1 uniquefragrance Advantages of Unique fragrance System

  1. Become a perfumer yourself and create your very own fragrance. Choose from 50 exclusive ingredients.
  2. Design your own.
  3. Saves time.
  4. Have our fragrance experts develop your unique fragrance according to your wishes and personality.

1.6 Functional and Non-functional Requirements System requirements are expressed in a software requirement document. The Software requirement specification (SRS) is the official statement of what is required of the system developers. This requirement document includes the requirements definition and the requirement specification. The software requirement document is not a design document. It should set out what the system should do without specifying how it should be done. The requirement set out in this document is complete and consistent. The software specification document satisfies the following:-

1 It specifies the external system behaviors.

2 It specifies constraints on the implementation.

3 It is easy to change.

4 It serves as reference tool for system maintainers.

5 It record forethought about the life cycle of the system.

6 It characterizes acceptable response to undesired events.

1.6.1 Functional requirements

  • The System must provide following functionalities—
  • Keeping records of admission of customers.
  • keeping the records of products.
  • keeping the daily sell.
  • Storing the feedback given by the customer. keeping details about the product it is delivered or not. etc.
  • Storing the items selected by the customer in the temporary storage.

1.6.2 Non-functional requirement

Following Non-functional requirements will be there in the Insurance on internet: i). Secure access of confidential data (customer’s details). ii). 24 X 7 availability. iii). Better component design to get better performance at peak time.

iv). Flexible service based architecture will be highly desirable for future extension Non functional requirements define system properties and constraints It arise through user needs, because of budget constraints or organizational policies, or due to the external factors such as safety regulations, privacy registration and so on. Various other Non-functional requirements are:  Security  Reliability  Maintainability  Portability  Extensibility  Reusability  Application Affinity/Compatibility  Resource Utilization 1.7 Design Model All projects go through several phases until they are ready to use. These phases include planning, requirements, analysis, design, implementation and testing. These differe nt phases are called software development life cycle (SDLC). SDLC helps the developers design, create and deliver high quality software by defining various tasks that need to take place [2] System development methodology is a framework that is used to structure, plan and control the process of developing projects [3]. Methodology is the way in which the SDLC phases are implemented. There are many software methodologies, like Waterfall, Agile, Extreme Programming, Scrum and Spiral. Each methodology has advantages and disadvantages. In this project, the Waterfall methodology will be followed. Waterfall is one of the simplest and fastest methodologies. It is a sequential design process, used in software development processes. It means it is not an-iterative process [4]. In Waterfall process, the stage of development life cycle is steadily downwards, when leaving one step, it’s costly to return to it. Waterfall is suitable for this project because project requirements are clear from the beginning of the development process, and the project developers (Group Team Members) are the owners of the project (Client). Therefore, there is no importance to communica tio n between the client and the development team.

android application. In coding phase, Java programming language will be used. After the completion of coding, unit testing must be carried out. Unit testing includes testing of all modules of the application.  Integration and system testing: After the code is developed, unit of the applicatio n is tested. The overall system must be tested to ensure that the application works as expected. In this phase, all proposed application functions will be tested, and output of each function will be verified to compare it with expected output. Also, all objectives of the project must be checked to ensure whether the proposed system achieves the planed goals.  Maintenance: This is the last step of the project development phases. In this phase, the bugs and errors that appear in the testing phases must be fixed. Then the application will be ready for publishing.

Chapter Two: System Analysis and Specification

2.1 Introduction

System analysis is conducted with the aim of studying a system or its parts in order to identify its objectives. It is a problem-solving technique that improves the system and ensures that all the components of the system work efficiently to accomplish their purpose. System analysis includes an understanding of software product limitations, learning system related problems or changes to be done. 2.1.1 Overview diagram (level 0) Data flow diagrams are used to graphically represent the flow of data in a business information system. DFD describes the processes that are involved in a system to transfer data from the input to the file storage and reports generation [6]. 2.1.2 General Overview diagram Figure 3 Dataflow diagram

2.2 Data Modeling

2.2.1 Entity Relationship Diagram (ERD) Entity relationship model is a graphical representation of an information system that depicts the relationships among people, objects, places, concepts or events within that system [7].