media

Web Tools #349 - DOM Snippets, Front-end Frameworks, Media, Uncats

Web Tools Weekly

Issue #349 • March 26, 2020

Advertisement via Syndicate
Have Happier, More Productive Video Meetings
Team.video makes it easier and faster for remote teams to work together by offering user friendly video meetings with agendas, collaborative notes, and emoji responses. No download required and it’s free to use.
Try Team.video for FREE!

Although I often include quick DOM scripting tips in the intro of this newsletter, for this week, I'm just going to point you to a great little resource that was sent to me by reader Phuoc Nguyen:

It's more or less a repository of basic, intermediate, and advanced native DOM scripting snippets.
 
HTML DOM: A resource of native DOM snippets

Here are some of the advanced and intermediate examples:
  • Make a draggable element
  • Resize columns of a table
  • Sort a table by clicking its headers
  • Calculate the size of the scrollbar
  • Communicate between an iframe and parent window
There are more than 80 tips currently listed and I'm sure he'll add more later. Even if you don't necessarily use any of the snippets in a real project right away, there are plenty of little coding tidbits you can glean form the example code, which is all just vanilla JavaScript with no library or framework involved.

So check out HTML DOM, I'm sure you'll have lots to investigate!
 

Now on to this week's tools!
 

Front-end Frameworks

Have Happier, More Productive Video Meetings
Team.video makes it easier and faster for remote teams to work together by offering user friendly video meetings with agendas, collaborative notes, and emoji responses. No download required and it’s free to use.   via Syndicate

chakra-ui-vue
A set of accessible and composable Vue components that you can use to build your favourite applications and sites.

Pixel Lite
A beautifully crafted, responsive UI kit based on Bootstrap 4 that includes 100 components, 3 plugins, and 3 example pages.

next-typescript-materialui-jest-starter
Very opinionated starter boilerplate for projects based on Next.js, setup with Typescript, Material-UI, and Jest.

React SaaS Template
Template for building a SaaS app or admin website using React + Material-UI.

web3-react
A simple, extensible, dependency-minimized framework for building modern Ethereum decentralized apps.

Tailwind UI
A UI components library, crafted by the creators of Tailwind CSS.

neo.mjs
A Web Workers-driven UI framework.

LitElement
A simple base class for creating fast, lightweight web components. Makes it easy to define web components – ideal for building a UI design system.

Ionic React
React version of Ionic Framework. 100+ mobile optimized React UI components. Standard React tooling with react-dom.

Accessible Components
Scott O'Hara's repo that lists all the accessible widgets and components he's built.

StarAdmin
A free responsive admin template built with Bootstrap 4.

Media Tools

Tech Productivity Newsletter
A brief newsletter featuring tools and articles for remote work, work culture, learning science, and more – all to help you be more productive.   promoted 

Croppola
Upload a photo and this tool will use AI to crop the photo for you automatically, or you can crop it manually and download the result.

Image to Colors
Online tool that extracts colors from any photo on upload.

Nuxt Optimized Images
Automatically optimizes images used in Nuxt.js projects (JPEG, PNG, SVG, WebP and GIF).

Twilio Video React App
Demonstrates a multi-party video application built with twilio-video.js and Create React App.

react-particle-image
React component to render images as interactive particles. There's an interactive demo using the React logo that's pretty cool.

CoreUI Icons
Premium designed free icon for web and mobile, available in SVG, webfont, and raster formats.

DotMatrix.js
A small, performant class-based, dot matrix library with animated movements that respond to mouse/touch events.

react-calendar-heatmap
A calendar heatmap component built on SVG, inspired by GitHub’s commit calendar graph.

Chessboard Image
Modify chess pieces on a virtual chess board, to create chess positions, then download the image for use wherever you want. Might be cool for a chess tutorial website or blog.

Video Language
A language for making movies. Combines the power of a traditional video editor with the capabilities of a full programming language.

The Uncategorizables

Tech Productivity Newsletter
A brief newsletter featuring tools and articles for remote work, work culture, learning science, and more – all to help you be more productive.   promoted 

Mailcoach
A self-hosted email list manager. It integrates with services like Amazon SES, Mailgun, Postmark, or Sendgrid to send out mailings affordably.

Backstage
Open-source developer portal that puts the developer experience first by means of a a unified front end for all your infrastructure tooling.

