473,903 Members | 4,083 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

WebDAV Server

I'd like to present a view of an internal data store, which has Python
interface built using SWIG, so that my users can traverse and
manipulate the data store using familiar tools. My first thought was
to adapt an existing WebDAV server. However, I cannot seem to find a
simple way to do this. davserver-0.5.1 by Christian Scholz doesn't
work with 4Suite 1.0a3 and I couldn't find an implementation for
twisted. Of course, Zope has a WebDAV server, but I don't know if
using Zope is overkill.

Should I continue down this path and if I do, should I write a WebDAV
server for twisted or bite the bullet and use Zope?
--
Jody Winston

Jul 18 '05 #1
4 3000
Jody Winston:
I'd like to present a view of an internal data store, which has Python
interface built using SWIG, so that my users can traverse and
manipulate the data store using familiar tools. My first thought was
to adapt an existing WebDAV server.
If the data store was ZODB, you would have described Zope.
Of course, Zope has a WebDAV server, but I don't know if
using Zope is overkill.


Perhaps you can use ZServer standalone.

--
René Pijlman
Jul 18 '05 #2
Rene Pijlman <re************ ********@my.add ress.is.invalid > writes:
Jody Winston:
I'd like to present a view of an internal data store, which has Python
interface built using SWIG, so that my users can traverse and
manipulate the data store using familiar tools. My first thought was
to adapt an existing WebDAV server.


If the data store was ZODB, you would have described Zope.


We had to roll our own data store since we deal with terabytes of
data.
Of course, Zope has a WebDAV server, but I don't know if
using Zope is overkill.


Perhaps you can use ZServer standalone.


Thanks, I'll take a look at ZServer.
--
Jody Winston
Jul 18 '05 #3
[Jody Winston]
I'd like to present a view of an internal data store, which has Python
interface built using SWIG, so that my users can traverse and
manipulate the data store using familiar tools.
Have you considered using something like pythonfs: "Linux Filesystem
Drivers for backends written in Python"?

http://pythonfs.sourceforge.net/

Your backend could be your swig-wrapped internal data store. Then your
users could use familiar file management tools on your data store.

It could be exposed to a web server as the document root of the server:
which would be nice because you could pick any standard webserver and
not require it to be in python: every webserver understands filesystems.

Same argument applies to webdav, i.e. you could use a native webdav
module for, say, Apache, layered over your data-store "filesystem ".

[Jody Winston] My first thought was
to adapt an existing WebDAV server.


I'm not sure that adapting someone elses webdav component would be the
most appropriate solution. Most such modules will likely apply their own
semantics to webdav methods and properties, which are relevant only to
their own intended storage mechanism. Take, for example, the subversion
module for apache, which has webdav support. But it performs all webdav
operations directly on the contents of a subversion repository, which
has versioning, branching, labelling semantics, etc.

If you just wanted a read-only view of your data store, I would suggest
using a web framework such as quixote to map uris to your
(hierarchical?) data store somehow. Quixote is structured around the
concept of mapping uris to python objects in a straightforward and
configurable manner, so it might be a good fit. You could then extend
the model to support PUT, POST, HEAD, OPTIONS, etc, methods as well. By
which time you would have implemented a significant proportion of WEBDAV :-)

Which leads onto the question: what operations do you intend to
facilitate on your data store? What kinds of tools do you wish to allow
people to use to access it, and what kinds of operations should those
tools support?

For instance, if your data is more relational than hierarchical, it
might be more appropriate to write an ODBC front-end for your datastore?

regards,

--
alan kennedy
------------------------------------------------------
email alan: http://xhaus.com/contact/alan
Jul 18 '05 #4
Alan Kennedy <al****@hotmail .com> writes:
[Jody Winston]
I'd like to present a view of an internal data store, which has Python
interface built using SWIG, so that my users can traverse and
manipulate the data store using familiar tools.
Have you considered using something like pythonfs: "Linux Filesystem
Drivers for backends written in Python"?

http://pythonfs.sourceforge.net/

