octobercms

SitePoint Premium New Releases: Going Offline + React Native

We're working hard to keep you on the cutting edge of your field with SitePoint Premium. We've got plenty of new books to check out in the library — let us introduce you to them. Going Offline Jeremy Keith introduces you to service workers (and the code behind them) to show you the latest strategies in offline pages. Learn the ins and outs of fetching and caching, enhance your website’s performance, and create an ideal offline experience for every user, no matter their connection. ➤ Read Going Offline. Integrating AdMob in React Native and Expo Google AdMob is one way to install ads into any mobile application in order to monetize it. Installing and configuring AdMob in bare React Native can be a cumbersome process. But it’s relatively simple to install when using a toolchain like Expo — we'll show you how. ➤ Read Integrating AdMob in React Native and Expo. And More to Come… We're releasing new content on SitePoint Premium regularly, so we'll be back next ..

How to Build a Cipher Machine with JavaScript

I was overjoyed recently when I read the news that the British mathematician, Alan Turing will feature on the Bank of England's new £50 note. Turing occupies a special place in the hearts of computer nerds for effectively writing the blueprints for the computer. He also helped to break the notoriously difficult naval Enigma code used by the Nazi U-boats in World War II. In honor of this I decided a quick tutorial to build a cipher machine using the JavaScript skills that are covered in my book JavaScript Novice To Ninja. The cipher we'll be using is the Caesar cipher, named after the Roman emperor, Julius Caesar. It is one of the most simple ciphers there are and simply shifts each letter along a set number of places. For example, the phrase 'Hello World' would become 'KHOOR ZRUOG' using a shift of 3 (which it is the shift that Julius Caesar is thought to have used). You can see an example of the finished code here. Have a play around at writing some sec..

10 Tools to Help You Manage Your Agile Workflows

This article was created in partnership with monday.com. Thank you for supporting the partners who make SitePoint possible. Software development remains a complex task which balances analysis, planning, budget constraints, coding, testing, deployment, issue fixing, and evaluation. Large projects often fail because no one can comprehend the full extent of requirements from the start. Those requirements then change with each revision of the product. An agile development approach can mitigate the risks. There are many flavors of 'agile', but most rapidly evolve a product over time. Self-organising teams of stakeholders, designers, developers, and testers collaborate to produce a minimum viable product which is extended and revised during a series of iterations - or sprints. Ideally, a fully-working product is available at the end of every sprint. Changing requirements can determine the priorities for the next sprint. Crucial Collaboration Communication distinguishes agile fr..

What Every Dev Company Needs to Know about NoOps Development

It seems like everything is getting automated these days. And I mean everything. Who would’ve thought that we’d be automating development teams, though? 69% of development companies agree that process and automation improvement is a top priority, so it makes sense we’re heading in this direction. This rise of automation has formed a new development […] The post What Every Dev Company Needs to Know about NoOps Development appeared first on SitePoint.

A Guide to Visual Testing with Percy

This article was created in partnership with Percy. Thank you for supporting the partners who make SitePoint possible. Visual testing is the automated process of ensuring your user interface looks correct in different browsers and at different screen widths. Most development teams rely solely on unit and integration tests. While this practice helps ensure application logic is working correctly, it fails to detect visual defects at the UI level. Implementing this type of test allows visual problems to be detected early and to get fixed before the product is released. In this tutorial, you’ll learn how to set up and run visual testing for your project using Percy. For demonstration purposes, we’ll be using a single-page application that’s API-driven using real-world data. You’ll learn how to visually test UIs that output dynamic data, and about Percy’s visual review and approval workflow. Prerequisites Visual testing is a topic for intermediate and advanced users. To follow this tuto..

A Guide to Visual Testing with Percy