dstack.ai
Collaborative data exploration. Enables individual data scientists and their teams to publish, share, and track data visualizations.

TAGX
Allows you to create video highlights and annotate the interesting parts of a video. Enter a YouTube, Vimeo, or direct video link to start annotating.

cs.opensource.google
A search engine to search Google's open source projects (Angular, Dart, Flutter, Go, etc).

Cotter
One-click secure phone number login for your apps.

Phrase
Automate localization processes. Edit language files online with your team of translators or order translations into more than 60 languages.

It's a Live
Lets you mimic a live coding presentation by prerecording the presentation, which gets triggered by random keystrokes as if you were really coding.

EasyCSV
Import spreadsheets into your App, Zapier, Google Sheets, Salesforce, or any public API in minutes.

Pico
Platform to create paywalled content, subscriptions, newsletters, etc.

A Tweet for Thought

This underappreciated Tweet by Adam Greenough should be the dev-related Tweet of the year.
 

Send Me Your Tools!

Made something? Send links via Direct Message on Twitter @WebToolsWeekly (details here). No tutorials or articles, please. If you have any suggestions for improvement or corrections, feel free to reply to this email.
 

Before I Go...

If you've got a lot of extra time at home (and you should!) you might like Codepip. There you'll find a number of different interactive online games that teach you various aspects of front-end development.

Thanks to everyone for subscribing and reading!

Keep tooling,
Louis
webtoolsweekly.com
@WebToolsWeekly
PayPal.me/WebToolsWeekly




media

Web Tools #351 - JS Utilities, Media Tools, Uncategorizables

Web Tools Weekly

Issue #351 • April 9, 2020

Advertisement via Syndicate
Working From Home? Try Team.Video
Team.video makes it easier and faster for remote teams to work together by offering user friendly video meetings with agendas, collaborative notes, and emoji responses. No download required and it’s free to use.
Try Team.video for FREE!

Last week I covered a really simple introduction to the HTML Drag and Drop API, for those of you who have never used it before. The demo has the minimum code required to produce a drag and drop example. Let's take that a little further and incorporate the dataTransfer object, which has methods and properties that can be used in the midst of a drag and drop operation.

First, I can use the setData() method of the dataTransfer object, which I'll incorporate in the midst of my event listener when listening for a dragstart event (an event I didn't need to use in the previous demo). The relevant line looks something like this (where "e" is the event object):

e.dataTransfer.setData('text/html', box.innerHTML)

As you can see, the setData() method takes two arguments: The data type and the data itself. In this case, the data is simply the innerHTML of the dragged element. This is the first step in transferring data: Setting the data, which happens when the element is initially dragged.

The next key line in my code will be using the getData() method. In this case, I'll use it when the drop event is triggered on my drop area element:

this.style.background = e.dataTransfer.getData('text/html')

The data that I'll be grabbing is text that represents a valid CSS color keyword, which will be inside each draggable element. The data could be a lot of things, but in this case I'm just using some text for demo purposes. And as you can see, the text sets the background color of the drop area element.

See the full working demo here

There's naturally a lot more code there, but it's fairly straightforward. I'm looping over the draggable boxes to add the event listeners to each one. The setData() and getData() methods are used within that loop to obtain and apply the color info.

Try dragging any of the boxes into the drop area to see the background of the drop area change. You can even try changing the HTML to use different colors (any valid CSS color value will work). As long as the color is valid, the background of the drop area element will change to that color.

And that's a basic way to use the dataTransfer object when working with the Drag and Drop API.
 

Now on to this week's tools!
 

JavaScript Utilities

Working From Home? Try Team.Video
Team.video makes it easier and faster for remote teams to work together by offering user friendly video meetings with agendas, collaborative notes, and emoji responses. No download required and it’s free to use.   via Syndicate

Van11y
Bit of an older project that I just discovered. A collection of customizable, accessible scripts for rich interface elements, built using progressive enhancement.

Rsup Progress
A simple progress bar with promises support.

Heapify
A very fast JavaScript priority queue, implemented using a binary heap, with no dependencies.

Nano Events
Simple and tiny (72 bytes) event emitter library for JavaScript.

Chardin.js
Simple overlay instructions for your apps. Kind of like those 'app tour' plugins, but just a single overlay pointing stuff out.

