DEV Community

I Replaced JSON With a Custom Binary Format. In PHP. (opens in new tab)

Discussed on DEV

We need to store rich text used for web, apps, UIs and editable in editor. Long time ago, it started as pure HTML in DB. When we wanted to split editing and printing, we opted for JSON. But now we want to manipulate data inside effectively. And there, we decided to create a binary format. It proved to be faster, smaller and easier to change. Background Of Our Rich Text Editing Editor and data #1 - HTML Long, long time ago, as most other developers, we were using TinyMCE, then the other one (t...

Read the original article
Sign in to keep reading the full article.

Keyboard Shortcuts

Navigation

Next / previous post
j/k
Open post
oorEnter
Preview post
v

Post Actions

Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Save / unsave
s

Recommendations

Add interest / feed
Enter
Not interested
x

Go to

Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Discover
gb
Search
/

General

Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help