0% found this document useful (0 votes)
28 views11 pages

Proyecto Final POO

Uploaded by

jrkt4cz72m
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
28 views11 pages

Proyecto Final POO

Uploaded by

jrkt4cz72m
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 11

“Final programming project”

Class: object oriented programming

Professor’s names:
Daniel Edahi Urueta Hinojosa
Brenda L. Godínez Hernández

Student’s names:
Efraín Galván Rabadán
Giovanny Sixto Martínez
Víctor Ángel Bahena Guzmán

Third four-month period


Grup: RT-14301
Introduction.
Today's world is driven by technology and web programming plays a key role in this
advancement. Our project focuses on exploring the various facets of programming,
from basic concepts to advanced principles. As society becomes increasingly
dependent on computer applications and systems, understanding how they work
and how to create them are essential. In this project we will explore programming
languages, algorithms, data structures and design paradigms, with the object of
fostering the ability to develop innovative and effective solutions to real-world
problems.

This project is structured as follows:


1) Explanation of everything regarding the aims of the project, having an
introduction that would cover the essentials to make it attractive to the reader.
It will include a case study set in a business context based on real world
socioeconomic issues. A list of requirements, which are mainly based on what
was seen necessary to be effective and easy to use regardless of computer
knowledge would be listed. This covers the architecture of the system which
will detail the parts of the project from what the public will see to the lines of
code with which it was created. On the other hand, a model was created on
how this project will operate to solve the issues of our case study.

2) Codes, images of the codes by which the project was developed will be shown
in a detailed yet understandable manner. Testing and images are provided to
prove that the work was done successfully. Lastly, documentation.

This project was carried out by the following persons: Efraín Galván Rabadán, Víctor
Ángel Bahena Guzmán and Giovanny Sixto Martínez, students of the Polytechnic
University of the State of Guerrero, under the course of Networks and
Telecommunications. We taken into account the requirements of warehouse storage
and inventory, intending to solve the problem of the movement of items and providing
sales transactions. To achieve this, items will be categorized based on
characteristics such as quantity, price and name.

Our case study covers the need for a motorcycle parts store. Its premise is located
on a highway in the city of Iguala de la Independencia where there is high traffic. We
observed that the traffic frequency of motorcycles is higher than cars. This results in
a customer base consisting of mostly bikers. Hence the business is aimed at
motorcycle parts. However, that does not mean they do not sell other automotive
products such as oils, brake fluids, antifreeze, etc..

This generates a need to have a very well accounted inventory management system.
The high flow of motorcyclists in search of spare parts makes it very complicated to
keep track of what comes in and out of the warehouse.

Business context.

Bajaj" is a enterprise specializing in selling all types of original and generic spare
parts for any motorcycle. It has competent storage for parts, being considered as
one of the best in the area. It plans to expand both nationally and internationally to
generate more income. The company has become the preferred destination for
motorcycle owners looking for reliable parts because they have high quality
personnel and experts. Their passionate team not only offers top-notch products, but
also personalized advice to ensure that each customer finds the right solution for
their specific needs. Whether for sport, adventure or sport bikes, naked sport or
custom made, Bajaj is committed to keeping motorcyclists on the move in safety and
style. This case study also cover factors such as rider trends in the area, regulations
and requirements for a dealership to operate.
Requerements gathering process
Listed are the requirements highlighted as necessary when conducting a survey of
the refurbishing shop, from most to least important.

Requerement Priority high / Medium/ Low


 That the program, due to its high level of
use, is able to support a high level of
stored data without the need to be
updated very often in order to meet High
storage demands

 Keeping track of input and output of


products in the inventory. This is very
important because it is the main need of
the parts store to keep record of their
merchandise and minimize their losses or High
not to lose any type of product due to
human error.

 A product identifier for each product so


that they can be searched efficiently
without the need to search by name. Medium

 A window was created in which one can


sell the existing products in the inventory
and in the same way this inventory will be
updated depending on the input and Medium
output of products.

 Understandable and efficient user


interface so that any worker, regardless of
his or her computer knowledge, would be
able to use the program without any Médium
complications.
System architecture description.
The program has a very simple architecture, so the client is expected to be able to
understand it and be able to make use of it just by looking at it.

To begin with, we have our program suitable for the specifications and needs of the
owner of the company (sale of spare parts for motorcycles) so we rely on everything
he told us he needed, since he has problems in his inventory so his priority of this
project is to eliminate that problem, we start with our page with an option to register
and have more security once registered this is our menu of

Makeup site

Our project is developed in Java and is divided into:

To start at the time of opening the program it will take us to a window where we can
enter and register users as well as their password to be able to access as shown in
the following image:
Once entering we can do different tasks such as adding purchased products to put
on sale and thus be able to take a much more effective control. Below is a menu
with several options and a registration table.

Below, we present the code


In the controller button they were sent to bring the methods to be able to register
what we entered in the boxes and send it to a table

The set and get methods were implemented to request and give information about
the boxes of each of the product characteristics
Here the database was connected with MySQL and Java

In this part we make a table to be able to add the products that we want to add to
our store
Development
First we started to design the view of the graphical interface with buttons and text
boxes

Once we have the above done, we create the variables of the texts with their
respective constructor by declaring the data type along with their set and get
methods and we also implement the total method to make the sum of the total
Then we create a new package that we call connection within that we create a java
class in which we implement a "connection" method, for this we occupy 2 variables
that are connection and drivermanager

We created the controlled class in which we implemented an ActionListener in which


the registration button is activated with which the aggregated records were carried
out in each text box but first of all we had to verify that our connection was successful
Subsequently, after verifying that we already had the successful connection, now
what was next was to start adding the tables to register their respective data

We create our registration class, within this class we send to call our connection
class which is the main one, that is to say that connects us to the database well once
having called the connection class we proceed to indicate to the program that it has
to insert products in our table what it receives from our get method and assigns it
with our set method and so once functional the records will be shown in
Once knowing that our connection and data saving are correctly we proceed to show
that in our interface table within this in the same way we send to call our connection
and we create our show table method, well within this we already begin to shape it
internally what is done is to call the class of the table that is given by default and we
begin to add columns that bear the name "ID, BRAND, NAME, QUANTITY, PRICE,
TOTAL" successively from that we begin to cite the data that comes from our
products table and what we do is create an object along with all the positions in which
we want them to be inserted in the table once this happened we proceeded to show
the finished model of the table

You might also like