This article was created in partnership with Percy. Thank you for supporting the partners who make SitePoint possible. Visual testing is the automated process of ensuring your user interface looks correct in different browsers and at different screen widths. Most development teams rely solely on unit and integration tests. While this practice helps ensure application logic is working correctly, it fails to detect visual defects at the UI level. Implementing this type of test allows visual problems to be detected early and to get fixed before the product is released. In this tutorial, you’ll learn how to set up and run visual testing for your project using Percy. For demonstration purposes, we’ll be using a single-page application that’s API-driven using real-world data. You’ll learn how to visually test UIs that output dynamic data, and about Percy’s visual review and approval workflow. Prerequisites Visual testing is a topic for intermediate and advanced users. To follow this tuto..

How to Use Bannersnack to Generate Amazing Banners in Seconds

This article was created in partnership with StudioWorks. Thank you for supporting the partners who make SitePoint possible. Banner ads have been around since the dawn of the Internet. And badly designed banner ads that annoy many users have been around just a long. But 30 years later businesses still pay to put them on websites and in their ad rotation, so they must work when done right. Right? Banner ads, especially animated ones, are being used more than ever on social media profiles and as social ads too, as marketers realize the power of video in catching attention. Today’s banner ads are sophisticated and well designed, and can be highly effective. But for designers, they present a huge challenge. Coding Banner Ads Is Hard and Expensive Banner ads, especially animated ones, are notoriously hard to code in HTML5. Sure, you can create animated banners in Flash, but Apple’s iOS doesn’t support them, and Adobe says they’re shutting down Flash altogether in 2020. GIFs are another ..

SitePoint Premium New Releases: Responsive CSS + React Native

We're working hard to keep you on the cutting edge of your field with SitePoint Premium. We've got plenty of new books to check out in the library — let us introduce you to them. 14 Essential Responsive CSS Techniques Over 6 easy chapters, we’ll help you to get a grounding in responsive CSS techniques, helping you make your sites and apps look great on any device. Starting with an examination of the em responsive unit and highlight its shortcomings, then move on to the rem unit and how it can overcome them. Finally, we’ll look at how media queries can work with em and rem to provide a complete responsive web design solution. ➤ Read 14 Essential Responsive CSS Techniques. Using Android Native Modules in React Native In this tutorial, we’ll develop a simple application that shows the current battery percentage and charging status. For this, we’ll create a native module with methods to fetch the required information. ➤ Read Using Android Native Modules in React Native. An..

How to Create Web Animations with Anime.js

There are many JavaScript animation libraries out there, but Anime.js is one of the best. It's easy to use, has a small and simple API, and offers everything you could want from a modern animation engine. The library has a small file size and supports all modern browsers, including IE/Edge 11+. The only thing that could stop you from using Anime.js right away is its minimal, zen-like documentation. I like the compact, structured, elegant approach it takes, but I think that a more detailed explanation would be helpful. I'll try to fix this issue in this tutorial. Getting Started With Anime.js To get started, download and include the anime.js file in your HTML page: http://path/to/anime.min.js Alternatively, you can use the latest version of the library hosted on a CDN: https://cdn.jsdelivr.net/npm/animejs@3.0.1/lib/anime.min.js Now, to create an animation, we use the anime() function, which takes an object as an argument. In tha..

How to Set Up a Vue Development Environment

If you’re going to do any serious amount of work with Vue, it’ll pay dividends in the long run to invest some time in setting up your coding environment. A powerful editor and a few well-chosen tools will make you more productive and ultimately a happier developer. In this post, I’m going to demonstrate how to configure VS Code to work with Vue. I’m going to show how to use ESLint and Prettier to lint and format your code and how to use Vue’s browser tools to take a peek at what’s going on under the hood in a Vue app. When you’ve finished reading, you’ll have a working development environment set up and will be ready to start coding Vue apps like a boss. Let’s get to it! Want to learn Vue.js from the ground up? This article is an extract from our Premium library. Get an entire collection of Vue books covering fundamentals, projects, tips and tools & more with SitePoint Premium. Join now for just $9/month. Installing and Setting Up Your Editor I said that I was going to be using VS ..