Carl Burks is a software developer for a global financial institution. With over ten years experience in technology and software development for financial organizations and over twenty years of software experience, Carl Burks provides articles, musings and insight into technology issues, software development, and other selected topics.

Book site Vue Version

2017-09-14T19:16:12.000-07:00

Authors:
Carl Burks

I didn't include a screen shot yesterday so here is one:

Book Site

Book Site

I'm not including a screen shot of the knockout implementation, but it looks very close.

Yesterday I uploaded a knockout version of a site that shows books. Today I've uploaded a version in Vue. Which is great because Telerik just announced support for Vue:

Telerik Blog

I don't actually use Telerik at home, but I use it daily elsewhere. I love new technologies and it is really nice when something I'm working with at home is supported.

You can do a diff of my Github Booksite on the knockout folder and the vue folder.

I installed meld with pacman and was able to compare the projects.

Here are some important differences in the HTML:

  • data-binds are now v-somethings
  • Handlebars/Mustache like syntax

Here is the main difference in the JavaScript:

  • Vue viewmodel is more structured

Updates

Knockout is still getting updates. It had a commit on July 23, but Vue was updated 8 hours ago.

Easy of Use

The learning curve between them seemed low enough, and both seemed very easy to use.

Design

I think Vue has a little more structure

License

MIT for Vue MIT for Knockout

Templating

Vue has a Mustache/Handlebars like templating system. I'm in favor of this.

Which would I pick?

I'd probably pick Vue. It is newer and I don't see a lot of community interest in knockout.