Latest news about Bitcoin and all cryptocurrencies. Your daily crypto news habit.
The web is in an awkward phase right now. Weâre transitioning from an era where a website was simply a collection of linked pages to one where even using the term âpageâ to describe a particular screen is a giant oversimplification.
When I first started web development, the job was mostly . . .
- Type up some HTML
- Add a little styling
- FTP that baby up to your server and . . .
Boom; youâve published to the internet. Letâs just say itâs rarely that simple anymore.
While itâs tempting to bemoan the loss of that simple early web, itâs important to realize that the early web was simple because the use cases were simple. The web was primarily an online index of documents that could link to each other.
The modern web is a mixture of complex interactions, responsive content, and social layers that make a document-centric approach an awkward paradigm that isnât scaling well to user expectations or needs.
The web wasnât meant to be this way
Itâs a little known fact that the simple document-based approach to the web was not the desired outcome for the early-innovators who built the foundations for the web we know now.
Pioneers like Ted Nelson, Alan Kay, and Doug Engelbart pushed for ideas that go far beyond what we have today. They presented fantastic visions of a future where computing embraced its true digital and collaborative nature to become something entirely new and more powerful.
What we got instead was a bunch of digital documents in digital folders; it does the job, itâs familiar and comfortable, but weâve lost a lot by taking that path.
The web we wanted / The web we got
Documents and pages are the wrong construct for the modern web. I would argue the web should be built in blocks (or components if you will), not documents.
Blocks provide a different way of thinking about web content as a self-contained unit. Perhaps itâs helpful to visualize at a lego brick which you can build documents (or apps)Â with.
In the developer world we call these âcomponentsâ whereas content creators might call this âmicro-content.â For the sake of this article Iâm referring to both of these concerns, among others, simply as a block.
Iâll explain what I mean and why this is a better approach for publishers, end users, and developers alike.
1. Blocks are structured
An open text document, which is where the web started, has no inherit meaning. Any added meaning has to be layered on through tags, meta information, or formatting. There have been many efforts to enrich textual content with more structured meaning over the years and most of these have fallen flat (the semantic web for example).
The problem is multi-faceted, but I think the root of the issue is that the meaning and structure is layered on after the fact rather than being core part of the creation process.
Blocks flip that idea on its head: you donât markup content as being a heading, you create that content as a heading. Thatâs a subtle but profound difference.
2. Blocks are composable
Blocks provide a way to take discrete units of both content and function and put them together in different ways without sacrificing the integrity of the system.
Much effort has been spent trying do this with ânativeâ web technology via complex CSS schemes (BEM, SMACKS etc.), XML, web components, etc. While some solutions are more elegant than others, these techniques try to force a modular, block-centric workflow on document-centric medium and the results are awkward and cumbersome at best.
This problems is largely solved with component-centric frameworks like React or Vue that make the components the first class citizen.
That said, these frameworks have to rely on complex tooling to get out of that document-centric paradigm and put components (blocks) at the top where they should have been all along.
3. Blocks are resilient
Encapsulation is a principle used by programmers to make code more reusable and reliable for decades but it applies equally well to blocks.
Thinking of your content and UI as modular units and then actually developing them that way removes the dissonance of trying to develop block-based content with document-based tech and makes it much easier to ensure quality.
Our team has components we havenât touched in years that are completely self-contained and Just Workâą.
4. Blocks improve collaboration
Blocks are structured enough to allow for a richer form of collaboration than a document can. Historically editors have had to âget out the red penâ or highlight, underline, and leave notes in the margin to give feedback on documents.
Imagine how much better it could be if feedback and reference tools were actually aware of the type of content referenced? For instance, leaving feedback on a video block might timestamp to exactly the spot the feedback was for. Checking the source of a quote could be done automatically in quote block.
Content editing tools are far more powerful when the structure and meaning of a piece of content is known from the beginning and not just layered on afterwards.
I could elaborate more on all of this but this post is getting quite long so Iâll leave you with this:
As awkward as web development can be these days, I think the tides are turning. Weâre moving toward something much better that can embrace the digital mediumâs true nature.
For now we have to circumvent the document-centric nature of web development through tooling and component based web frameworks, but Iâm optimistic these patterns will become more native to the platform over time.
Meanwhile, some of the content creation tools of the future are being built right now using a blocks-centric approach so you can already experience the difference for yourself.
Here a few of my favorite examples:
- Notion: a block-based collaborative workspace for practically any type of content. Notion is probably the best example of the power of a block-based approach to collaborative content.
- Universe: An iOS app for creating web pages from your phone using simple but powerful blocks.
- Qwilr: A block-based tool for creating sale pages, proposals and contracts. This one has been super helpful for creating quick proposals that look great and convert even better.
- Wordpress Gutenberg: The new Wordpress editor is betting heavily on a blocks-based approach to content publishing (a little awkwardly at this point IMO).
Weâre only at the beginning of this shift. My hope is that we can all work together to build the web weâve always wanted, one block at a time.
đ€Block on.
Originally published at www.pathwright.com.
Blocks, Not Pages, Are the Future Of the Web was originally published in Hacker Noon on Medium, where people are continuing the conversation by highlighting and responding to this story.
Disclaimer
The views and opinions expressed in this article are solely those of the authors and do not reflect the views of Bitcoin Insider. Every investment and trading move involves risk - this is especially true for cryptocurrencies given their volatility. We strongly advise our readers to conduct their own research when making a decision.