.Net Agile Blockchaine Dekstop application Development Process Electron.js English Hire Developers JavaScript Marketing Mobile Node.js Python Quantum computer Scrum Single Page Applications Software Development Companies Software Development Company Startup Visual Studio Code Vulnerability Web Web Applications WebRTC Website
Explicit call to RequireJS in TypeScript
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…
Fornt-end with Knockout.js, require.js and TypeScript
Let’s talk about how to correctly organize the front-end with Knockout.js require.js and TypeScript. The problem If we read TypeScript handbook we will find a lot of information about how to load modules with AMD and require.js, and everywhere in samples, we will find something like this import module=require(‘./module’); But in a real application we…
Knockout.js components. What they are and what they are not
What are components? Some time ago, Knockout.js team released a new feature — components. This feature allows developers to build some custom components that will have their own view and logic. Registration of components looks almost like binding registration. ko.components.register(‘mywidget’, { viewModel: function(params) { //Define view model here this.title = ko.observable(“Hello from component!!!”); }, template:…