PHP constructs Semantic Web crud operations

Source: Internet
Author: User
Tags connect php server resource

Create, read, update, and delete (Create/read/update/delete,crud) operations are the most basic database operations, but they are also the most important operations. CRUD operations are usually done using the Structured Query Language (structured query language,sql) in the relational database system. As the web becomes more data-oriented, it needs to move from sql-based crud operations to a semantic web based crud operation. Learn how to use PHP to perform crud operations through a semantically based web.

Common abbreviations

api-application Programming Interface (application programming Interface)

crud-Create/read/update/delete (Create/read/update/delete)

http-Hypertext Transfer Protocol (hypertext Transfer Protocol)

mvc-mode-View-controller (Model-view-controller)

oop-object-oriented Programming (object-oriented programming)

rdf-Resource Description Framework (Resource Description Framework)

sparql-simple protocol and RDF query language (easy Protocol and RDF queries Language)

sql-Structured Query Language (structured query Language)

ui-UI (User interface)

w3c-Web Consortium (World Wide website Consortium)

When developing WEB applications, it is a standard practice to create a database structure that places server-side code for the logical and UI tiers. To connect to a database, the server-side code needs to perform some basic creation, update, delete, and-most important-read records, and so on. Because the Web application's background database is usually a relational database, these CRUD operations are performed using a well-known SQL language. However, as Web development has increasingly adopted object-oriented programming (OOP), the model has changed.

The Resource Description Framework (Resource Description FRAMEWORK,RDF) is an ideal way to describe an object while preserving the meaning of the data. The simple protocol and the RDF Query language, which is pronounced as "sparkle", is a language commonly used to query against the data, because it matches the structure of the RDF itself in the form of statements Protocol. Both RDF and SPARQL are technologies in the so-called Semantic Web stack (Semantic Web stack).

To thoroughly apply semantic Web concepts, you can use SPARQL to apply traditional Web development technologies to RDF data. This article will show you how to use the simplified schema-view-controller (MODEL-VIEW-CONTROLLER,MVC) design model, PHP server-side scripting language, and SPARQL to connect to rdf-in contrast to using SQL in relational database systems.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.