forked from croikle/octothorpe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
project_ideas.txt
58 lines (42 loc) · 1.1 KB
/
project_ideas.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
document sharing
granular access - owner of document can restrict writing
-- even visibility & reading
users & auth*
probably do this in couch itself
step 2; first do global r/w
list of all docs
edit documents
create documents
stretch stuff: operational transform
fork documents
old versions
anycasted global multi-master network for latency (not going to happen)
hot spare
home: list documents, link to create document
create document: title, content
view document: link to edit
live update checkbox
edit document: title, content, delete
can you edit title? sure, why not
note: title doesn't uniquely identify
have some (hidden-ish) id field
what do we do on new version?
while editing: poll for changes and commit mine, every n seconds
if ours was out of date, discard and refresh
(future: use OT)
updates: polling, long polling, websockets
show editors/viewers
lock per-line, merge with basic diff algorithm?
exclusive lock?
what sort of server stack?
client-side js?
php?
node?
ruby/python?
architecture:
linux server
couchdb
apache/nginx
html, js
maybe something server-side
clients access with browser