Design pattern for simple file tracker ...

M

Mike

Hey!

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!
Thanks!

// Mike
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top