Serialize JavaScript
Serialize JavaScript to a superset of JSON that includes regular expressions and functions.

FullCalendar
A JavaScript calendar plugin, great for displaying events with drag-and-drop capabilities and an API for extending its functionality.

defu
Utility to recursively assign default properties.

Clack
A modern keyboard shortcut library written in Typescript.

Sharect.js
A lightweight (2.9Kb gzipped and minified) JavaScript library to let users share text selections to social networks in desktop browsers (like Medium).

Uppload
A better JavaScript image uploader. Highly customizable with 30+ plugins, open-source, and can be used with any file uploading back end.

Media Tools (SVG, Video, Audio, etc.)

Beginner JavaScript by Wes Bos is 50% Off!
The master package includes 88 HD videos, part of 15 modules – and course updates are free forever.   promoted 

mediasoup
Cutting-edge WebRTC video conferencing. The perfect choice for building multi-party video conferencing and real-time streaming apps.

gifcap
Create animated GIFs in your browser from a screen recording. Client-side only, no data is uploaded.

Tabler Icons
A set of over 400 free MIT-licensed high-quality SVG icons for you to use in your web projects. Each icon is designed on a 24x24 grid and a 2px stroke.

Video Puppet
Using a markdown file, create a video (with captions) from a chosen set of images, audio files and smaller video clips.

Exifr
The fastest and most versatile JavaScript EXIF reading library.

Seamless Pattern Generator
Create seamless, repeatable royalty free patterns for your website, or to download as SVG, JPEG or PNG.

Resoundly
Produce a podcast simply by typing the content and this app will convert it to speech.

Spline
Easily create 3D web experiences without coding. Build and iterate fast with production-ready results.

Photo Stream
Self-hosted, super simple photo stream. Built with Ruby and seems to require either Netlify or Jekyll.

Ionicons
Premium designed icons for use in web, iOS, Android, and desktop apps. Support for SVG and web font.

The Uncategorizables

Advanced React & GraphQL by Wes Bos is 50% Off!
The master package includes 68 HD videos, part of 10 modules – and course updates are free forever.   promoted 

Brim
Desktop application to efficiently search large packet captures and logs from Zeek (the network security monitoring tool).

StartNames
Produces brandable ideas for domain names in a Twitter stream, based on actual domains that are for sale.

WMS Everywhere
Chrome extension to help you research search volume, advertising cost per click, and related keywords inside Google search results – free and on-demand.

PDF.js Express
Add a PDF.js viewer with out-of-the-box annotation, PDF form fill, and signing. Based on Mozilla's PDF.js (for parsing and rendering PDFs).

AsyncAPI
Open source tools to easily build and maintain your event-driven architecture. All powered by the AsyncAPI specification, the industry standard for defining asynchronous APIs.

Weglot
Allows you to make your website multilingual in minutes and to manage all your translations effortlessly.

Our Site Updates
An easy way to post updates to your website (e.g. via easy to install banners) and keep visitors informed.

RightFont
An innovative, beautiful and professional font manager app for Mac, helping designers preview, install, sync, and manage their font files.

PingPong
Remote user interviews and user tests made simple.

Extract Article Text
Lets you easily extract boilerplate-free text from news articles, blogs, press releases, and company pages with a single API request.

Commerce
Drop‑in e‑commerce for any website with a single line of code. Serverless, real‑time, and API‑first.

A Tweet for Thought

When you're living in a tech bubble like many of us are, it's hard to believe there are people this naive.
 

Send Me Your Tools!

Made something? Send links via Direct Message on Twitter @WebToolsWeekly (details here). No tutorials or articles, please. If you have any suggestions for improvement or corrections, feel free to reply to this email.
 

Before I Go...

This is amazing: Open and Shut lets you send messages in Morse code by repeatedly slamming your laptop shut. So if you've been kidnapped and forced to give up all your passwords or something...?

Thanks to everyone for subscribing and reading!

Keep tooling,
Louis
webtoolsweekly.com
@WebToolsWeekly
PayPal.me/WebToolsWeekly




media

[ASAP] Stereochemical Relay through a Cationic Intermediate: Helical Preorganization Dictates Direction of Conrotation in the <italic toggle="yes">halo</italic>-Nazarov Cyclization