Your backend could be your swig-wrapped internal data store. Then your
users could use familiar file management tools on your data store.


The problem that I have with kernel level modules such as fuse is that
I must keep it in sync with the kernel on lots of machines.
(http://www.top500.org/sublist/System.php?id=7058) Life becomes much
easier if I stay only in userspace.
It could be exposed to a web server as the document root of the
server: which would be nice because you could pick any standard
webserver and not require it to be in python: every webserver
understands filesystems.

Same argument applies to webdav, i.e. you could use a native webdav
module for, say, Apache, layered over your data-store "filesystem ".


Adding a module to Apache does allow me to stay in userspace.
However, I have not ever written a module for Apache.
Jul 18 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
4995
by: rbt | last post by:
Has anyone used pure python to upload files to a webdav server over SSL? I have no control over the server. I can access it with all of the various webdav GUIs such as Konqueror, Cadaver, etc. by using a URL like this: webdavs://dav.hostname.com/user_name/uploads My goal is to upload files automatically with a python script. The server requires authentication over SSL which I can do with urllib2 like this:
3
5047
by: Glenn Holliday | last post by:
I want an Access application to use an .mdb file via WebDAV in a remote directory. The Access documentation is silent as far as I can find. I've received some opinions that since Office XP adds more support for WebDAV, there may be a way to do it from Access. But by experiment, I believe the only way to do it is to write at the DAO layer. I've been brainstorming IIS tricks to make the WebDAV directory look like an ordinary location to
0
2065
by: SimpleSimple | last post by:
My company has an IIS 5, ASP.net intranet site that contains documents for employee use. The files are of various types (most often Office) and are stored in blob fields in a SQL2000 database. The organizational structure of the files is virtual and is managed by the database. We find it clunky that in order to manage these documents, the user must download the document, make changes, save the file locally and reupload via a web form...
7
4881
by: Steve Drake | last post by:
All, I am doing a WEBDAV request and I want to pass the users Credentials to the webdav server, eg some code like : Request.Credentials = CredentialCache.DefaultCredentials; This does not work, as I get AUTH FAIL, but if I pass the user name and password by using :
0
1473
by: Alex Radice | last post by:
Hello, We have an application that has a WebDAV interface which office applications (and other applications which understand WebDAV) can use to open and edit documents. We are having a problem with MS Word (and Excel, haven't tested any other apps) misinterpreting the responses from the WebDAV. The sequence of events is as follows:
1
7508
by: =?Utf-8?B?QWxleCBSYWtvdg==?= | last post by:
Hi, I work at a webdav server. And i try to use Word as a webdav client. But I have strange problem. For some files Word sends LOCK command and works with them well. But for others it doesn't do it. My server responses on OPTION command. But it doesn't help. Maybe someone can clerify the question how to tell Word if the document can be opened not in read-only mode
0
3404
by: arjen1984 | last post by:
I am now working on C# with WebDAV on Exchange now to get appointments. When I work local on the domain where the server is, i can get the appointments no problem. When I work outside of it, i get an SecurityException. This is my code to get the appointments: protected void getAfspraken() { NetworkCredential credential = new NetworkCredential("bhees","1234567", "oaicttest"); WebdavSession session = new...
0
1433
by: alexander.stuckenholz | last post by:
Hello all, I have a little problem. I use the PEAR component HTTP_WebDAV_Server to provide webdav access to a virtual file system on my server. With NetDrive or WebDrive everything works fine. Only Windows XP can't connect. When I test the implementation locally on my development environment, I recognized the following:
4
11103
by: DudDav | last post by:
Hi All, I have been trying to configured WebDAV on our current IIS server as an alternative to FTP and have had some mixed success but I've hit a brick wall with one problem. The server (Windows 2003 IIS 6) resides in the DMZ. I have created a virtual directory and directed it to a folder stored on the server. Integrated Windows Authentication and Basic Authentication has been enable along with SSL. I have added a handful of user account...
0
9851
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10882
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10988
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10504
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9692
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
8055
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5897
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4732
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3327
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.