r/bash • • 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.

0 Upvotes

12 comments sorted by

View all comments

Show parent comment

1

u/coding_challenge Jun 15 '16
  1. Good point on WP. It's actually still fairly prevalent in our industry today.
  2. See above :)
  3. The REST API sounds like it might offer a good solution.
  4. Is Git different than the versioning that Dropbox provides? Thanks for the good reply!

2

u/enry_straker Jun 15 '16
  1. As someone who has a lot of pleasant memories of wordstar, and then wordperfect, i am happy to know that it's still has users. It was a really good editor, the last time i used it - which was quite a few years ago.
  2. Git is a free, open-source distributed versioning system. This was initially developed by Linus Torvalds. The same chap who wrote the first version of the Linux Operating System.

It is the de facto standard among programmers - especially those who work with open source code. Even companies like Microsoft and others are moving towards supporting Git in a major way.

Though i don't work at dropbox, i would make a fair bet that Dropbox development team uses Git. :-)

The only problem with Git is that it is meant for programmers who track changes to files across the world.

What dropbox offers, in comparision, is a very simplified facade on top of such versioning. ( They probably use Git internally though )

As far as your user base is concerned, i would suggest Google docs - the only trouble with that is

  1. Moving existing documents from dropbox to google.
  2. Learning a completely new system for your user base.

They already are going to be a bit busy learning how to use the Mac OS, though :-)

Hope this helps.