Yoramk Digital Life

Yoram Kornatzky

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

Using Language-Based Media Assets in AngularJS

We were building an AngularJS application intended to support multiple languages, and wanted to tailor its media assets, such as images, for each language. The simple solution was to use ng-src with {{language}} hash as: where images are stored in separate folders by language.

The Postach.io Blogging Platform

I was running my blog on Ghost for about a year. It was hosted on a pre-built Digital Ocean Ubuntu server (droplet). At first the experience was nice. Being able to directly work with markdown let me write quickly and easily. But, few obstacles were apparent from the first step. Ghost is a pure b...

An Architecture for PhoneGap Apps with AngularJS

PhoneGap PhoneGap is a well known framework for constructing multi-platform mobile apps using web technologies (html, js, css). A Single Page Architecture (SPA) for a PhoneGap app has significant benefits. It makes it easy to keep a global context. Asynchronous calls are better handled using such...

Constructing a Dashboard with AngularJS

Originally published on the Back& blog. What is a Dashboard A dashboard consists of a toolbar and a collection of panels presenting information in tables, charts, and grids. Making different selections, and entering filtering values at the toolbar, such as selecting date ranges, causes the co...

Useful Tools for PhoneGap Apps

A Basic Toolset To achieve an efficient workflow for constructing PhoneGap apps, we use these basic tools. Bower Use Bower to manage your JavaScript dependencies. Place a bower.json file in your www folder. The simplest file is: { "name": "HybridApp", "description": "Hybrid mobile App", ...

Mockup a Web Application with Randomness

Mockup Often during a web development project, one has to create a mockup of a web application that consists of multiple screens and multiple related panels in each screen. This has to be done without a server-side. The intention is to give the project owner a good sense of the behavior of the ap...

Using AngularJS as Front-End to Sails.js

Sails.js Sails.js is a Node.js server-side MVC that I have successfully used in several mobile and web projects. Based on Express it natively offers views based on template engines such as EJS. Single Page Applications Single page applications (SPA) are better built with front-end frameworks that...

Authentication in Sails.js

Sails.js Sails.js is a superb MVC for Node.js server-side that I used in several web and mobile projects. Dual API and Admin Server In a recent project, the same server-side was used for an API for a mobile app, and for a web application for the adminstrators of the app. As usual in Sails.js the ...

Using an In Memory Database in PhoneGap

List-Item Flow of Screens A PhoneGap application often has the a master-detail flow of screens. A master screen contains a list of items such as list of products, posts, or people. When a row is selected in the list, the app transitions to a detail screen, showing the full details for the row. Th...

Combining LTR and RTL Languages with Foundation Framework

Foundation Framework is a responsive web front end framework. Phonegap is cross-platform hybrid mobile platform that lets one develop mobile apps for the popular platforms (iOS, Android, Windows Phone) using web tools (HTML5, JS, CSS). Combine Hebrew and English In a recent PhoneGap project, most...