Organic Letters
DOI: 10.1021/acs.orglett.0c01330




media

[ASAP] Phosphorus(III)-Mediated, Tandem Deoxygenative Geminal Chlorofluorination of 1,2-Diketones

Organic Letters
DOI: 10.1021/acs.orglett.0c01258




media

[ASAP] Copper-Mediated DNA-Compatible One-Pot Click Reactions of Alkynes with Aryl Borates and TMS-N<sub>3</sub>

Organic Letters
DOI: 10.1021/acs.orglett.0c01219




media

Hanging out, messing around, and geeking out: kids living and learning with new media / Mizuko Ito, Sonja Baumer, Matteo Bittanti, danah boyd, Rachel Cody, Becky Herr-Stephenson, Heather A. Horst, Patricia G. Lange, Dilan Mahendran, Katynka Z. Martín

Browsery HQ799.2.M352 H36 2019





media

Upconversion-mediated Boltzmann Thermometry in Double-Layered Bi2SiO5:Yb3+,Tm3+@SiO2 Hollow Nanoparticles

J. Mater. Chem. C, 2020, Accepted Manuscript
DOI: 10.1039/D0TC01457E, Paper
Michele Back, Elisa Casagrande, Davide Cristofori, Jumpei Ueda, Setsuhisa Tanabe, Stefano Palazzolo, Flavio Rizzolio, Vincenzo Canzonieri, Enrico Trave, Pietro Riello
Ratiometric optical thermometry is one of the most promising techniques for contactless temperature sensing. However, despite the efforts devoted in the last decades, the development of nanothermometers characterized by high...
The content of this RSS Feed (c) The Royal Society of Chemistry




media

Social Media Marketing For Dummies, 4th Edition


 

Make friends and sell things to people through social media 

Social media technology is restlessly inventive, providing thousands of awesome ways for you to market your business inexpensively and on a large scale—often directly into the pockets of consumers. But in the proliferating, ever-changing world of tweets, influencers, handles, and alerts, it can be hard to know where to begin and then to evaluate what’s actually working for you. In the new



Read More...




media

The New Rules of Marketing and PR: How to Use Content Marketing, Podcasting, Social Media, AI, Live Video, and Newsjacking to Reach Buyers Directly, 7th Edition


 

The seventh edition of the pioneering guide to generating attention for your idea or business, packed with new and updated information

In the Digital Age, marketing tactics seem to change on a day-to-day basis. As the ways we communicate continue to evolve, keeping pace with the latest trends in social media, the newest online videos, the latest mobile apps, and all the other high-tech influences can seem an almost impossible task. How can you keep



Read More...




media

The digital banal: new media and American literature and culture / Zara Dinnen

Hayden Library - PS169.T4 D56 2018




media

Hommage de l'Orchestre philharmonique de Radio France à Myung-Whun Chung / une production Bel Air Media, Les Chorégies d'Orange, Radio France avec la participation de France Télévisions, Mezzo et le soutien de Centre national

Browsery DVD C4724 hom




media

Got Canterbury?: special features DVD: Romantic warriors III: a progressive music saga: Canterbury tales / produced by Zeitgeist Media ; directed and produced by Adele Schmidt & José Zegarra Holder

Browsery DVD ML394.R663 2015b




media

Berliner Philharmoniker, Sir Simon Rattle: Berlioz, Debussy, Ravel, Fauré, Roussel, Boulez / a production of Berlin Phil Media

Browsery DVD B4548 ber




media

Das Liebesverbot: opera in two acts / a Teatro Real, Sintonía Media, Euroarts production in coproduction with TVE ; by Richard Wagner ; libretto by Richard Wagner ; Kasper Holten, stage director ; TV director, János Darvas ; TVE producer, Jos&#

Browsery DVD W125 lie




media

Score / an Epicleff Media production ; written and directed by Matt Schrader ; produced by Robert Kraft, Trevor Thompson ; produced by Nate Gold, Kenny Holmes

MEDIA DVD ML2075.S367 2017




media

[ASAP] Aggregation-Induced Emission Active Polyacrylates via Cu-Mediated Reversible Deactivation Radical Polymerization with Bioimaging Applications

ACS Macro Letters
DOI: 10.1021/acsmacrolett.0c00281




media

