Skip navigation

DSpace JSPUI

DSpace preserves and enables easy and open access to all types of digital content including text, images, moving images, mpegs and data sets

Learn More
DSpace logo
English
中文
  • Browse
    • Communities
      & Collections
    • Publication Year
    • Author
    • Title
    • Subject
    • Advisor
  • Search TDR
  • Rights Q&A
    • My Page
    • Receive email
      updates
    • Edit Profile
  1. NTU Theses and Dissertations Repository
  2. 管理學院
  3. 資訊管理學系
Please use this identifier to cite or link to this item: http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/68069
Title: 具存取控管之通用資源存取框架J2S與其結構化前端查詢語言之設計
J2S – A General Resource Access Framework with Structured Front-end Query Language and Access Control
Authors: Wei-Jie Liang
梁惟傑
Advisor: 莊裕澤(Yuh-Jzer Joung)
Keyword: ROA,REST,API,快速開發,後端框架,
ROA,REST,API,rapid development,backend framework,
Publication Year : 2017
Degree: 碩士
Abstract: 現今網路存取成本低廉,雲端運算興起,網路服務開發門檻大幅降低,且由以往的業務邏輯導向轉成了資源操作導向,系統架構由 SAO 為主流逐漸轉為 ROA 以及 REST 為主流。服務初期所需的資源增刪改查操作大同小異,若針對每個資源逐一開發 API 會耗費大量開發時間,且前端往往僅以 URL 查詢參數提供有限資訊,極度缺乏彈性,不若對資料庫做存取時有 SQL 等語言可以使用。
本文將提出 GRAF 此一後端系統架構,搭配當今網路開發之主流工具與概念,使資源的增刪改查在後端開發者對路徑註冊資源後立即可用,不需額外撰寫任何程式碼,並將提出一結構化前端查詢語言之設計,其對應到 SQL 常用之功能,賦予前端強大查詢能力。該框架亦提供開發者進行資源存取控制之設計,阻擋未授權操作,並在多個層級提供預設選項以及客製化之功能,目的在使得後端系統開發時程相對於資源數目之複雜度能由 O(n) 降為 O(1),同時允許開發者在多個層級客製業務邏輯。
本文亦驗證作者實作之 j2s 套件符合 GRAF 原則,並能夠完整涵蓋ALCHEMA 此一 IoT 服務提供者對於後端的需求,並確實改善開發流程與縮短開發時間。意即任一遵照 GRAF 原則開發之套件,皆應能大幅縮短網路服務之後端開發者的開發時間。
As web services turn s to more resource oriented from business-activity oriented ones, the once dominant architecture SOA is now gradually replaced by ROA and REST. While developing individual APIs for each resource is time-costly, operations upon different resources are similar. The way using URL query parameters to carry information when sending requests is also less flexible, but database generally provides much powerful data manipulation tools like SQL.
In this thesis, we design the General Resource Access Framework (GRAF), to make resource manipulation service immediately available, requires no extra code written. We also design the Structured Front-end Query Language (SFQL), which empowers front-ends to build complicated query statements. GRAF also allow configurations for access control to block unauthorized access. GRAF aims to lower down the complexity of development time from O(n) to O(1), in respect of resource number.
We also validates that using j2s, a GRAF style npm package, is functionally complete to cover all requirements that ALCHEMA needs, which is an IoT service provider, and that j2s did shorten development time, as we claimed.
URI: http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/68069
DOI: 10.6342/NTU201704520
Fulltext Rights: 有償授權
Appears in Collections:資訊管理學系

Files in This Item:
File SizeFormat 
ntu-106-1.pdf
  Restricted Access
4.36 MBAdobe PDF
Show full item record


Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.

社群連結
聯絡資訊
10617臺北市大安區羅斯福路四段1號
No.1 Sec.4, Roosevelt Rd., Taipei, Taiwan, R.O.C. 106
Tel: (02)33662353
Email: ntuetds@ntu.edu.tw
意見箱
相關連結
館藏目錄
國內圖書館整合查詢 MetaCat
臺大學術典藏 NTU Scholars
臺大圖書館數位典藏館
本站聲明
© NTU Library All Rights Reserved