|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/build-restful-services-in-oracle-apex/
课程评论:没有评论
课程名称:在Oracle APEX中构建RESTful服务 课程概述:RESTful服务,也称为RESTful网页服务或REST API,是遵循表现状态转移(REST)原则的网络服务。REST是一种设计网络应用程序的架构风格,依赖于无状态的客户端-服务器通信协议,通常使用HTTP。Oracle REST数据服务(ORDS)是一个强大的工具,简化了为Oracle数据库(包括与Oracle应用程序表达(APEX)一起使用的数据库)开发和部署RESTful网页服务的过程。ORDS是一个基于Java的网络应用程序,允许您创建RESTful服务,以访问Oracle数据库,提供将数据库对象(如表、视图和存储过程)作为RESTful网页服务公开的方法。 在Oracle REST数据服务(ORDS)中,RESTful网页服务的结构和组织对管理不同端点的定义和行为至关重要。有四个重要术语:模块、模板、处理程序和参数。模块是相关RESTful服务的顶级分组,可以视为一个容器,包含应用程序特定区域或功能的所有相关资源和端点。模板定义与模块内特定资源和操作映射的URL模式。每个模板对应客户端可以交互的特定端点。处理程序是当在模板上调用特定HTTP方法时执行的操作或过程,处理程序是定义与数据库交互或执行操作的实际逻辑的地方。参数用于将额外的数据传递给处理程序,可以是URL路径、查询字符串或请求主体的一部分。参数允许根据客户端提供的输入自定义RESTful服务的行为。我们将涵盖上述所有内容。
RESTful services, also known as RESTful web services or REST APIs, are web services that adhere to the principles of Representational State Transfer (REST). REST is an architectural style for designing networked applications. It relies on a stateless, client-server communication protocol, typically HTTP.Oracle REST Data Services (ORDS) is a powerful tool that simplifies the process of developing and deploying RESTful web services for Oracle databases, including those used with Oracle Application Express (APEX).ORDS is a Java-based web application that allows you to create RESTful services to access Oracle databases.It provides a way to expose database objects like tables, views, and stored procedures as RESTful web services.ORDS allows you to create, manage, and deploy RESTful web services, enabling clients to interact with database resources using standard HTTP methods (GET, POST, PUT, DELETE). In Oracle REST Data Services (ORDS), the structure and organization of RESTful web services are key to managing how different endpoints are defined and behave.There are 4 important terms Modules, Templates, Handlers, and Parameters.Modules are the top-level grouping of related RESTful services. Think of a module as a container that holds all the related resources and endpoints for a specific area or functionality of your application.Templates define the URL patterns that map to specific resources and actions within a module. Each template corresponds to a specific endpoint that clients can interact with.Handlers are the actions or processes that are executed when a specific HTTP method is invoked on a template. Handlers are where the actual logic for interacting with the database or performing operations is defined.Parameters are used to pass additional data to the handlers. They can be part of the URL path, query string, or request body. Parameters allow you to customize the behavior of your RESTful service based on the input provided by the client.We will cover all everything mentioned above.