You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: addresses-scheme/readme.md
+22-10Lines changed: 22 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -9,10 +9,13 @@ The discussions around `ipfs:` vs. `dweb:` is a confusing one that's been going
9
9
10
10
There are a few goals tugging against each other:
11
11
1. The Noble Goal: Unify the filesystem-database-web rift
12
-
2. The Quick Fix: Follow URL orthodoxy
12
+
2. The Quick Fix: Conform to URL orthodoxy
13
13
3. The Design Goal: Create Addresses that People will Love Using
14
+
4. The Clean-Namespaces Goal: Avoid polluting the scheme namespace with multiple schemes
14
15
15
-
Regardless of which goals resonate with you, there are a number of important factors that have to be handled by any schema. A number of those factors are collected & discussed in these issues:
16
+
This has led to some competing approaches -- mainly the 'dweb:' Approach and the 'ipfs:' Approach -- and some possible compromises.
17
+
18
+
Regardless of which goals and approaches resonate with you, there are a number of important factors that have to be handled by any schema. A number of those factors are collected & discussed in these issues:
## The Noble Goal: Unify the filesystem-database-web rift
@@ -43,6 +46,20 @@ also
43
46
@jbenet agreed to that pragmatism:
44
47
> **These goals are secondary in time to getting browser adoption. Meaning that we CAN do things like recommend ipfs:// ipns:// ipld://** IF browser vendors think that it's unlikely to get adoption this way now. We can work on unifying the fs-db-web rift later. **We're not dogmatic, we're pragmatic.** But we want to make sure we push in the right places and try to make as much as we can better.
45
48
49
+
## The Quick Fix: Conform to URL orthodoxy.
50
+
51
+
The short-term fix that people reach for is to create an `ipfs:` schema, as proposed in https://github.com/ipfs/specs/pull/139. This would conform to established habits around the use of URLs.
52
+
53
+
## The Design Goal: Create Addresses that People will Love Using
54
+
55
+
From a design perspective, the challenge is to create a schema that makes intuitive sense, maximizes possibilities, and allows people to identify content with addresses that are reliable, powerful, and pleasant to use.
56
+
57
+
## The Clean-Namespaces Goal: Avoid polluting the scheme namespace with multiple schemes
58
+
59
+
If we do this wrong, the growth of decentralized web technologies will cause a proliferation of schemes that will quickly become unwieldy, will discourage interoperability, and will maintain a high barrier to innovation in the protocol space.
60
+
61
+
## The `dweb:` Approach
62
+
46
63
### Strengths of this Approach
47
64
48
65
_PLEASE HELP FILL THESE_
@@ -57,29 +74,24 @@ as @lidel [comments](https://github.com/ipfs/specs/pull/153#discussion_r10429128
57
74
### Criticisms of this Approach
58
75
_PLEASE HELP FILL THESE_
59
76
60
-
61
77
### Designing the `dweb:` Schema
62
78
63
79
A draft spec for the `dweb:` schema is under way at https://github.com/ipfs/in-web-browsers/issues/28
64
80
65
-
## The Quick Fix: Follow URL orthodoxy.
81
+
## The `ipfs:` Approach
66
82
67
83
The short-term fix that people reach for is to create an `ipfs:` schema, as proposed in https://github.com/ipfs/specs/pull/139. That approach seems simple at first, but it's got problems.
68
84
69
85
### Criticisms of this Approach
70
86
71
-
#### Reason 1: We want IPFS, IPNS and IPLD to be handled by a single schema
87
+
#### Criticism 1: We want IPFS, IPNS and IPLD to be handled by a single schema
72
88
Creating an `ipfs:` schema would not be enough because `ipfs:` only refers to mutable content. You would, at the very least, need an `ipns:` schema too.
73
89
74
90
The `dweb:` schema dodges this by treating IPFS and IPNS as namespaces within a single `dweb` address scheme
75
91
76
-
#### Reason 2: This would worsen the filesystem-database-web rift
92
+
#### Criticism 2: This would worsen the filesystem-database-web rift
77
93
See [The Noble Goal: Unify the filesystem-database-web rift](#the-noble-goal-unify-the-filesystem-database-web-rift) above.
78
94
79
-
## The Design Goal: Create Addresses that People will Love Using
80
-
81
-
From a design perspective, the challenge is to create a schema that makes intuitive sense, maximizes possibilities, and allows people to identify content with addresses that are reliable, powerful, and pleasant to use.
0 commit comments