In many applications unverified data is processed, which often leads to inconsistence or errors.
Therefore the need for applications to validate this data is high. A lot of types of data can be
verified easily but more complex user data such as full-text-addresses pose a great challenge
towards validation.
This paper proposes an exemplary solution for such a validation by describing the development
of a web service that allows a research conference database 1 to validate conference-location-
strings. The validation consists of checking the plausibility of the location string, correction and
standardization of the spelling, classification (City, State, Country, etc.) and providing corre-
sponding data such as latitude and longitude. For this purpose, the web service accesses the
GeoNames database. Consequently, the conference database receives a rich response which it
can also use to provide further information, e.g., embedded maps or HTML5-Microdata-
Markup.
Inhaltsverzeichnis (Table of Contents)
- Introduction
- Basics
- Web Services
- SOAP/WSDL
- RESTful Web Services
- Conclusion and Decision for RESTful Approach
- Slim PHP Framework
- GeoNames
- Web Services
- System Design
- Problem
- Requirements and Structure
- Implementation
- Splitting the string
- Validating the Country
- Validating other Parts
- Accessing GeoNames
- Test-Application
- Testing
- Conclusion and Outlook
Zielsetzung und Themenschwerpunkte (Objectives and Key Themes)
This paper describes the development of a web service for validating conference location strings. It aims to provide a solution for verifying, correcting, and standardizing location data in a research conference database. The web service utilizes the GeoNames database for data enrichment and location validation.
- Validation of conference location strings
- Data enrichment with geographical information
- Web service development using RESTful architecture
- Integration with a conference database
- Comparison of SOAP and RESTful web service approaches
Zusammenfassung der Kapitel (Chapter Summaries)
- Introduction: This chapter introduces the problem of unverified data in applications and highlights the need for validation, especially for complex data like full-text addresses. It describes the purpose and functionality of the developed web service for validating conference location strings.
- Basics: This chapter provides an overview of web services and discusses the advantages and disadvantages of SOAP and RESTful approaches. It introduces the Slim PHP framework and the GeoNames database, which are used in the implementation of the web service.
- System Design: This chapter outlines the problem of location validation and defines the technical requirements and structure of the web service. It presents a clear breakdown of the problem and its solution.
- Implementation: This chapter details the implementation of the web service, including the steps involved in splitting the location string, validating the country, validating other parts of the address, accessing GeoNames, and creating a test application.
- Testing: This chapter focuses on testing the web service using sample data to ensure its reliability and accuracy in validating conference location strings.
Schlüsselwörter (Keywords)
This paper focuses on the development and implementation of a web service for location validation. It utilizes RESTful web services, the Slim PHP framework, and the GeoNames database. Key concepts include data validation, location enrichment, web service architecture, and the comparison of SOAP and RESTful approaches.
- Arbeit zitieren
- Markus Rothenhöfer (Autor:in), 2012, Development of a Location Validation Web Service, München, GRIN Verlag, https://www.grin.com/document/198397