Wednesday, 18 October 2023
I’m working on a mobile application with Apache Cordova ((http://cordova.apache.org)) technology. And one of the tasks was to load a JSON localization file from the content folder. The first idea and actually the most correct (as for me) is to load the file with RequireJS text plugin ((https://github.com/requirejs/text)). The plugin allows loading text file in the same way as usual modules and do not evaluate the content, but return it as a string. So you just specify something like the following. When using TypeScript we can write And this will give us the following JS code of the module (In case of AMD mode in compiler) Unfortunately, it’s not enough in case of localization, because we have to load a specific html file for a specific locale (text!/locale/en/module.html). And we have to a...
Thursday, 23 February 2017
It’s not news anymore that JavaScript is the most cross-platform and cross-tier technology today. Let’s take a look at it. JavaScript can be efficiently used on the server part of Web-server and can a...
Friday, 19 June 2015
In one of my previous posts, (WPF vs. GDI+) I wrote about the performance of WPF and how to solve this problem. After some experiments in Kvinivel we’ve found more improvements to the solution in the ...
Monday, 15 February 2016
Microsoft declares that a new version of .Net and a new alternative dev tool Visual Studio Code will be available for multiple platforms, including Linux. In this post, I will try to describe my Code ...