Yoramk Digital Life

Yoram Kornatzky

Software Architect & Engineer Open Source, Mobile, Web, Cloud, Server

Localization of Sails.js Applications

Sails.js is a popular Node.js MVC framework for web applications. In a recent project, we localized a web application into multiple languages. The Sails.js documentation on this was very useful, but spread over several sections. Here I would like to summarise the actions we took to localize the a...

Making a Node.js Project into an NPM Package

We recently published an NPM package, backand-hosting-s3, intended to sync a local project folder to Backand AWS S3 bucket. This bucket serves our users as a static web site for their AngularJS projects. The package is to be used in Gulp files and in a forthcoming Backand CLI. After completing d...

Make an Ionic App Responsive

Ionic Ionic is an all encompassing framework for building a hybrid mobile app based on AngularJS technology. For look and feel, one can use CSS (.css) or SASS (.scss). Responsiveness Aspects To fit the app to different screen sizes one has two consider these aspects: screen layout font size...

Instructions for an Ionic App Continuous Development

This is the first in a series of posts detailing our construction of an Ionic mobile app whose backend is Backand Backand As A Service (BAAS) solution. Ionic is an all encompassing framework for building a hybrid mobile app based on AngularJS technology. Our app whose source code is to be release...

Generating A Jekyll Static Site with Gulp

Jekyll Jekyll is a static site generator that takes a collection of content pages, and assets such as images, and generates a web site. A Documentation Web Site In an open-source project it is natural to extend the prototypical README to a more extensive documentation of anything ranging from ar...

Functional Tests with Mocha and Chai

Originally appears on the Backand blog Full Stack JavaScript Code In full stack JavaScript development involving JavaScript on either or both the client-side and the server-side, we would like to test function input-output behaviour. In its simplest form, function input-output behaviour specifies...

Using Backand with PHP

Originally appeared in the Backand blog PHP is one of the most common server-side programming languages as evidenced by the popularity of WordPress and MediaWiki, for example. Backand provides a Backend As A Service (BAAS) by automatically constructing a REST API for a database schema specified a...

Keep a Popover Open on Page Refresh

In a PHP web application, we often want to open a popover using JavaScript, say a jQueryUI Dialog widget. What happens when a page reloads, say by periodic refresh? The popover disappears! To preserve the popover open on page refresh, store in the session storage, all data required to create the ...

The Archaeology of Digital Life

Recently, I transformed my computing environment from being Mac and iOs only to include Windows and Android. As parts of my digital life such as bookmarks, reading list, passwords, and others were stored in Mac/iOS only tools, I was at odds. The cross-platform tools that I switched to did not hav...

Making Your Digital Life Portable

I am a Mac and iOS guy. Recently I started consulting in-house at a facility which is based on Windows. Managing all my information digitally, I suddenly became disconnected. On top of that, being away from my home office, I discovered that my iPhone battery runs out pretty quickly, and I must fi...