I Replaced JSON With a Custom Binary Format. In PHP. (opens in new tab)
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