Download presentation
Presentation is loading. Please wait.
Published byChristal Cross Modified over 9 years ago
1
Web-based Software Development Web-based Distributed Authoring and Versioning Jul 19, 2005 Shin Young Ahn
2
2Web-based Software Development Table of Contents Introduction Introduction WebDAV WebDAV WebDAV Server/Client WebDAV Server/Client Apache2.0 install Apache2.0 install Client snapshots Client snapshots Performance Experiment Performance Experiment Summary Summary
3
3Web-based Software Development Introduction The Net Working together on the same document, wherever you are and whatever you use
4
4Web-based Software Development What is WebDAV? Web-based Distributed Authoring and Versioning. Web-based Distributed Authoring and Versioning. A set of extensions to the HTTP protocol A set of extensions to the HTTP protocol allows users to collaboratively edit and manage files on remote web servers. allows users to collaboratively edit and manage files on remote web servers. The World is a Folder Motto : Motto : Metadata repository infrastructure Metadata repository infrastructure A Web-based network file system A Web-based network file system A replacement protocol that can handle email, calend aring, directory lookup and more A replacement protocol that can handle email, calend aring, directory lookup and more
5
5Web-based Software Development WebDAV - Collections “Namespace” refers to the URL hierarchy “Namespace” refers to the URL hierarchy Collection (“file system folder”) Collection (“file system folder”) A collection of resources A collection of resources A collection is also a resource A collection is also a resource Member resource Member resource “Leaves” in the namespace “Leaves” in the namespace Applies to all kinds of content Applies to all kinds of content not just HTML and images not just HTML and images WebDAV provides operations to create, move, c opy, and delete resources WebDAV provides operations to create, move, c opy, and delete resources
6
6Web-based Software Development WebDAV - Properties Properties are pairs of name and value Properties are pairs of name and value All resources have properties All resources have properties Server-defined & maintained Server-defined & maintained Creation date Creation date Size Size Last Modified Last Modified Client-defined Client-defined Author Author Title Title WebDAV provides operations to create, re move and query properties WebDAV provides operations to create, re move and query properties
7
7Web-based Software Development WebDAV - Locking Prevents the “lost update” problem Prevents the “lost update” problem Identified by authentication and lock token Identified by authentication and lock token Locks have characteristics such as Locks have characteristics such as Timeout Timeout Owners Owners Depth Depth Resources may be locked as Resources may be locked as Exclusive Exclusive Shared Shared
8
8Web-based Software Development WebDAV Standards DeltaV (RFC 3253) VERSION-CONTROL, REPORT, CHECKIN, CHECKOUT, UNCHECKOUT, MKWORKSPACE, LABEL, UPDATE, MERGE, MKACTIVITY, BASELINE-CONTROL DASL (DAV Searching & Locating) SEARCH ACL(RFC3744) (Access Control) ACL WebDAV (RFC 2518) (Distributed Authoring Protocol) PROPFIND, PROPPATCH, LOCK, UNLOCK, MKCOL, COPY, MOVE HTTP (HyperText Transfer Protocol) GET, HEAD, POST, OPTIONS, PUT, DELETE, TRACE
9
9Web-based Software Development WebDAV – HTTP extensions HTTP HTTP Options Options Get Get Post Post Put Put Head Head Delete Delete Trace Trace Connect Connect WebDAV (additional methods) WebDAV (additional methods) PropFind PropFind PropPatch PropPatch MkCol MkCol Delete Delete Put Put Copy, Move Copy, Move Lock, Unlock Lock, Unlock Body == XML Body == XML
10
10Web-based Software Development WebDAV Servers Apache 2.0 Apache 2.0 Subversion Subversion Slide Slide Tamino WebDAV Server Tamino WebDAV Server Oracle Internet File System Oracle Internet File System Microsoft Microsoft Internet Information Server Internet Information Server Exchange Server Exchange Server Sharepoint Portal Server Sharepoint Portal Server Xythos WebFile Server Xythos WebFile Server
11
11Web-based Software Development WebDAV Clients XML Spy XML Spy XMetal XMetal Microsoft Microsoft Office Office Windows Explorer Windows Explorer Adobe Adobe GoLive GoLive Photoshop Photoshop Macromedia Dreamweaver Macromedia Dreamweaver WebDrive WebDrive WebDAVfs WebDAVfs sunDance sunDance DAVExplorer DAVExplorer
12
12Web-based Software Development Apache2.0 configuration Httpd.conf Httpd.conf LoadModule dav_module modules/mod_dav.so LoadModule dav_module modules/mod_dav.so LoadModule dav_fs_module modules/mod_dav_fs.so LoadModule dav_fs_module modules/mod_dav_fs.so DavLockDB var/DavLock DavLockDB var/DavLock Alias /myhome var/DavRoot Alias /myhome var/DavRoot Dav On Dav On
13
13Web-based Software Development Run apache server
14
14Web-based Software Development DAVExplorer
15
15Web-based Software Development MS File Explorer
16
16Web-based Software Development XML Spy
17
17Web-based Software Development Performance? HW environment Local Network P3 750Mhz 256mb client & server Data : 100MB( 3 folders and 41 files) Experiment Copy using WebDAV(Apache 2.0) Copy using NFS of Linux system Copy using FTP Client
18
18Web-based Software Development Performance comparison
19
19Web-based Software Development Summary Use of WebDAV as interoperable network filesystem Use of WebDAV as interoperable network filesystem Can be applied to collaborative tools as well (Exchange) Can be applied to collaborative tools as well (Exchange) Takes advantage of HTTP and XML ubiquity Takes advantage of HTTP and XML ubiquity Excellent level of interoperability for file access Excellent level of interoperability for file access Really reachable from any device / anywhere Really reachable from any device / anywhere Very simple to implement Very simple to implement But... But... Still few implementation glitches Still few implementation glitches https support is still limited https support is still limited Not a high-performance file system Not a high-performance file system Not a replacement for native file system (eg NTFS) Not a replacement for native file system (eg NTFS) Permission management still require custom implementations Permission management still require custom implementations
20
20Web-based Software Development Reference RFCs RFCs RFC 2518: http://www.ietf.org/rfc/rfc2518.txt RFC 2518: http://www.ietf.org/rfc/rfc2518.txt http://www.ietf.org/rfc/rfc2518.txt RFC 2445: http://www.faqs.org/rfcs/rfc2445.html RFC 2445: http://www.faqs.org/rfcs/rfc2445.htmlhttp://www.faqs.org/rfcs/rfc2445.html RFC 3744: http://www.faqs.org/rfcs/rfc3744.html RFC 3744: http://www.faqs.org/rfcs/rfc3744.htmlhttp://www.faqs.org/rfcs/rfc3744.html WebDAV Resources WebDAV Resources http://www.webdav.org/ http://www.webdav.org/ http://www.webdav.org/ Apache2 install Apache2 install http://httpd.apache.org/docs- 2.0/mod/mod_dav.html#example http://httpd.apache.org/docs- 2.0/mod/mod_dav.html#example http://httpd.apache.org/docs- 2.0/mod/mod_dav.html#example http://httpd.apache.org/docs- 2.0/mod/mod_dav.html#example http://www.apache-kr.org/ http://www.apache-kr.org/ http://www.apache-kr.org/
Similar presentations
© 2024 SlidePlayer.com Inc.
All rights reserved.