Mobile
Ariel Elkin, Mar 01

Editorial: Swift Month

We’re dedicating the month of March 2017 to the Swift Language. Swift is one of the most loved languages by developers (if not the most loved). And this in a relatively short period of time after being released. I think this ascent can be explained by looking at how matters stood right before its introduction, when iOS and macOS developers spoke Objective-C. This was (and still is) a venerable language, actively used for more than 20 years. But its age was starting to show, especially when it came to its proneness to unsafe code (lack of type safety, null pointer exceptions, cumbersome error handling, the list goes on). After taking your first few steps with Swift, you’d soon realise that this was a language designed by someone who was tired of Objective-C’s problems. The language was designed with code safety in mind: type safety, safe initialisation, value types, and many more things that were sorely missing from its predecessor.
Java
Nicolai Parlog, Mar 01

Understanding Java's Reflection API in Five Minutes

Java's reflection API allows the inspection and invocation of types, methods, fields, annotations, etc. without creating compile time dependencies.
15 COMMENTs
JavaScript
Olayinka Omole, Mar 01

Quick Tip: How to Sort an Array of Objects in JavaScript

Olayinka Omole shows you how to dynamically sort an array of objects in JavaScript, using Array.prototype.sort() and a custom compare function.
5 COMMENTs
Design & UX
Roemie Hillenaar, Mar 01

How to Choose the Best Fonts for Your Next Project with Fontcloud

Fontcloud is a tool designed to help you browse, choose and manage you fonts – and their licensing – through your browser. Roemie takes you on the tour.
8 COMMENTs
Mobile
Ariel Elkin, Mar 01

Swift: Probably The Best Full-Stack Language in the World

Ever since its release in 2014, Swift went through multiple iterations in order to become a great full-stack development language. Indeed: iOS, macOS, tvOS, watchOS apps, and their backend can now be written in the same language. Backends can be written in many other languages – but let us argue why Swift is probably the best full-stack language in the world for mobile developers. Safety. An essential advantage of Swift as a perfect back-end programming language is the safety built into the language. Swift does away with entire classes of errors and crashes. Remember null pointer exceptions? Those that cause crashes when objects you expect not to be nil are accidentally nil. Swift’s optionals let you know in advance if an object may be nil, and if so, force you to adequately handle the nil case. Safe initialization prevents you from ever initialising an object such that it ends up being nil. Remember unrecognized selector sent to instance crashes? Swift is type-safe meaning that if you’re calling a function on an object that doesn’t respond to it, the error will be caught by the compiler and not at runtime. Yet Swift was explicitly designed to be familiar and practical, rather than to adhere to some particular programming dogma. That said, as Chris Lattner puts it, “the defaults encourage safety and predictability”.
HTML & CSS
Alexis Goldstein, Feb 28

Learning about HTML5 Form Attributes (Part 2)

The following is an extract from our book, HTML5 & CSS3 for the Real World, 2nd Edition. We teach you about HTML5 Forms Attributes.
6 COMMENTs
Entrepreneur
Daniel Schwarz, Feb 28

40+ Free Productivity Dashboards and Templates

Check out these 40+ free templates for business, including for invoices, project management, marketing and more.
10 COMMENTs
Web
Craig Buckler, Feb 28

Front-End Tooling Trends for 2017

Are you using the best development tools? Is your CSS compilation complicated? Have you bungled your JavaScript bundling? Craig discusses what we're using.
13 COMMENTs
Entrepreneur
Andrew McDermott, Feb 28

How to Become a Better Developer by Coding Less

Andrew McDermott explains a system that helps developers overcome impostor syndrome and developer's block.
6 COMMENTs
JavaScript
Almir Bijedic, Feb 28

Make a Skype Bot with Electron & the Microsoft Bot Framework

Almir Bijedic builds a chatbot to hold daily scrum meetings via Skype. Learn to use Microsoft Bot Framework and Node to connect to multiple chat networks.
11 COMMENTs
HTML & CSS
Craig Buckler, Feb 28

How to Build Your Own Progressive Image Loader

Craig Buckler shares a very handy technique for progressive image loading — loading a smaller blurred version first, followed by the full resolution image.
8 COMMENTs
Mobile
Charles Muzonzini, Feb 28