Theatre, social media, and meaning making / Bree Hadley

Hadley, Bree, author




media

The film and media creators' guide to music / Vasco Hexel (Royal College of Music, London)

Hexel, Vasco, 1980- author




media

Targeted intracellular drug delivery by receptor mediated endocytosis / Padma V. Devarajan, Prajakta Dandekar, Anisha A. D'Souza, editors

Online Resource




media

Understanding spatial media / edited by Rob Kitchin, Tracey P. Lauriault, Matthew W. Wilson

Rotch Library - G70.217.G46 U54 2017




media

The indestructible brand: crisis management in the age of social media / Venke Sharma and Hushidar Kharas

Online Resource




media

Lifestyle media in Asia : consumption, aspiration and identity / edited by Fran Martin and Tania Lewis




media

Understanding the business of global media in the digital age / Micky Lee and Dal Yong Jin

Lee, Micky, author




media

Conditions of mediation : phenomenological perspectives on media / edited by Tim Markham and Scott Rodgers




media

Social media : a critical introduction / Christian Fuchs

Fuchs, Christian, 1976- author




media

Media analysis techniques / Arthur Asa Berger (San Francisco State University)

Berger, Arthur Asa, 1933- author




media

The audience commodity in a digital age : revisiting a critical theory of commercial media / edited by Lee McGuigan & Vincent Manzerolle




media

Mediated intimacies : connectivities, relationalities and proximities / edited by Rikke Andreassen, Michael Nebeling Petersen, Katherine Harrison and Tobias Raun




media

Understanding global media / Terry Flew

Flew, Terry, author




media

Media, culture and society : an introduction / Paul Hodkinson

Hodkinson, Paul, author




media

Media and everyday life / Tim Markham (Reader in Journalism and Media, Birkbeck, University of London, UK)

Markham, Tim, 1974- author




media

Media & society / Michael O'Shaughnessy and Jane Stadler with Sarah Casey

O'Shaughnessy, Michael, 1951- author




media

Communication, digital media and everyday life / Tony Chalkley, Mitchell Hobbs, Adam Brown, Toija Cinque, Brad Warren, Mark Finn

Chalkley, Tony, author




media

Communication theories : origins, methods, and uses in the mass media / Werner J. Severin, James W. Tankard, Jr

Severin, Werner J. (Werner Joseph), author




media

#Crime : social media, crime, and the criminal legal system / Rebecca M. Hayes, Kate Luther

Hayes, Rebecca M., author




media

Crime, media, and reality : examining mixed messages about crime and justice in popular media / Venessa Garcia and Samantha G. Arkerson

Garcia, Venessa, author




media

Media/society : technology, industries, content, and users / David Croteau (Virginia Commonwealth University), William Hoynes (Vassar College)

Croteau, David, author




media

Social media for strategic communication : creative strategies and research-based applications / Karen Freberg

Freberg, Karen June, author




media

Introducing media practice : the essential guide / Matthew Kerry and Georgia Stone

Kerry, Matthew, 1969- author




media

Exploring media research : theories, practice, and purpose / Andy Ruddock

Ruddock, Andy, author




media

Understanding new media / Eugenia Siapera

Siapera, Eugenia, author




media

Emotional AI : the rise of empathic media / Andrew McStay

McStay, Andrew, 1975- author




media

Media strategies : managing content, platforms and relationships / Jane Johnston & Katie Rowney

Johnston, Jane, 1961- author




media

Digital media & society / Simon Lindgren

Lindgren, Simon, author




media

Antisocial media : how Facebook disconnects us and undermines democracy / Siva Vaidhyanathan

Vaidhyanathan, Siva, author




media

Multiphase flow in permeable media: a pore-scale perspective / Martin J. Blunt, Imperial College London

Hayden Library - TA357.5.M84 B58 2017




media

Intermediate fluid mechanics / Robert H. Nunn

Online Resource




media

[ASAP] Solvent Mediated Excited State Proton Transfer in Indigo Carmine

The Journal of Physical Chemistry Letters
DOI: 10.1021/acs.jpclett.0c00946




media

[ASAP] A Single Enzyme Mediates the “Quasi-Living” Formation of Multiblock Copolymers with a Broad Biomedical Potential

Biomacromolecules
DOI: 10.1021/acs.biomac.0c00126