By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,772 Members | 937 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,772 IT Pros & Developers. It's quick & easy.

Design pattern for simple file tracker ...

P: n/a

Im starting up a new python based project, its a very simple file
tracker for our network. Some people would most likely call this a
kind of asset management system but its much simplier than that!

Anyway, Im running a server for the moment which exists as a Linux
machine with a NFS share on our network. It has a mySQL server
installed as well.

What I want to do is to write some kind of command that uses a
library/module (custom) to transfer a file to the NFS share and at the
same add a post in the mySQL table.

What is the best way to design this little thing?

User->Command->Library/Module/Engine->mySQL/NFS<-Web/PHP ?

What is the best way to transfer and communicate, perhaps implementing
a basic protocol is one way to go but it feels overkill, is there any
modules in python package that can help me? I want this to be as
simple as possible.

And what about the engine, client/server, is it better to separate it?
or is it enough to make calls from the client library to the mySQL
server directly?
All feedback is more than welcome!

// Mike
Jul 18 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.