Vue

Recently on Base22 we started to test Vue:

Vue (pronounced /vju?/, like view) is a progressive framework for building user interfaces. Unlike other monolithic frameworks, Vue is designed from the ground up to be incrementally adoptable. The core library is focused on the view layer only, and is very easy to pick up and integrate with other libraries or existing projects. On the other hand, Vue is also perfectly capable of powering sophisticated Single-Page Applications.

More important, we focused on evaluate Vue on an Enterprise environment, our findings are documented on the next Base22 public wiki page: Vue.js

Note: the article is oriented to provide a none technical overview of Vue.

I really hope you find this information useful.

How to extend Dust filters using jQuery

JavaScriptDust is a JavaScript templating engine designed to provide a clean separation between presentation and logic without sacrificing ease of use. It is particularly well-suited for asynchronous and streaming applications.

Inside its core, Dust offer a set of filters that can be used in specific scenarios like to force HTML escaping, but does not offer filters for all the possible scenarios.

So If you want to see how how you can easily extend Dust filters using jQuery, read How to extend Dust filters using jQuery in the Base22 Knowledge Wiki.

Note: Dust documentation makes the following assertion when you use filters: “all output values are escaped to avoid Cross Site Scripting (XSS) unless you use filters.”, but only applies to the default filters that brings Dust. If you create your own filters, they are still protected against XSS unless used in conjunction with the default Dust filters.

Hope you find this information useful!!

Integrating Atlassian Confluence with WebSphere Portal v8

logoConfluence-390x242In Base22.com site there is a section called Knowledge Base Wiki that shows the most resent entries of the public Knowledge Wiki of the company, a space were we share the best practices and lessons-learned about methods and the technology platforms we use.

If you want to see how we integrate Atlassian Confluence with WebSphere Portal v8, read: Integrating Atlassian Confluence with WebSphere Portal v8 in the Base22 Knowledge Wiki.

Hope you find this information useful!!

How to comparing the performance of different JavaScript snippets by running benchmarks?

JavaScript

Perform JavaScript benchmarks by “hand” sometimes consume a lot of time, can be tedious and can be considered a hard task, well, hopefully I recently discover a nice tool called jsPerf to perform that JavaScript benchmarks tasks.

jsPerf is:

“jsPerf aims to provide an easy way to create and share test cases, comparing the performance of different JavaScript snippets by running benchmarks. But even if you don’t add tests yourself, you can still use it as a JavaScript performance knowledge base.”

jsPerf is powered by Benchmark.js a JavaScript benchmarking library that works on nearly all JavaScript platforms, supports high-resolution timers, and returns statistically significant results. Kudos to John-David Dalton for his awesome work on this project!

If you are looking for a specific topic the site already have a list of test case, I have used the thread DOM vs innerHTML based Templating and created two versions to test some JavaScript Template Engines, so go ahead and start creating your own test cases!!

My versions