Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Computer Forum


You are currently viewing our Computer Forum as a guest. Please register to participate.
Login



Closed Thread
how to make a local database?
Old 04-18-2010, 02:15 PM how to make a local database?
matt w's Avatar
Super Talker

Posts: 136
Location: kalamazoo
Trades: 0
I hope this is the right place to post this question. The place where I volunteer needs a file system and storage of all their materials. This includes powerpoint, Word, and pdf documents, and possibly more types of files. They want them organized so anyone can find files that are topical to their project. How could I create such a file system? Could I make a local website and have people file and retrieve documents in a Mysql database? Your suggestion?
Thanks,
Matt
matt w is offline
View Public Profile Visit matt w's homepage!
 
 
Register now for full access!
Old 04-18-2010, 04:29 PM Re: how to make a local database?
mantasx's Avatar
Skilled Talker

Posts: 61
Name: Mantas
Trades: 0
I suggest finding a host with a good bandwidth and unlimited space. Then creating a public FTP folder, and allowing people to download files from there. If you know not what FTP is, please google it.

I suggest to make the public Read-Only, so strangers won't go crazy and delete everything.
__________________

Please login or register to view this content. Registration is FREE

Techno | Trance | House | Club
mantasx is offline
View Public Profile
 
Old 04-18-2010, 06:49 PM Re: how to make a local database?
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,371
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
Could I make a local website and have people file and retrieve documents in a Mysql database
Yes, however storing the files on a HDD and the path in a database is much less resource intensive.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
View Public Profile Visit chrishirst's homepage!
 
Old 04-18-2010, 08:25 PM Re: how to make a local database?
matt w's Avatar
Super Talker

Posts: 136
Location: kalamazoo
Trades: 0
Chris,
I don't understand.
matt w is offline
View Public Profile Visit matt w's homepage!
 
Old 04-19-2010, 10:29 AM Re: how to make a local database?
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,371
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Storing files in a database as BLOBs (Binary Large OBjects) takes a lot of resources to store and retrieve them from the database, and of course you need to output them with the correct MIME-type as the content header otherwise the output will appear corrupted.

There are of course good reasons for using BLOBs the oft-quoted one is security as the actual path to the file is never exposed to the end user. However for a local system this doesn't really apply.

It is simpler store the files on a drive and just have the path in the database as a string which you can then output as a link to the user.
So if your files are stored in a site relative folder called "documents" with sub folders for each filetype.
The table structure would then need;

ID document ID
Name Document Name
Type Document type (pdf, doc, docx, jpg etc)
filename Document filename

plus whatever else you need.

And you can have Users & Groups with access rights to certain files or folders, add categories to the documents and so on and you have the basis of a document management/retrieval system.


Just don't get sued by Xerox
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
View Public Profile Visit chrishirst's homepage!
 
Old 04-19-2010, 12:42 PM Re: how to make a local database?
matt w's Avatar
Super Talker

Posts: 136
Location: kalamazoo
Trades: 0
Chris,
I'm having difficulty understanding what your are so ably explaining. But first: Is this the method you would suggest for organizing the files at my people's office?
What do you think is the best method for doing this, regardless of my idea? I should have asked in this way from the start.
Matt
matt w is offline
View Public Profile Visit matt w's homepage!
 
Old 04-19-2010, 03:04 PM Re: how to make a local database?
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,371
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Well it may not be the best, but it's the method we used for when we built a intranet system for a client to keep their contract managers and site foreman up to date with project documents which were often too large to email. By having a single repository of documents and revision database everybody concerned were looking at the same information.
Even some of the more up to date clients could upload documents and alert people to changes with a few minutes.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
View Public Profile Visit chrishirst's homepage!
 
Old 04-20-2010, 12:22 AM Re: how to make a local database?
Banned

Posts: 15
Location: USA
Trades: 0
HI,

I will suggest you to signup with any webhosting provider and host your database with them if you want to use it on net or you can create it at your own system for the local use.
mrhcharlie is offline
View Public Profile Visit mrhcharlie's homepage!
 
Closed Thread     « Reply to how to make a local database?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.77484 seconds with 12 queries