LIS618 last lecture building a search interface Thomas Krichel 2011-11-01.

Slides:



Advertisements
Similar presentations
LIS651 lecture 3 taming PHP Thomas Krichel
Advertisements

LIS651 lecture 3 taming PHP Thomas Krichel
With Microsoft Access 2010© 2011 Pearson Education, Inc. Publishing as Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Access.
Quick-and-dirty.  Commands end in a semi-colon ◦ If you forget, another prompt line shows up  Either continue the command or…  End it with a semi-colon.
Maintenance Modifying the data –Add records –Delete records –Update records Modifying the design –Add fields into tables –Remove fields from a table –Change.
Automating the Extraction of Data Behind Web Forms Automating the Extraction of Data Behind Web Forms Brigham Young University Sai Ho Yau.
Creating a Blank Database 1. Open up Microsoft Access 2. Click on Blank document button 3. On the right panel, Specify the location for saving your database.
Database Design Concepts INFO1408 Term 2 week 1 Data validation and Referential integrity.
Some Introductory Programming 1. Structured Query Language - used for queries. - a standard database product. 2. Visual Basic for Applications - use of.
Figure 1. Hit analysis in 2002 of database-driven web applications Hits by Category in 2002 N = 73,873 Results Reporting 27% GME 26% Research 20% Bed Availability.
DAT702.  Standard Query Language  Ability to access and manipulate databases ◦ Retrieve data ◦ Insert, delete, update records ◦ Create and set permissions.
Isis Secure Room Booking Isis Secure Room Booking is an add on module to the latest version of the Sentry Access Control System. It is primarily intended.
1 CS428 Web Engineering Lecture 23 MySQL Basics (PHP - VI)
Introduction To Databases IDIA 618 Fall 2014 Bridget M. Blodgett.
MySQL Dr. Hsiang-Fu Yu National Taipei University of Education
CSCI 6962: Server-side Design and Programming
Chapter 5 Introduction to SQL. Structured Query Language = the “programming language” for relational databases SQL is a nonprocedural language = the user.
With Microsoft Office 2007 Intermediate© 2008 Pearson Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Office 2007 Intermediate.
LIS651 lecture 7 PHP mySQL Thomas Krichel
With Microsoft Access 2007 Volume 1© 2008 Pearson Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Access 2007 Volume 1 Chapter.
Working with Derby. RHS – Creating tables We know how to create a database in Derby – an empty database Next step is to add tables to the database.
* A form is another means of viewing information from a table & displaying the information one record at a time. Access Lesson 1 Lesson Plans Michele Smith.
LIS618 lecture 2 Dialog by example Thomas Krichel
LIS618 lecture 4 before searching + introduction to dialog Thomas Krichel
LIS618 lecture 1 Thomas Krichel economic rational for traditional model In olden days the cost of telecommunication was high. database use.
Python MySQL Database Access
PHP meets MySQL.
Credit Union National Association Installing and Uploading Project Zip Code.
SQL pepper. Why SQL File I/O is a great deal of code Optimal file organization and indexing is critical and a great deal of code and theory implementation.
LIS651 lecture 6 mySQL Thomas Krichel
SQL pepper. Why SQL File I/O is a great deal of code Optimal file organization and indexing is critical and a great deal of code and theory implementation.
Introduction to Internet Databases MySQL Database System Database Systems.
MySQL Databases & PHP Integration Using PHP to write data to, and retrieve data from, a MySQL database.
(Chapter 10 continued) Our examples feature MySQL as the database engine. It's open source and free. It's fully featured. And it's platform independent.
Website Development with PHP and MySQL Saving Data.
Most information comes from Chapter 3, MySQL Tutorial: 1 MySQL: Part.
Creating PHPs to Insert, Update, and Delete Data CS 320.
1 Database Design and Development: A Visual Approach © 2006 Prentice Hall Chapter 8 DATABASE DESIGN AND DEVELOPMENT: A VISUAL APPROACH Chapter 8 Creating.
Online Examination Using Farming Based System Ajay Anand(d ) Kapil More(d ) Sri Ram(d ) Yogesh Patrikar(d )
CS146 References: ORACLE 9i PROGRAMMING A Primer Rajshekhar Sunderraman
NFIRS Data Entry Browser Interface (DEBI)
MICROSOFT ACCESS With your host: Daniel McAllister.
Nov. 10, 2006 GlueX Calibration Database Table Design and Interfaces – Current Status N. Kolev.
Creating a simple database This shows you how to set up a database using PHPMyAdmin (installed with WAMP)
SQL has several parts: Major ones: DDL – Data Definition Language {Defining, Deleting, Modifying relation schemas} DML – Data Manipulation Language {Inserting,
Mr C Johnston ICT Teacher
Task #1 Create a relational database on computers in computer classroom 308, using MySQL server and any client. Create the same database, using MS Access.
USING ACCESS TO SEGMENT SURVEY DATA. OPEN ACCESS You May Need to Search for the Program You May Need to Search for the Program Access is a Database Access.
Class 3Intro to Databases Class 4 Simple Example of a Database We’re going to build a simple example of a database, which will allow us to register users.
IS2803 Developing Multimedia Applications for Business (Part 2) Lecture 1: Introduction to IS2803 Rob Gleasure
There are two types of MySQL instructions (Data Definition Language) DDL: Create database, create table, alter table,,,. (Data Manipulation Language) DML.
Web Application Design. Data –What data is available? –How do we store it or how is it stored in the DB? Schema Data types Etc. –Where is the data?
Using a Database Access97 Please use speaker notes for additional information!
April 20022/CS/3XAPP 1 Database Design Anatomy of an application John Wordsworth Department of Computer Science The University of Reading
Working with MySQL. SWC – Creating tables We know how to create a database in MySQL – an empty database Next step is to add tables to the database.
Final Project Program Improvement Objective (PIO) Database Maintenance Perl Class/CS149 - Prof.Jon Degallier Gokila Nandha Balakrishnan Ohlone College.
VOCAB REVIEW. A field that can be computed from other fields Calculated field Click for the answer Next Question.
DAY 20: ACCESS CHAPTERS 5, 6, 7 Larry Reaves October 28,
Chapter 5 Introduction to SQL.
NFIRS Data Entry Browser Interface (DEBI) nfirs. fema
Introduction to MySQL.
This shows the user interface and the SQL Select for a situation with two criteria in an AND relationship.
NFIRS Data Entry Browser Interface (DEBI) nfirs. fema
PHPMyAdmin.
NFIRS Data Entry Browser Interface (DEBI) nfirs. fema
NFIRS Data Entry Browser Interface (DEBI) nfirs. fema
MySQL Database System Installation Overview SQL summary
NFIRS Data Entry Browser Interface (DEBI) nfirs. fema
MySQL Database System Installation Overview SQL summary
NFIRS Data Entry Browser Interface (DEBI) nfirs. fema
Presentation transcript:

LIS618 last lecture building a search interface Thomas Krichel

structure of talk Build from an example. It is shaky at this time because of issues of UTF-8 encoding.

data is in a relational database mysql> describe ras_biwe_nodes; – | Field | Type | Null | Key | Default | Extra | – – | handle | varchar(10) | NO | PRI | | | – | name | varchar(100) | YES | | NULL | There are other fields in the table but these are the ones that we are interested in.

search box There is no general search option. The search only operates from the page of a given node. The search is to identify a destination node. The node can be found by handle or by name.

code A version of the code is available at 618/code/search.pm.html This a Perl module written to do the search. It’s geeky stuff written by yours truly.

finding by handle If somebody has registered with the RePEc Author Service, her record has a handle. That handle starts with a ‘p’. Then follow two letters that come from the person’s last name, usually the first two. The comes a number. This number increments. Thomas Krichel is pkr1.

search by handle When a user enders something of the form, p2ln where 2l are two lowercase letters and n is a number, we assume the user is givng as a handle to look for. We then try to find in the handle column of a handle that is identitical to the one that the user has entered can be found.

handle search result If the handle search gives us a handle, we have found the target person. We can then proceed to search for the shortest paths and show them to the searcher. Otherwise, we issue a polite error message. This is what function analyse_destination_as_handle does.

search by name This what the function analyse_destination_as_name does. It send a query to the database to find any name that contains the string searches. I.g. ‘ic’ will find krichel. It will also find a lot of other matches.

trim_results We are then trimming the results. First we look if there any words that are made up entirely of the query.

Thank you for your attention!