Yoramk Digital Life

Yoram Kornatzky

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

Are Ionic and PhoneGap Doomed?

React Native Appears Once React Native appeared, you have a major JavaScript framework React compiling cross-platform into native mobile. Break the Web View Jail Suddenly, you have a hybrid mobile app platform that breaks the confines of the Web View. One can integrate native code directly. Wh...

Structuring a Team for a Big React Native App

React Native React Native seems to have taken the mobile hybrid world by storm providing a native app result using web development technologies. A Big React Native App A big React Native app would have many screens and sub-screens, lots of actions and reducers, and significant interaction with a...

React Native AsyncStorage with ES 2017 Async Functions

React Native React Native seems to have taken the mobile hybrid world by storm by breaking the confines of the Web View. Async Storage AsyncStorage: AsyncStorage is a simple, unencrypted, asynchronous, persistent, key-value storage system that is global to the app. It should be used instead of L...

Async React Native Actions with ES2017

React Native React Native seems to have taken the mobile hybrid world by storm by breaking the confines of the Web View. Naturally, a React Native would interact with a server to fetch and update data. Such interaction is inherently asynchronous. Async React Native Actions React Native actions ...

Start Laravel with the Admin

The Common Landscape of Laravel Projects You construct a new web app with Laravel framework. It requires a user facing and an administrator facing web app. It is really just one web app, with separate views, probably, but a shared database. How Do You Start? Well, you have the Artisan command lin...

How Software Engineers Acquire New Knowledge?

How does it really work as part of our professional life that we get into a new topic, a new tool, or a new skill? The New Things Appear You hear of a new buzz award or a new topic in your profession, be it a new JavaScript framework, a new build tool, or something bigger like a whole new domain ...

Transfer Data to Views and Vue.js in Laravel

Laravel 5.4 Laravel 5.4 uses Vue.js as its default front-end JavaScript library. This raises a new aspect in data transfer between controllers and views. Here we detail how to do it with Vue.js components being used within Blade templates. The Controller The controller, TheatreController, transf...

Upload a Huge File to AWS S3 with Node

The Standard Way Using AWS Node.js SDK we want to upload a huge file to AWS S3. Using putObject will probably timeout for a huge file. So we need streams. Stream the Upload Create the read stream: var readStream = fs.createReadStream(fileName); var params = {Bucket: bucket, Key: key, Body: rea...

Writing a Singleton in Node

Singleton Module Singleton are often needed, here is a quick way to write a singleton in Node.js: singleton.js module.exports = { x: 1, g: (v) => v*v } Use the Singleton one.js var singleton = require('./singleton'); module.exports = { f: () => { singleton.x = singleto...

A Blueprint for Location Tracking Using Laravel and Ionic

Location-Based Service Say you want to construct a mobile app for a location-based service such as on demand cleaning or any field service organization, in general. For a such a location-based service, consumers post a request and suppliers are allocated per demand. Suppliers move around through ...