tech/webdev magazine

June 29, 2017

Schedule Tasks on Linux Using Crontab

Thursday, June 29, 2017 Teklinks

If you've got a website that's heavy on your web server, you might want to run some processes like generating thumbnails or enriching data in the background. This way it can not interfere with the user interface. Linux has a great program for this called cron.

Full article

Code a Real-Time NativeScript App: Geolocation and Google Maps

Thursday, June 29, 2017 Teklinks

NativeScript is a framework for building cross-platform native mobile apps using XML, CSS, and JavaScript. In this series, we'll try out some of the cool things you can do with a NativeScript app: geolocation and Google Maps integration, SQLite database, Firebase integration, and push notifications.

Full article

Web Performance 101

Thursday, June 29, 2017 Teklinks

Web page content is a mix of rich HTML, images, videos, and other media types. Multimedia content can add significantly to the overall page size and directly affect web page performance.

Full article

June 28, 2017

Unambiguous Webpack config with Typescript

Wednesday, June 28, 2017 Teklinks

You can write your Webpack config in Typescript, and it’ll save you a huge amount of pain. Webpack’s docs would lead you to believe that using Typescript requires a hacky customized set up, but in fact it’s as simple as installing a single module and changing your extensions from .js to .

Full article

Build an Ionic App with User Authentication

Wednesday, June 28, 2017 Teklinks

With Okta and OpenID Connect (OIDC) you can easily integrate authentication into an Ionic application, and never have to build it yourself again. OIDC allows you to authenticate directly against the Okta Platform API, and this article shows you how to do just that in an Ionic application.

Full article

June 27, 2017

What's New in Laravel 5.5

Tuesday, June 27, 2017 Teklinks

At the time of this writing, Laravel 5.5 is not released yet. It is slated, as the next major release, for release in July 2017. To play around with new features and changes, you need to grab the dev release of Laravel using this Laravel Installer command: Laravel 5.5 will require PHP 7.0+.

Full article

Time Tracking And Invoicing Apps To Boost Your Productivity

Tuesday, June 27, 2017 Teklinks

As a web designer, you should also devote yourself to managing the accounting affairs of your business.  You may feel that you’re in a strange territory. You may or may not be a “numbers person”. But, there are various tasks that you need to do.

Full article

5 Database Alerts to Set Up for MongoDB

Tuesday, June 27, 2017 Teklinks

What’s happening inside your database can have a huge impact on your application and your customers’ happiness. In this post, we’ll talk through some of the things you need to look out for to keep your MongoDB deployment on track.

Full article

How to Dockerize a Node.js application

Tuesday, June 27, 2017 Teklinks

Node.js and Docker. If you haven’t spent the last 7 years in an underwater cave playing solitaire on a coral bed, you must have at least heard of these two ever-trending techs in the web development industry. In this guide we’ll explain you how to create a Docker image for a Node.js application.

Full article

Free & Easy Online Invoicing

Tuesday, June 27, 2017 Teklinks

Invoice your clients from the convenience of your phone, tablet or computer. Within just a few simple clicks a professional looking invoice will be sent to the client via email. This saves you time, money and gets you paid quicker. All invoices you send are saved in a secure cloud environment.

Full article

June 26, 2017

Service Worker gotchas

Monday, June 26, 2017 Teklinks

Service Worker has already been here for a while: since 2015-09 it has been fully supported in Chrome/Opera and if compared to what we have today it has gone a promising way of improvements, bug fixes, became more easily debuggable and is supported much widely (hello Firefox).

Full article

Server-Side React Rendering

Monday, June 26, 2017 Teklinks

React is best known as a client-side JavaScript framework, but did you know you can (and perhaps should!) render React server-side? Suppose you've built a zippy new event listing React app for a client. The app is hooked up to an API built with your favorite server-side tool.

Full article

Staying Motivated

Monday, June 26, 2017 Teklinks

This was first published on my mailing list The Looking Glass. Every week, I answer a reader’s question. I’m always amazed how you are able to keep the writing goals (and I can imagine many other goals) you’ve set at the beginning of the year, even in the midst of holidays or vacations.

Full article

erikolson186/zangodb

Monday, June 26, 2017 Teklinks

ZangoDB is a MongoDB-like interface for HTML5 IndexedDB that supports most of the familiar filtering, projection, sorting, updating and aggregation features of MongoDB, for usage in the web browser. ZangoDB then can be accessed using the global variable zango.

Full article

June 25, 2017

Aspect Ratios in CSS are a Hack

