Jackdaw's Nest A Web Log

[ Log ] [ Projects ] [ About ]

# ReactJS For Stupid People 2015/09/02

React is often mentioned in the same breath as other Javascript frameworks, but "React vs Angular" doesn't make sense because they aren't directly comparable things. Angular is a complete framework (including a view layer), React is not. This is why React is so confusing to understand, it's emerging in an ecosystem of complete frameworks, but it's just the view.

Andrew Ray's Blog

React.js is just the view layer, that's it in a nutshell. Read the full post for some good insights.

# Why ContentEditable is Terrible - Medium Perspective 2015/03/15

I came across some reasoning behind the editor on Medium.com and reasons why contentEditable html5 tags did not work for them. It's written by Nick Santos, one of Medium software engineers. The Medium editor is probably one of the most elegant web html editors there is and, apparently, designing it wasn't that simple a task.

Most of the wysiwyg editors you see these days are broken in one way or another and the html they usually produce is far from optimal. This is probably the number one reason markdown has gained popularity especially among the more tech-savvy crowd. There are many beautiful markdown editors in Ghost and Dillinger to name just a few. However, markdown is definitely not for everyone and Medium has taken another, visually more appealing road.

There's pros and cons in everything. I do like the Medium editor and its simplicity and ease of use. But on the other hand, I'm also a big fan of markdown. There's probably good use cases for both of them. Using contentEditable html5 tags did not work for Medium. It will be interesting to see where where contentEditable will evolve into and what kind of native browser support it will have in the future.

# Wikipedia Moving to HHVM 2015/01/07

Wikimedia Foundation is happy to report that editing Wikipedia is now twice as quick Wikimedia Blog

Wow, Wikipedia is moving to HHVM with some good performance improvements. In addition, they have listed other advantages:

  • HHVM offers sophisticated observability tools, which make it easier to spot bottlenecks and identify opportunities for eliminating unnecessary work.
  • HHVM offers static program analysis

This is big for both HHVM and Wikipedia and opens up new possibilities to "dissolve the invisible distinction between passive and active Wikipedia users".