The document provides an implementation plan for a database to support the Refugio Web System project. It includes an entity relationship diagram, logical database model, data dictionary defining the database tables and columns, functional dependency graph, and SQL script to create the database along with sample data. The plan was prepared by KMDC2 and contains details needed to set up the backend database for the Refugio Web System.
Solo PHP. Niente trucchi e niente inganno (ne Javascript ne Web). Ci imbarcheremo nell’odissea che porta un programmatore a pensare di poter scrivere videogiochi con PHP e SDL. Disegnare sullo schermo, gestire gli input, fare il play di audio e gestire il mixer.
PHPDay GrUSP edition 2022
South East Edmonton Industrial Leasing Opportunities 3000- 6000 Square FeetSCR Commercial Realty
For additional information, or to search for additional properties, please contact:
Jeff Sutherland, Associate
SCR Commercial Realty
780-417-5540
jeff@scrcommercialrealty.com
www.scrcommercialrealty.com
SCR Commercial Realty is a full-service, boutique commercial real estate brokerage serving Edmonton and Area.
A prioritized user story backlog helps to understand what to do next, but is a difficult tool for understanding what your whole system is intended to do. A user story map arranges user stories into a useful model to help understand the functionality of the system, identify holes and omissions in your backlog, and effectively plan holistic releases that delivery value to users and business with each release.
Solo PHP. Niente trucchi e niente inganno (ne Javascript ne Web). Ci imbarcheremo nell’odissea che porta un programmatore a pensare di poter scrivere videogiochi con PHP e SDL. Disegnare sullo schermo, gestire gli input, fare il play di audio e gestire il mixer.
PHPDay GrUSP edition 2022
South East Edmonton Industrial Leasing Opportunities 3000- 6000 Square FeetSCR Commercial Realty
For additional information, or to search for additional properties, please contact:
Jeff Sutherland, Associate
SCR Commercial Realty
780-417-5540
jeff@scrcommercialrealty.com
www.scrcommercialrealty.com
SCR Commercial Realty is a full-service, boutique commercial real estate brokerage serving Edmonton and Area.
A prioritized user story backlog helps to understand what to do next, but is a difficult tool for understanding what your whole system is intended to do. A user story map arranges user stories into a useful model to help understand the functionality of the system, identify holes and omissions in your backlog, and effectively plan holistic releases that delivery value to users and business with each release.
A key feature of TYPO3 today is its extendability and flexibility. Writing extensions was never easier since the Kickstarter, and tslib_piBase. But, time doesn't stand still: new programming paradigms other innovative frameworks came up. It's time to take a next step to faster, cleaner extension coding. With the new Version 5 of TYPO3 and its basis FLOW3 the way to develop extensions will change fundamentally. With Extbase - the new framework for extension development introduced in TYPO3 4.3 - you are able to develop with the paradigms of FLOW3 today. During this talk, you get in touch with the features of the framework to understand how it supports your development process. We also address the users perspective by discussing best practices how to migrate to TYPO3 v5.
n 2010, I told everyone how to start unit testing Zend Framework applications. In 2011, let’s take this a step further by testing services, work flows and performance. Looking to raise the bar on quality? Let this talk be the push you need to improve your Zend Framework projects.
This session will introduce you to the new Form component in Symfony2. With the new domain-driven paradigma and its flexible design, the component opens a door to a wide range of possibilities. The brand new architecture makes creating complex forms easier and faster than ever before. This talk will teach you today what you need to know to build powerful forms tomorrow.
Most iOS apps use one or more UITableViews for at least some portion of their user interface. Unfortunately, UITableViewController code can often be home to monstrous if/else constructs employed to handle cell configuration and user interaction. This talk will illustrate the typical issues encountered with table view code. Whether form-like table views with a fixed number of rows, such as those found in settings views or those used to edit object data, or dynamic tables with multiple sections and rows within each section, you'll learn how to produce concise, readable, and powerful code.
Haben Sie als Zend-Framework-Entwickler nicht schon immer etwas neidisch auf die Konsolenanwendungen der anderen PHP-Frameworks geschielt, mit denen innerhalb kurzer Zeit ein Blog umgesetzt werden konnte? Das Open-Source-Tool ZFrapid schließt diese Lücke und hilft Einsteigern und Profis dabei, im Handumdrehen neue Zend-Framework-Projekte einzurichten, Module zu erstellen und zu konfigurieren und einfache Administrationsoberflächen automatisch zu generieren. Erfahren Sie in dieser Session, wie Sie ZFrapid nutzen können, um die Entwicklungszeit von Prototypen beschleunigen zu können.
OSGI workshop - Become A Certified Bundle ManagerSkills Matter
OSGi is great at enabling you to build your systems out of sets of bundles. In a way, your bundles are your configuration. However, this also requires you to master the identification, assembly and provisioning of all of the components that make-up your system.
* How do you hot-deploy bundles for delivery?
* Is there a simple way of bootstrapping your system with specific configurations that are easy to assemble and kick-start?
* Once your system is "out there" how can you take things one-step further and manage the provisioning remotely?
* Is there an easy way to let the user discover and deploy what he wants, when he wants it?
* How can you do all of these things using existing technologies?
Well, you've come to the right place. In this workshop we will focus on ways to manage OSGi installations. Using a simple example application, we will show you how you can:
* use Fileinstall to hot-deploy bundles into your live application environment
* take advantage of Pax Runner to create and easily bootstrap configurations of bundles
* remotely manage, provision, and audit systems in the field with Apache Ace
* provide, discover, and deploy bundles using Apache Felix OBR
A key feature of TYPO3 today is its extendability and flexibility. Writing extensions was never easier since the Kickstarter, and tslib_piBase. But, time doesn't stand still: new programming paradigms other innovative frameworks came up. It's time to take a next step to faster, cleaner extension coding. With the new Version 5 of TYPO3 and its basis FLOW3 the way to develop extensions will change fundamentally. With Extbase - the new framework for extension development introduced in TYPO3 4.3 - you are able to develop with the paradigms of FLOW3 today. During this talk, you get in touch with the features of the framework to understand how it supports your development process. We also address the users perspective by discussing best practices how to migrate to TYPO3 v5.
n 2010, I told everyone how to start unit testing Zend Framework applications. In 2011, let’s take this a step further by testing services, work flows and performance. Looking to raise the bar on quality? Let this talk be the push you need to improve your Zend Framework projects.
This session will introduce you to the new Form component in Symfony2. With the new domain-driven paradigma and its flexible design, the component opens a door to a wide range of possibilities. The brand new architecture makes creating complex forms easier and faster than ever before. This talk will teach you today what you need to know to build powerful forms tomorrow.
Most iOS apps use one or more UITableViews for at least some portion of their user interface. Unfortunately, UITableViewController code can often be home to monstrous if/else constructs employed to handle cell configuration and user interaction. This talk will illustrate the typical issues encountered with table view code. Whether form-like table views with a fixed number of rows, such as those found in settings views or those used to edit object data, or dynamic tables with multiple sections and rows within each section, you'll learn how to produce concise, readable, and powerful code.
Haben Sie als Zend-Framework-Entwickler nicht schon immer etwas neidisch auf die Konsolenanwendungen der anderen PHP-Frameworks geschielt, mit denen innerhalb kurzer Zeit ein Blog umgesetzt werden konnte? Das Open-Source-Tool ZFrapid schließt diese Lücke und hilft Einsteigern und Profis dabei, im Handumdrehen neue Zend-Framework-Projekte einzurichten, Module zu erstellen und zu konfigurieren und einfache Administrationsoberflächen automatisch zu generieren. Erfahren Sie in dieser Session, wie Sie ZFrapid nutzen können, um die Entwicklungszeit von Prototypen beschleunigen zu können.
OSGI workshop - Become A Certified Bundle ManagerSkills Matter
OSGi is great at enabling you to build your systems out of sets of bundles. In a way, your bundles are your configuration. However, this also requires you to master the identification, assembly and provisioning of all of the components that make-up your system.
* How do you hot-deploy bundles for delivery?
* Is there a simple way of bootstrapping your system with specific configurations that are easy to assemble and kick-start?
* Once your system is "out there" how can you take things one-step further and manage the provisioning remotely?
* Is there an easy way to let the user discover and deploy what he wants, when he wants it?
* How can you do all of these things using existing technologies?
Well, you've come to the right place. In this workshop we will focus on ways to manage OSGi installations. Using a simple example application, we will show you how you can:
* use Fileinstall to hot-deploy bundles into your live application environment
* take advantage of Pax Runner to create and easily bootstrap configurations of bundles
* remotely manage, provision, and audit systems in the field with Apache Ace
* provide, discover, and deploy bundles using Apache Felix OBR
A long time ago in code base not so far away...
It's a time of prosperity and happiness. Development Teams have improved their coding skills and are now very familiar with writing code with proper DocBlock comments and unit tests, safeguarding their code bases against unwanted behaviour. But the evil Internet is building their new weapon against the Development Teams and sneaks through the gaps still uncovered by tests.
Will the Development Teams be in time to safeguard their code base again and bring peace and balance in the universe?
DN 2017 | Reducing pain in data engineering | Martin Loetzsch | Project ADataconomy Media
Making the data of a company accessible to analysts, business users and data scientists can be a quite painful endeavor. In the past 5 years, Project A has supported many of its portfolio companies with building data infrastructures and we experienced many of these pains first-hand. This talk shows how some of these pains can be overcome by applying common sense and standard software engineering best practices.
The most massive crime of identity theft in history was perpetrated in 2007 by exploiting an SQL Injection vulnerability. This issue is one of the most common and most serious threats to web application security. In this presentation, you'll see some common myths busted and you'll get a better understanding of defending against SQL injection.
CakePHP is a nice way of using MVC architecture in you PHP environment. Looking through this presentation you'll get introduced to MVC and get some start up code examples for you to explore.
Polyglot ClickHouse -- ClickHouse SF Meetup Sept 10Altinity Ltd
Presentation by Robert Hodges introducing the many ways that ClickHouse can read and write data from other systems, including MySQL, Kafka, S3, and Snowflake.
Running Intelligent Applications inside a Database: Deep Learning with Python...Miguel González-Fierro
In this talk we present a new paradigm of computation where the intelligence is computed inside the database. Standard software systems must get the data from the database to execute a routine. If the size of the data is big, there are inefficiencies due to the data movement. Store procedures tried to solve this issue in the past, allowing for computing simple functions inside the database. However, only simple routines can be executed.
To showcase the capabilities of our new system, we created a lung cancer detection algorithm using Microsoft’s Cognitive Toolkit, also known as CNTK. We used transfer learning between ImageNet dataset, which contains natural images, and a lung cancer dataset, which contains scans of horizontal sections of the lung for healthy and sick patients. Specifically, a pretrained Convolutional Neural Network on ImageNet is used on the lung cancer dataset to generate features. Once the features are computed, a boosted tree is applied to predict whether the patient has cancer or not.
All this process is computed inside the database, so the data movement is minimized. We are even able to execute the algorithm using the GPU of the virtual machine that hosts the database. Using a GPU, we can compute the featurization in less than 1h, in contrast to using a CPU, that would take up to 32h. Finally, we set up an API to connect the solution to a web app, where a doctor can analyze the images and get a prediction of a patient.
Service discovery and configuration provisioningSource Ministry
Slides from our talk "Service discovery and configuration provisioning" presented by Mariusz Gil at PHP Benelux 2016
Apache Zookeeper or Consul are almost completely unknown in the PHP world, although its use solves a lot of typical problems. In a nutshell, they are a central services of provisioning configuration information, distributed synchronization and coordination of servers/processes. It simplifies the processes of application configuration management, so it is possible to change its settings and operation in real time (eg. feature flagging). During the presentation the typical cases of use of Zookeeper/Consul in PHP applications will be presented, both strictly web and workers running from the CLI.
Similar to Database Implementation Final Document (20)
2. i | P a g e
Table of Contents
Entity Relationship Diagram for Refugio Web System Project ..................................................1
Logical Database Model for Refugio Web System Project ........................................................2
Data Dictionary for Refugio Web System Project ......................................................................3
Functional Dependency Graph for Refugio Web System Project ..............................................5
SQL Script with Sample Data for Refugio Web System Project .................................................6
Declaration...............................................................................................................................14
3. 1 | P a g e
Entity Relationship Diagram for Refugio Web System Project
Prepared by: KMDC2 Date: 16/01/2015
4. 2 | P a g e
Logical Database Model for Refugio Web System Project
Prepared by: KMDC2 Date: 19/01/2015
5. 3 | P a g e
Data Dictionary for Refugio Web System Project
Prepared by: KMDC2 Date: 16/01/2015
Owner
'Owner_ID'int(10) NOTNULL AUTO_INCREMENT,
'Owner_username'char(25) DEFAULT NOTNULL,
'Owner_full_name'varchar(50) DEFAULT NOT NULL,
'Owner_Password'varchar(50) DEFAULT NOT NULL,
'Owner_Email'varchar(50) DEFAULT NOT NULL,
'Contact_Details'int(30) DEFAULT NOTNULL,
'Responses_ID'int(10) NOTNULL AUTO_INCREMENT,
Registrants
'Reg_id'int(10) NOT NULL AUTO_INCREMENT,
'Reg_UserName'varchar(50) DEFAULT NOT NULL,
'Reg_FullName'varchar(50) DEFAULT NOTNULL,
'Contact_Details'int(30) DEFAULT NOTNULL,
'Reg_Password'varchar (20) DEFAULT NOT NULL,
'Reg_Address'varchar(100) DEFAULT NOT NULL,
Accommodation
'Accom_id' int(10) NOTNULL AUTO_INCREMENT,
'Accom_Description'varchar(500) DEFAULT NOT NULL,
'Accom_Type'varchar(50) DEFAULT NOTNULL,
'Accom_Check_in_Time'time(6)DEFAULTNOTNULL,
'Accom_Check_out_Time'time(6)DEFAULTNOTNULL,
'Accom_Price_Details'varchar(6) DEFAULTNOT NULL,
'Accom_No_Bedrooms'int(2) DEFAULTNOT NULL,
'Accom_No_Minimum_Nights'int(3) DEFAULTNOTNULL,
'Accom_Address'varchar(100) DEFAULT NOT NULL,
'Accom_Location'varchar(50) DEFAULT NOTNULL,
'Accom_Capacity'int(12) DEFAULT NOTNULL,
'Accom_Extra' varchar(45) DEFAULT NOT NULL,
'City_ID' int(10) DEFAULT NOT NULL
Country
'Country_id'int(10) NOT NULL AUTO_INCREMENT,
'Location' varchar(50) DEFAULT NOT NULL,
'Description'varchar(500) DEFAULT NOTNULL,
City
'City_id'int(10) NOT NULL AUTO_INCREMENT,
'Country_id'int(10) DEFAULT NULL,
'City_Name'varchar(50) DEFAULT NOTNULL,
7. 5 | P a g e
Functional Dependency Graph for Refugio Web System Project
Prepared by: KMDC2 Date: 16/01/2015
Registrants = 'Reg_id' , 'Reg_UserName','Reg_FullName','Contact_Details' 'Reg_Password',
'Reg_Address'
Owner = 'Owner_ID','Owner_username',`Owner_full_name`'Owner_Password''Owner_Email',
‘Owner_Contact_Details’,‘Responses_ID’
Accommodation = 'Accom_id' ,'Accom_Description','Accom_Type','Accom_Check_in_Time',
'Accom_Check_out_Time','Accom_Price_Details','Accom_No_Bedrooms','Accom_No_Minimum_Nig
hts' , 'Accom_Address','Accom_Location','Accom_Capacity','Accom_Extra' , 'City_ID' ,
Country = 'Country_id','Description' ,'Location'
City = 'City_id','Country_id','City_Name'
Review= 'Review_ID','Review_Description','Review_ExperienceMark','Review_Date'
'Review_Time','Accommodation_ID''Registrant_ID','Booking_ID','Responses_ID'
Response = 'Response_id','Date_of_Response','Time_of_Response','Owner_id'
Booking ='Booking_id','Booking_Arrival_Date','Booking_Departure_Date' ,'Booking_No_Nights',
'Booking_No_In_Party','Accom_id', 'Registrant_id'
Admin= 'Admin_Name','Admin_Password'
8. 6 | P a g e
SQL Script with Sample Data for Refugio Web System Project
Prepared by: KMDC2 Date: 05/03/2015
CREATE DATABASE IF NOT EXISTS `refugio` /*!40100 DEFAULT CHARACTER
SET utf8 */;
USE `refugio`;
-- MySQL dump 10.13 Distrib 5.6.17, for Win32 (x86)
--
-- Host: localhost Database: refugio
-- ------------------------------------------------------
-- Server version 5.6.23-log
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT
*/;
/*!40101 SET
@OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION
*/;
/*!40101 SET NAMES utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS,
UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS,
FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE,
SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
--
-- Table structure for table `accommodation`
--
DROP TABLE IF EXISTS `accommodation`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `accommodation` (
`Accom_id` int(6) NOT NULL AUTO_INCREMENT,
`Accom_description` varchar(500) NOT NULL,
`Accom_check_in_time` time(6) NOT NULL,
`Accom_check_out_time` time(6) NOT NULL,
`Accom_price_details` varchar(50) NOT NULL,
`Accom_no_bedrooms` int(12) NOT NULL,
`Accom_minimun_no_nights` int(10) NOT NULL,
`Accom_address` varchar(100) NOTNULL,
9. 7 | P a g e
`Accom_location` varchar(45) NOT NULL,
`Accom_capacity` int(12) NOT NULL,
`Accom_extras` varchar(45) NOT NULL,
`city_id` int(6) NOT NULL,
`Accom_Type` varchar(50) NOT NULL,
PRIMARY KEY (`Accom_id`),
KEY `city_id_idx` (`city_id`),
CONSTRAINT `city_id` FOREIGN KEY (`city_id`) REFERENCES `city` (`city_id`) ON
DELETE NO ACTION ON UPDATE NO ACTION
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `accommodation`
--
LOCK TABLES `accommodation` WRITE;
/*!40000 ALTER TABLE `accommodation` DISABLE KEYS */;
INSERT INTO `accommodation` VALUES (1,'Stay in the amazing Excelsior Palace Hotel in
the renouned Italian Riviera for an experience of a lifetime. Situated overlooking the
coastline, Excelsior Palace Hotel is just 10 minutes to all local amenities such as bars, clubs,
shops and so on. Experience the breathtaking views across the Tyrrhenian Sea without
interruption from the comfort of the bedroom. Amenities include: Late bar, restaurant, luxury
spa, pool, jacuzzi, Twin / Double / King / Queen rooms as well as a honeymoon suite
','14:00:00.000000','12:00:00.000000','E255pps',200,1,'Viale Pietro Toselli, 8, 98039
Taormina ME, Italy','Italy',650,'AirCon,Internet,SkyTV',1,'Hotel'),(2,'Here at The Mercure
Nice Promenade des Anglais, we know what our guests want. Allow us to take you on a truly
memorable experiance with world class service at your finger tips. Our experienced and
friendly staff know exactly how your trip is meant to go, making it the trip of a
lifetime.','14:00:00.000000','15:00:00.000000','E185pps',200,1,'2 rue Halevy 06000 NICE -
FRANCE','France',650,'AirCon,Internet,SkyTV',2,'Hotel');
/*!40000 ALTER TABLE `accommodation` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `admin`
--
DROP TABLE IF EXISTS `admin`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `admin` (
`admin_name` varchar(50) NOT NULL,
`admin_password` varchar(50) NOT NULL,
PRIMARY KEY (`admin_name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `admin`
10. 8 | P a g e
--
LOCK TABLES `admin` WRITE;
/*!40000 ALTER TABLE `admin` DISABLE KEYS */;
INSERT INTO `admin` VALUES ('Claire','adminTest896'),('Pat','adminTest265');
/*!40000 ALTER TABLE `admin` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `booking`
--
DROP TABLE IF EXISTS `booking`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `booking` (
`booking_id` int(6) NOT NULL AUTO_INCREMENT,
`booking_arrival_date` datetime NOT NULL,
`booking_departure_date` datetime NOT NULL,
`booking_no_of_nights` int(12) NOT NULL,
`booking_no_in_party` int(10) NOT NULL,
`registrant_id` int(6) NOT NULL,
`accom_id` int(6) NOT NULL,
PRIMARY KEY (`booking_id`),
KEY `registrant_id_idx` (`registrant_id`),
CONSTRAINT `registrant_id` FOREIGN KEY (`registrant_id`) REFERENCES `registrant`
(`registrant_id`) ON DELETE NO ACTION ON UPDATE NO ACTION
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `booking`
--
LOCK TABLES `booking` WRITE;
/*!40000 ALTER TABLE `booking` DISABLE KEYS */;
INSERT INTO `booking` VALUES (1,'2012-04-15 00:00:00','2016-04-15
00:00:00',4,3,1,1),(2,'2024-03-15 00:00:00','2030-03-15 00:00:00',7,2,2,2);
/*!40000 ALTER TABLE `booking` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `city`
--
DROP TABLE IF EXISTS `city`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `city` (
`city_id` int(10) NOT NULL AUTO_INCREMENT,
11. 9 | P a g e
`country_id` int(6) NOTNULL,
`city_name` varchar(50) NOT NULL,
PRIMARY KEY (`city_id`),
KEY `country_id_idx` (`country_id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `city`
--
LOCK TABLES `city` WRITE;
/*!40000 ALTER TABLE `city` DISABLE KEYS */;
INSERT INTO `city` VALUES (1,1,'Sicily'),(2,2,'Nice');
/*!40000 ALTER TABLE `city` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `country`
--
DROP TABLE IF EXISTS `country`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `country` (
`country_id` int(6) NOTNULL AUTO_INCREMENT,
`Location` varchar(50) NOT NULL,
`Description` varchar(500) NOT NULL,
PRIMARY KEY (`country_id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `country`
--
LOCK TABLES `country` WRITE;
/*!40000 ALTER TABLE `country` DISABLE KEYS */;
INSERT INTO `country` VALUES (1,'Italy','Stay in the amazing Excelsior Palace Hotel in
the renouned Italian Riviera for an experience of a lifetime. Situated overlooking the
coastline, Excelsior Palace Hotel is just 10 minutes to all local amenities such as bars, clubs,
shops and so on. Experience the breathtaking views across the Tyrrhenian Sea without
interruption from the comfort of the bedroom. Amenities include: Late bar, restaurant, luxury
spa, pool, jacuzzi, Twin / Double / King / Queen rooms as well as a honeymoon suite
'),(2,'France',' Here at The Mercure Nice Promenade des Anglais, we know what our guests
want. Allow us to take you on a truly memorable experiance with world class service at your
finger tips. Our experienced and friendly staff know exactly how your trip is meant to go,
making it the trip of a lifetime.');
/*!40000 ALTER TABLE `country` ENABLE KEYS */;
UNLOCK TABLES;
12. 10 | P a g e
--
-- Table structure for table `owner`
--
DROP TABLE IF EXISTS `owner`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `owner` (
`Owner_ID` int(10) NOT NULL AUTO_INCREMENT,
`Owner_username` varchar(50) NOT NULL,
`Owner_full_Name` varchar(50) NOT NULL,
`Owner_Password` varchar(50) NOT NULL,
`Owner_Email` varchar(50) NOT NULL,
`Owner_Contact_Details` int(30) NOT NULL,
`review_id` varchar(15) NOT NULL,
`response_id` int(10) NOT NULL,
PRIMARY KEY (`Owner_ID`),
KEY `response_id_idx` (`response_id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `owner`
--
LOCK TABLES `owner` WRITE;
/*!40000 ALTER TABLE `owner` DISABLE KEYS */;
INSERT INTO `owner` VALUES (1,'OW22356874','Michael
McCarthy','lightBug2016','m.mccarthy@gmail.com',895634527,'RE4653',1),(2,'OW7554579
82','Mary
Fitzpatrick','EmpireGreenland92','m.fitzpatrick@gmail.com',865439865,'RE8692',2);
/*!40000 ALTER TABLE `owner` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `registrant`
--
DROP TABLE IF EXISTS `registrant`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `registrant` (
`registrant_id` int(6) NOT NULL AUTO_INCREMENT,
`reg_username` varchar(50) NOT NULL,
`reg_full_name` tinytext NOT NULL,
`reg_contact_details` int(30) NOT NULL,
`reg_password` varchar(20) NOT NULL,
`reg_address` varchar(100) NOT NULL,
`reg_email` varchar(50) NOT NULL,
13. 11 | P a g e
PRIMARY KEY (`registrant_id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `registrant`
--
LOCK TABLES `registrant` WRITE;
/*!40000 ALTER TABLE `registrant` DISABLE KEYS */;
INSERT INTO `registrant` VALUES (1,'R23568420','Eoin
Murphy',856497253,'Yellowbutterfly56','23 oakfield drive
Dublin','e.murphy@gmail.com'),(2,'R36875429','Maria
Collins',872576981,'Giantbluecooper2013','7 courtyard newcastle
Sligo','m.collins@gmail.com');
/*!40000 ALTER TABLE `registrant` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `response`
--
DROP TABLE IF EXISTS `response`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `response` (
`response_id` int(10) NOT NULL AUTO_INCREMENT,
`owner_id` int(10) NOT NULL,
`date_of_response` varchar(45) NOT NULL,
`time_of_response` varchar(45) NOT NULL,
`response_description` varchar(500) NOT NULL,
PRIMARY KEY (`response_id`),
KEY `owner_id_idx` (`owner_id`),
CONSTRAINT `owner_id` FOREIGN KEY (`owner_id`) REFERENCES `owner`
(`Owner_ID`) ON DELETE NO ACTION ON UPDATE NO ACTION
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `response`
--
LOCK TABLES `response` WRITE;
/*!40000 ALTER TABLE `response` DISABLE KEYS */;
INSERT INTO `response` VALUES (1,1,'2012-03-15','13:13:00','Dear Customer, r Thank
you very much for your review. It is wonderful that you relish your junior suite and that our
services came to your satisfaction. Kindly be advised although our first class Hotel Excelsior
is not officially star rated we provide a four star service.We hope to welcome you back in the
near future.r Best regards.Michael McCarthy'),(2,2,'2016-03-15','18:34:00','We would like to
thank you for your kind comment about our hotel and service. We appreciate your
14. 12 | P a g e
recommendation which helps us to build a better e-reputation among hotels in Nice. We are
very grateful for having this chance to receive you.r We welcome you to come back visiting
Nice and it would be an honour for us to give you warm reception.r Faithfully yours, Mary
Fitzpatrick');
/*!40000 ALTER TABLE `response` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `review`
--
DROP TABLE IF EXISTS `review`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `review` (
`review_id` int(10) NOT NULL AUTO_INCREMENT,
`review_description` varchar(500) NOT NULL,
`review_Experience_mark` varchar(50) NOT NULL,
`review_Date` date NOT NULL,
`review_Time` time(6) NOT NULL,
`accom_id` int(10) NOT NULL,
`registrant_id` int(10) NOT NULL,
`booking_id` int(10) DEFAULT NULL,
`Response-id` int(10) DEFAULT NULL,
PRIMARY KEY (`review_id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `review`
--
LOCK TABLES `review` WRITE;
/*!40000 ALTER TABLE `review` DISABLE KEYS */;
INSERT INTO `review` VALUES (1,'I spent many hours researching Italian hotels, finally
opting for the 3 star Excelsior, even though 4 stars are my general preference. Junior suites
were good value and the overall hotel ambiance most attractive making it the final choice.
This is a great hotel. ','3','2012-03-15','13:13:00.000000',1,2,2,1),(2,'This Hotel exceeded my
expectations. Lovely room furnished to a high standard. Welcoming staff and a fabulous
location. I would definitely stay here again. Cheap and very cheerful . I am a very very happy
customer. I most certainly will be back. ','4','2016-03-15','18:34:00.000000',2,1,1,2);
/*!40000 ALTER TABLE `review` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Dumping events for database 'refugio'
--
--
-- Dumping routines for database 'refugio'
15. 13 | P a g e
--
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2015-03-05 12:17:2
16. 14 | P a g e
Declaration
Prepared by: KMDC2 Date: 11/03/2015
We as a group, KMDC2, declare that all work enclosed in this document is 100% our own.
We declare that each member has contributed equally to the workload and has participated
in accordance with the requirements of the project specification.
KimHornibrook
ConorMurphy
Daniel Murphy
ConorO’Callaghan
Meghan Walsh