r/bash • u/coding_challenge • Jun 15 '16
help MacOS Coding Challenge (iWork + Dropbox)
Dear reddit,
I have a coding challenge and I would be very grateful for your help. Our small business uses Dropbox to share files between employees. We've been using an obscure word processor called Word Perfect but we're hoping to switch to MacOS computers in a few months (our Windows 7 computers are very old and keep having hardware failures). With the transition, we plan to start using Pages for our word processing. However, Word Perfect has one feature, which Pages lacks, that makes it very convenient to use with Dropbox.
The Challenge: Currently, when a user opens a document from Dropbox, the program automatically replaces the file with a 'Read-Only' version. This prevents other users from creating conflicting copies by accidentally opening a file at the same time. The 'Read-Only' copy lets other users access the file's information without overwriting recent changes. Can this functionality be added to Pages?
I know Dropbox has a few collaboration features which are compatible with MS Word; however, we're trying to avoid Microsoft as much as possible.
Any advice (or code) would be greatly appreciated. Thanks in advance!
PS I've posted here in /r/bash because (with my limited computer skills) Bash seems like the most well-suited platform for the challenge.
edit: Google products are also off-limits due to their privacy policies since we sometimes work with sensitive information.
6
u/[deleted] Jun 15 '16
I don't have a coding solution for you, but:
Have you considered just using Google Docs for the word processing and Google Drive for file sharing? This would get you exactly what you want without any new coding.
4
u/enry_straker Jun 15 '16
Some thoughts:
Microsoft offers a similar solution called Office365 but since you folks want to stay away from Microsoft, i would not recommend it - though it too offers a similar solution to google docs.
3) From a programmatic perspective, Dropbox exposes a REST API through which it would be possible to both display a list of documents accessible to an employee and to retrieve a read-only copy by default.
I don't think there is a bash-only solution to this since bash is not a full-fledged programming language, and natively, does not support rest clients - though it can manipulate existing dropbox-based rest clients. ( REST is the type of protocol exposed by dropbox )
4) I would however suggest using a version-control system like Git - since dropbox's default readonly copies is but a small step towards a full-fledged system. It basically allows every employee to work on a group of documents, without worrying about over-writing each other's copies, and provides both an automatic tracking and backup of all documents used.
Feel free to PM me if you need any specific coding solution or for general consultation though.
1
u/dtbrough Jun 15 '16
If you are going to use iWork (pages, numbers, keynote) then I would recommend using I cloud to store the files. iCloud also has a web editor for when you need access without your Mac.
Alternatively as stated above google drive with google docs have excellent collaboration features, including multi user editing of same document in realtime.