Time | Speaker | Title | Description |
---|---|---|---|
9:00 | Evan You, Creator of Vue.js | State of the Vuenion 2020 | The growth of Vue continues and we are almost ready for Vue 3. As ever Evan You will deliver the State of Vuenion 2020, if we are lucky maybe we see some Typescript code from him ;) |
| Dima Vishnevetsky | Scalable Vue Graphics for the Modern Web | |
| Jessica Sachs, Maintainer of @vue/test-utils and Tech Lead at Intent | The Future of Vue's Test Utils | With an expanded Vue Test Utils team and with Vue 3 on the horizon, we’ll talk about our plans for 2020. What’s coming in v1? |
11:00 | Gregg Pollack, Teaching developers Vue.js at VueMastery | Introduction into the Composition API | Gregg Pollack i |
/* Ultra lightweight Github REST Client */ | |
// original inspiration via https://gist.github.com/v1vendi/75d5e5dad7a2d1ef3fcb48234e4528cb | |
const token = 'github-token-here' | |
const githubClient = generateAPI('https://api.github.com', { | |
headers: { | |
'User-Agent': 'xyz', | |
'Authorization': `bearer ${token}` | |
} | |
}) |
TLDR: JWTs should not be used for keeping your user logged in. They are not designed for this purpose, they are not secure, and there is a much better tool which is designed for it: regular cookie sessions.
If you've got a bit of time to watch a presentation on it, I highly recommend this talk: https://www.youtube.com/watch?v=pYeekwv3vC4 (Note that other topics are largely skimmed over, such as CSRF protection. You should learn about other topics from other sources. Also note that "valid" usecases for JWTs at the end of the video can also be easily handled by other, better, and more secure tools. Specifically, PASETO.)
A related topic: Don't use localStorage (or sessionStorage) for authentication credentials, including JWT tokens: https://www.rdegges.com/2018/please-stop-using-local-storage/
The reason to avoid JWTs comes down to a couple different points:
- The JWT specification is specifically designed only for very short-live tokens (~5 minute or less). Sessions
Time | Speaker(s) | Title |
---|---|---|
08:45 | Evan You | State of the Vuenion (Founder of Vue.js) |
09:00 | Guillaume Chau |
SSR revolution with Vue 2.6 |
09:35 | Tim Benniks | Vue.js for L'oreal, a case study (Director of Frontend @Valtech Paris) |
10:45 | Jen Looper | NativeScript-Vue + ML = The Great MiniBar Challenge: MixoLogy (Developer Advocate at Progress) |
11:15 | Filip Rakowski | Modern Web Apps Performance Tricks with PWA and Vue.js (Founder Vue Storefront) |
11:50 | Sara Vieira | [GraphQL + Apollo + Vue.js = |
addEventListener('fetch', event => { | |
event.respondWith(handleRequest(event.request)) | |
}) | |
// Following code is a modified version of that found at https://blog.cloudflare.com/dronedeploy-and-cloudflare-workers/ | |
/** | |
* Fetch and log a request | |
* @param {Request} request | |
*/ |
<template> | |
<div v-for="(image, index) in images" :key="index"> | |
<img :src='image' alt="image"> | |
</div> | |
</template> | |
<script> | |
const { images } = process.env; | |
export default { | |
data() { |
<?php | |
/** | |
* NuxtValetDriver for running compiled nuxt.js sites | |
*/ | |
class NuxtValetDriver extends BasicValetDriver | |
{ | |
/** | |
* Determine if the driver serves the request. | |
* |
- 13" Macbook Pro 3.3 GHz i7 (late 2016)
- Microsoft Surface Book (2016)
- Dell up3216q 32" monitor
/** | |
* Lightweight script to detect whether the browser is running in Private mode. | |
* @returns {Promise<boolean>} | |
* | |
* Live demo: | |
* @see https://output.jsbin.com/tazuwif | |
* | |
* This snippet uses Promises. If you want to run it in old browsers, polyfill it: | |
* @see https://cdn.jsdelivr.net/npm/es6-promise@4/dist/es6-promise.auto.min.js | |
* |
- install Guzzle HTTP library :
composer require guzzlehttp/guzzle
- [sign up to mailgun] (http://www.mailgun.com)
- Go to
Domains
tab and click on domains - You will find the necessary data for
.env
setup- MAIL_DRIVER=mailgun
- MAIL_HOST=smtp.mailgun.org
- MAIL_PORT=587
- MAIL_USERNAME=postmaster@sandbox------------------------------6f.mailgun.org
- MAIL_PASSWORD=502fd951f7------------------------