The internet Zurich Water Game

Slides:



Advertisements
Similar presentations
Prime’ Senior Project. Presentation Outline What is Our Project? Problem Definition What does our system do? How does the system work? Implementation.
Advertisements

Participatory simulations for developing scenarios in environmental resource management Nigel Gilbert, Sarah Maltby Tasia Asakawa University of Surrey.
1 Rhode Island Transportation Information System. (RITIS) Spring, 2000.
MSc. Publishing on WWW JavaScript. What is JavaScript? A scripting language devised by Netscape Adds functionality to web pages by: Embedding code into.
What is it? –Large Web sites that support commercial use cannot be written by hand What you’re going to learn –How a Web server and a database can be used.
Multiple Tiers in Action
Introduction to Web Based Application. Web-based application TCP/IP (HTTP) protocol Using WWW technology & software Distributed environment.
14 1 Chapter 14 Database Connectivity and Web Development Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.
E-Commerce The technical side. LAMP Linux Linux Apache Apache MySQL MySQL PHP PHP All Open Source and free packages. Can be installed and run on most.
1 CS428 Web Engineering Lecture 18 Introduction (PHP - I)
WHAT IS PHP PHP is an HTML-embedded scripting language primarily used for dynamic Web applications.
PHP and MySQL Week#1  Course Plan.  Introduction to Dynamic Web Content.  Setting Up Development Server Eng. Mohamed Ahmed Black 1.
The PHP Story. PHP Story PHP is a programming language. Incorporate(join) sophisticated business logic. Widely used general purpose scripting language.
PHP Web Development, PHP Programming
Sys Prog & Scripting - HW Univ1 Systems Programming & Scripting Lecture 15: PHP Introduction.
INFM 603: Information Technology and Organizational Context Jimmy Lin The iSchool University of Maryland Thursday, October 18, 2012 Session 7: PHP.
Databases and the Internet. Lecture Objectives Databases and the Internet Characteristics and Benefits of Internet Server-Side vs. Client-Side Special.
Introduction to Internet Programming (Web Based Application)
PHP and MySQL by Example COMP YL Professor Mattos.
Server & Client  Client: Your computer  Server: Powerful & Expensive computer. Requires network access.
Web Pages with Features. Features on Web Pages Interactive Pages –Shows current date, get server’s IP, interactive quizzes Processing Forms –Serach a.
Web Controlled of Robot Georgi Chakarov Ivelin Stoyanov.
C# AND ASP.NET What will I do in this course?. MAJOR TOPICS Learn to program in the C# language with the Visual Studio IDE (Interactive Development Environment)
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 14 Database Connectivity and Web Technologies.
Overview Web Session 3 Matakuliah: Web Database Tahun: 2008.
Case Study Dynamic Website - Three Tier Architecture
RUBRIC IP1 Ruben Botero Web Design III. The different approaches to accessing data in a database through client-side scripting languages. – On the client.
PHP Introduction PHP is a server-side scripting language.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 14 Database Connectivity and Web Technologies.
Display Page (HTML/CSS)
COSC 2328 – Web Programming.  PHP is a server scripting language  It’s widely-used and free  It’s an alternative to Microsoft’s ASP and Ruby  PHP.
Web Page Designing With Dreamweaver MX\Session 1\1 of 9 Session 1 Introduction to PHP Hypertext Preprocessor - PHP.
Online Voting System by Sanghun Chi ECE345. Introduction Traditional voting system inefficient. Takes time and human resources. Does not give an instant.
PHP stands for …….. “PHP Hypertext Pre-processor” and is a server-side scripting language like ASP. PHP scripts are executed on the server PHP supports.
Presented By Sushil K. Chaturvedi Assistant Professor SRCEM,Banmore 1.
PHP Basics and Syntax Lesson 3 ITBS2203 E-Commerce for IT.
Chapter 13 Web Application Infrastructure
Introduction to Internet Programming (Web Based Application)
Web-based Software Development - An introduction
Web Programming Language
Nigel Gilbert, Sarah Maltby Tasia Asakawa University of Surrey
Web Technologies Computing Science Thompson Rivers University
Top 8 Best Programming Languages To Learn
Introduction to Dynamic Web Programming
Section 6.3 Server-side Scripting
ITM352 PHP and Dynamic Web Pages: Server Side Processing 1.
CSC 301 Web Programming Charles Frank.
Web Development Web Servers.
Introduction and Principles
Content Management Systems
PHP / MySQL Introduction
Web App vs Mobile App.
Database Driven Websites
Web Browser server client 3-Tier Architecture Apache web server PHP
Distributed System Using Java 2 Enterprise Edition (J2EE)
Lecture 1: Multi-tier Architecture Overview
Introduction of Week 11 Return assignment 9-1 Collect assignment 10-1
IntroductionToPHP Static vs. Dynamic websites
Database Connectivity and Web Development
Team Log: Preserve, Share, and Develop Your Ideas
Introduction to PHP.
Snippet Engine as a Database Server
Web Technologies Computing Science Thompson Rivers University
UFCEUS-20-2 Web Programming
Client-Server Model: Requesting a Web Page
Web Servers (IIS and Apache)
Information Retrieval and Web Design
Web Application Development Using PHP
CGS 3066: Web Programming and Design Fall 2019
Presentation transcript:

The internet Zurich Water Game ZWG3

Distributed multi-user models Participants can be anywhere, provided that they have internet access E.g. in their office No duration restrictions Can be involved while doing their ordinary work Can implement private negotiations easily But Less motivation without face-to-face interaction Technical difficulties less easy to solve Requires internet access

Implementation options Client-side Needs to run on many differently configured PCs Java, Javascript OR Server side All software runs on a central server Server generates HTML pages dynamically Client only needs a web browser

Server side implementation Apache web server Standard web server PHP Scripting language All normal programming constructs Basic object orientated features Good interfaces to other software and libraries Relational database PostgreSQL MySQL TCP/IP or other inter-process communication to other models All this is open source, free and available under the GNU licence

Examples Gone Fishing! Zurich Water Game 3 Test the technology Competitive game Simple rules Extensible (robot fishers!) http://www.soc.surrey.ac.uk/~scs1ng/GoneFishing/ Zurich Water Game 3 http://www.soc.surrey.ac.uk/~scs1ng/zwg

The server Program Apache Web PHP Server module HTML Data read/write Page request HTML Data read/write Web page PostgreSQL database

Sample PHP <?php function show_scale($val) { /* display a bar to show value of $val */ $val=round($val); if ($val > 10) $val = 10; if ($val < 0 ) $val = 0; $colour = ($val >= 5 ? 'grn' : 'red'); echo "<td><img SRC=\"images/bar-$colour-$val.jpg\" ALT=\"Value=$val\" width=104 height=14></td>\n"; } ?>

Interface between PHP and database $n_msgs = 3; /* get the last 3 public messages */ $query = new query("SELECT id, sender, recipient, to_char(timesent, 'HH24:MI on DD Mon') as senttime, timeread, msg FROM msgs WHERE (recipient = 'All') ORDER BY timesent DESC LIMIT $n_msgs"); display_msgs($query); ?>