Push Notifications in Your Ionic App with OneSignal

Push notifications are messages sent directly to your app’s users. They notify users of new content, even when the user is not using your application. They increase user engagement and retention in your app. An example is the WhatsApp “whistle” that notifies you of new messages received. In this tutorial, we’ll dive into integrating push notifications into your Ionic app using OneSignal. How push notifications work A push notification is sent from the Push notification platform of the mobile OS: Apple’s Push Notification Service for iOS and Google Cloud Messaging for Android. These push notification services relay the message to the devices that have subscribed to them. This means that you need to keep track of all the devices that have subscribed for push notifications. But there are some great services out there to simplify the process. One such service is OneSignal. Step 1: Install Ionic To start off with, you need to have Ionic installed on your machine. You install it using the node package manager npm; $ npm install -g ionic If you do not have npm installed, follow the instructions in the References section to install it.
1 COMMENT
PHP
Younes Rafie, Feb 28

How to Secure Laravel Apps with 2FA via SMS

Younes Rafie shows us how to add 2FA to a Laravel app - make sure your users can log in securely by adding an SMS layer!
Mobile
Stanley Idesis, Feb 28

Low-Code Mobile Basics with OutSystems

Stanley Idesis looks at low-code platforms that save developers time with boilerplate mobile development tasks.
1 COMMENT
Design & UX
Alex Bigman, Feb 28

Digital Fonts: A Condensed History

The world of fonts has come a long way. 99designs writer Alex Bigman showcases the evolution of fonts in this condensed mini history lesson.
2 COMMENTs
Java
Tao Wen, Feb 27

PHP-Style JSON Parsing in Java with Jsoniter

Jsoniter, a Java library for parsing JSON similar to PHP's json_decode, features a weakly typed `Any`, lazy parsing, and great performance.
1 COMMENT
JavaScript
Yaphi Berhanu, Feb 27

What Tutorials Don't Tell You: How to Approach Projects

Yaphi Berhanu demonstrates how to plan your web dev projects, making them an iterative process and breaking large problems into small bite-size pieces.
Entrepreneur
Ada Ivanoff, Feb 27

7 Scheduling Tips for Stressed Out Freelancers

Ada Ivanoff looks at seven ways freelancers can manage their schedule better to avoid stress, chaotic time management and burn-out.
4 COMMENTs
PHP
Younes Rafie, Feb 25

PHP Fractal - Make Your API's JSON Pretty, Always!

Younes looks at Fractal - a PHP League package for formatting and transforming JSON, YAML, and other data formats to something consistent. APIs rejoice!
2 COMMENTs
HTML & CSS
Alexis Goldstein, Feb 24

HTML5 Form Attributes (Part 1)

The following is an extract from our book, HTML5 & CSS3 for the Real World, 2nd Edition, written by Alexis Goldstein, Louis Lazaris, and Estelle Weyl. Copies are sold in stores worldwide, or you can buy it in ebook form here.

The required Attribute

The Boolean required attribute tells the browser to only submit the form if the field in question is filled out. Obviously, this means that the field can’t be left empty, but it also means that, depending on other attributes or the field’s type, only certain types of values will be accepted. Later in the chapter, we’ll be covering different ways of letting browsers know what kind of data is expected in a form.

BitBucket
Atlassian, Feb 24

Learn Git with Bitbucket Cloud

Learn the basics of Git with this space themed tutorial.
1 COMMENT
PHP
Deji Akala, Feb 24

Sylius and Cutting Your Teeth on TDD

We look at Sylius - a fully tested and super-robuts e-commerce platform/framework, and use it to learn some proper Test Driven Development!
3 COMMENTs
WordPress
Chris Burgess, Feb 24

Quick Tip: Create a Simple WordPress Gallery in 5 Minutes

A quick walkthrough on how to create an image gallery in a few easy steps, utilizing the native 'Create Gallery' functionality in WordPress.
BitBucket
Atlassian, Feb 24

Learn About Code Review in Bitbucket Cloud

Learn how to use pull requests for code review with Git by adding an inspirational quote to a teammate's repository.