17 COMMENTs
Mobile
Brian Sebele, Jun 22

Li-Fi: Lighting the Future of Wireless Networks

Brian Sebele looks at Li-Fi, a way to use light signals to send data, and how it fits into the world of the Internet of Things, Wi-Fi and cellular networks.
Entrepreneur
Daniel Schwarz, Jun 21

7 Slack Integrations That Make Collaboration Easier

Daniel Schwarz looks at collaboration-focused Slack integrations, including bots, screen sharing extensions, polls and search tools.
36 COMMENTs
JavaScript
Jani Hartikainen, Jun 21

15 Ways to Write Self-documenting JavaScript

Jani demonstrates techniques for writing self-documenting code that make it easier to understand, reduce the need for comments, and improve program design.
Java
Lincoln Daniel, Jun 21

Java Serialization: Building a Persistent Phone Book

Serialization is a powerful tool. It's what allows us to store objects on disk and reconstruct them in memory when necessary -- perhaps when the program restarts. For anyone who wants to move beyond the run-and-forget type of programs, serialization is essential. We can serialize objects to create a sense of persistence in our programs so that the information we gather is not lost, or forgotten, when our program ends. Let's take a look at how to implement serialization in Java

The folks over at Oracle define serializable objects like so:

To serialize an object means to convert its state to a byte stream so that the byte stream can be reverted back into a copy of the object.

There may be many reasons for a programmer to serialize an object, but we will focus on the reason of storing it in a file to be accessed later.

In this case, deserialization is then the process of reverting the serialized form of an object into a copy of the object to use as expected. You can serialize any object that is an instance of a class that either implements java.io.Serializable interface or its subinterface, java.io.Externalizable itself or is the subclass of a class that does.

The Application

We're going to build a simple phone book app in the console. The program will allow a user to add contacts to their phone book, view their contacts, delete contacts, and save their contacts to a file for later. When the user ends the program and relaunches it later, they will be asked for the name of the file they want to load their phone book contacts from. If a file containing the serialized form of the phone book's contacts exists, the phone book will be loaded from disk and made available to the user for manipulation.

The code related to this article can be found here.

5 COMMENTs
HTML & CSS
Pavels Jelisejevs, Jun 21

Enabling Upcoming CSS Features with PostCSS

Pavels continues his exploration of PostCSS, covering how to implement new properties and values from upcoming CSS specifications today using PostCSS.
2 COMMENTs
Mobile
Jay Raj, Jun 21

Push Code Updates to Apps Instantly with CodePush

Jay Raj looks at CodePush, a tool from Microsoft that helps you push code updates to apps instantly.
Design & UX
Daniel Schwarz, Jun 21

5 Bankable UX Lessons from Brick and Mortar Store Design

Store design isn't accidental. Hundred of years of experience teaches many UX lessons. Daniel explains how you can apply in the digital world.
20 COMMENTs
WordPress
Angela Molina, Jun 20

Spreading the Word on WordPress Security

Did you know that WordPress powers a third of the web, and a popular target for attackers? This week we chat to Chris Burgess on WordPress Security.
7 COMMENTs
JavaScript
Byron Houwens, Jun 20

An Introduction to TypeScript: Static Typing for the Web

Get started with this strongly-typed superset of JavaScript. Byron Houwens explains the benefits of types and interfaces in his introduction to TypeScript.
9 COMMENTs
PHP
Daniel Sipos, Jun 20

Your Own Custom Annotations - More than Just Comments!

Danny teaches you how to build Doctrine-style PHP annotations for your own custom projects!
4 COMMENTs
Ruby
Sarmad Sabih, Jun 20

Quick Tip: DRY Up Your Model Validations Tests

Sam Sarmad shows how he removed a ton of duplicated test code when testing ActiveModel validations.
1 COMMENT
Mobile
Wern Ancheta, Jun 17

Realtime App Development with RethinkDB and React Native

Wern Ancheta covers realtime app development with RethinkDB and React Native for automatic data updates pushed straight to users
2 COMMENTs
Design & UX
Alex Walker, Jun 16

How to Find Cool, Quirky, Copyright Free Photos on Flickr

Think you know Flickr? Did you know they store a vast reservoir of copyright free photos imagery from the world's great libraries, museums, & archives?
1 COMMENT
JavaScript
Martín Martínez, Jun 16

Accessing the User's Camera with JpegCamera and Canvas

Martín Martínez shows how to use JpegCamera and Canvas elements to create a basic clone of Instagram's Layout app, taking images from the user's camera.
6 COMMENTs
WordPress
Aleksander Koko, Jun 16

Getting Started with HHVM and WordPress

Aleksander Koko covers what HHVM and Hack is, and how to setup WordPress running under HHVM.
11 COMMENTs
HTML & CSS
Simon Codrington, Jun 16

Quick Tip: Add Favicons Quickly and Easily to Your HTML

Simon covers a simple way to add favicons to your website using the Real Favicon Generator web service.
Entrepreneur
Jorrit Diepstraten, Jun 16

How to Monetize Your Website with Google AdSense

Despite what you may have heard, AdSense can still be a great way to monetize content sites. Here are some strategies to do so successfully.
26 COMMENTs
Ruby
Ilya Bodrov-Krukowski, Jun 16

Create a Chat App with Rails 5, ActionCable, and Devise

Ilya Bodrov-Krukowski writes this very thorough tutorial on creating a chat application with Rails 5, ActionCable, and Devise. This goes through how to authorize users to that chat and protect your web sockets with Rails. Very cool!
2 COMMENTs
Programming
Thomas Punt, Jun 15

An Introduction to Elixir's Ecto Library

Thomas introduces Ecto, Elixir's predominant library for working with databases, building a simple database-driven app using Ecto's four main components.
7 COMMENTs
Entrepreneur
Paul Maplesden, Jun 15

Build a Powerful Freelance Portfolio Website that Gets Results

Learn how to plan, build, test, and use an effective freelance portfolio website.
4 COMMENTs
JavaScript
Florian Rappl, Jun 15

Hands-on Functional Programming with Ramda.js

Florian Rappl introduces Ramda.js, a powerful toolbox designed with functional programming in mind, and talks about the concepts on which its based.
12 COMMENTs
Web
Bruno Skvorc, Jun 15

The PHP Application Environment

This is an excerpt from SitePoint's recent book on PHP Application Environments and get getting started the right way. Enjoy this preview!
8 COMMENTs
Web
Craig Buckler, Jun 14

Blisk: Your Next Web Development Browser?

Most of us use our default browser for development. Is it practical? Are there better options? Craig looks at Blisk — a new development-only browser.
2 COMMENTs
JavaScript
Rohit Boggarapu, Jun 14

Building a Chart Component with Angular 2 and FusionCharts

Rohit Boggarapu demonstrates how to create a simple chart component in Angular 2 using the FusionCharts library and plain JavaScript.