You are on page 1of 13

CONTENT

CONTENT

PAGE NUMBER
9
10-11
12-17
18
19
20

INTRODUCTION
LAB WORK
RESULT ANALYSIS
DISCUSSION/QUESTION
CONCLUSION
REFERENCES

11

INTRODUCTION
XAMPP is a light-weight easy to install bundle that will allow you to do local development on websites in
case you don't have a server hosted already. Also, I'm being biased here, because frankly I believe in
open source (ironical that I have a mac). Also, I like to scratch and build upwards so that in the long run it
helps me learn better rather than just following manuals and documentation. Since this post is for absolute
beginners, it's good to start out with XAMPP which does the basic task of setting out the environment for
you so you can start building stuff right away.
Anyway, XAMPP consists of the three main things that you need to know when starting web development.
They are:

Apache Web Server


PHP
MySQL
Apache Web Server: It is a web server that allows you to host your websites or any other content for that
matter. Apache is available for UNIX as well as WINDOWS. .
PHP: A server-side programming language which is used to produce dynamic web pages. PHP code can
be embedded within HTML. It is also free and platform-independent which means that it can be installed
on any operating system.
MySQL: It is the world's most popular open source database. It is a Relational Database Management
System (RDBMS) - data and it's relationships are stored in the form of tables that can be accessed by the
use of MySQL queries in almost any format that the user wants.

11

LAB WORK

1.The entity of People was created inside MyDatabase folder in Database.

2.The Attribute was inserted in the People attribute in MyDatabase folder in Database and
the data was inserted in that database.

11

3.The final result was shown as above.

11

RESULT ANALYSIS
1.

11

2.

3.

11

4.

5.

11

6.

7.

11

8.

9.

11

10.

11

DISCUSSION/QUESTION
Case Study
A company has several departments. Each department has a supervisor and at least
one employee. Employees must be assigned to at least one department. Project will
be given to the employee and it will be done in a group. At least one employee is
assigned to one project or more. The important data fields are the names of the
departments, projects, supervisors and employees, as well as the supervisor and
employee number, department code and a unique project number.
Based on the case study, answer all questions below:
1. List down all entities related to this case study.
(a) Employees
(b) Department
(c) Project
(d) Supervisor
2. Identify the attribute for each entity in answer 1.
A. Department
-Name of department
-Department code
B. Employee
-Name of employee
-Employee number
C. Supervisor
-Name of supervisor
-Supervisor number
D. Project
-Name of project
-Unique project number

11

CONCLUSION:
Give a conclusion obtained from the laboratory.
In this practical lab, we was able to learn about Xampp application software. We also
was able to learn about Apache and MySQL that used to create a database. Next, we was
able to know about how to create a database with phpMyadmin. Moreover,We was able to
learn on how to create table for database in phpmyadmin. We also learn about entity and
attribute for database. Last but not least,we also learn about primary key and foreign key
for each of the attribute. Finally, we was able to create our own database.

11

REFERENCE

1. http://geekapod.blogspot.sg/2011/10/brief-introduction-to-xampp.html
2. www.slideshare.net/jinmike008/introduction-to-xampp
3. https://en.wikipedia.org/wiki/XAMPP

11

You might also like