Sunday, June 25, 2017 Teklinks

Right now I’m in Amsterdam attending CSSDay (my fourth time already!). Earlier this morning Bert Bos and Håkon Wium Lie – yes, the inventors of CSS – were on stage reflecting on the first days of CSS and things they’d’ve done differently or turned out differently than they expected.

Full article

June 24, 2017

Creating a project generator with Node

Saturday, June 24, 2017 Teklinks

In this post, I’ll walk you through how to create a simple project generator built with NodeJS that can be installed globally on your computer and used to create a starter project wherever you want, whenever you want.

Full article

How to Make a Simple Twitter Clone with React Native

Saturday, June 24, 2017 Teklinks

In this tutorial, we’re going to create a small Twitter-like mobile app using React Native. With our app, users will be able to create accounts and log in, see a feed of all of the posts created by themselves and other users, and add their own posts to the feed.

Full article

jakubgarfield/expenses

Saturday, June 24, 2017 Teklinks

?Expenses is a progressive web application on top of Google Sheets ? written in React ⚛️. It is only a static HTML that works great on mobile ? and can be deployed anywhere. Checkout the demo but please be considerate and don't break it for others.

Full article

June 23, 2017

Getting Started With WebAssembly

Friday, June 23, 2017 Teklinks

WebAssembly is a new technology that makes it possible to run highly performant, low-level code in the browser. It can be used to bring large C and C++ codebases like games, physics engines and even desktop apps to the web platform.

Full article

Get Ready for Web Bluetooth!

Friday, June 23, 2017 Teklinks

What if you could dim your lights right from your browser, just by pairing with your nearest Bluetooth-enabled Hue or Lumen light bulb? Wouldn’t you be just that much more productive? What about connecting to your LED Smart Rope to manage a workout even while offline, right from your browser?

Full article

Swarm mode in less than 10 seconds

Friday, June 23, 2017 Teklinks

As part of the PWD team, we’re constantly looking for new ways to help people get started with Docker. This time, we’d like to bring you the fastest known way to setup a 5 node swarm so you can start playing with all the cool features right away. From this moment on, you can head to labs.

Full article

How to make your Docker images secrets enabled

Friday, June 23, 2017 Teklinks

Integrated into Docker swarm, Docker secrets gives a complete and secure way to manage sensitive data shared with your containers. No more environment variables or worth plain text files with username and password shared or baked into your containers.

Full article

Airbnb Vacation — Seamless Trip Planning Done Right

Friday, June 23, 2017 Teklinks

Let me begin by briefing why I started thinking about a comprehensive trip planning approach in the first place. My wife and I went to Italy last year. A lot happened before that though. I’m a fanatic planner when it comes to something like preparing for a good trip.

Full article

Connect: behind the front-end experience

Friday, June 23, 2017 Teklinks

We recently released a new and improved version of Connect, our suite of tools designed for platforms and marketplaces. Stripe’s design team works hard to create unique landing pages that tell a story for our major products.

Full article

A crash course in memory management

Friday, June 23, 2017 Teklinks

To understand why ArrayBuffer and SharedArrayBuffer were added to JavaScript, you need to understand a bit about memory management. You can think of memory in a machine as a bunch of boxes.

Full article

June 22, 2017

The Story of Swip.js

Thursday, June 22, 2017 Teklinks

What if all your mobile devices were a single screen? This probably isn’t the most common question to ask yourself. But, just for a second, actually think about it. Think about all the possibilities of being able to combine any kind of mobile device, independent of its operating system.

Full article

Long Range Wireless Internet

Thursday, June 22, 2017 Teklinks

While most of you reading this have broadband in your home, there are still vast areas with little access to the Internet. Ham radio operator [emmynet] found himself in just such a situation recently, and needed to get a wireless connection over 1 km from his home.

Full article

How I Built a Pure CSS Crossword Puzzle

Thursday, June 22, 2017 Teklinks

Recently I created a pure CSS crossword puzzle implemented using CSS grid that does not need JavaScript in order to work. It gained heavy interest pretty quickly on CodePen. As of this writing, it has more than 350 hearts and 24,000+ page views!

Full article

Enhanced *ngIf and *ngFor in Angular version 4.0.0

Thursday, June 22, 2017 Teklinks

Ever wanted an "else" statement in *ngIf? It's finally here, together with some other nice improvements around dealing with Observables in templates. Let's explore them here. Table of contents If..Then..Else The ngIf directive gets a nice improvement in Angular version 4.0.0.

Full article