/wdg/ - Web Development General

Learning about arrow functions and starting to use them everywhere and then complaining that their this-binding behavior is stupid and you hate it edition.

Previous thread: >Beginner Roadmap and Overview
github.com/kamranahmedse/developer-roadmap
youtube.com/watch?v=UnTQVlqmDQ0

>Free beginner resources to get started
Get a good understanding of HTML, CSS and JavaScript.
developer.mozilla.org/en-US/docs/Learn - a good introduction to HTML/CSS/JS and Node.js or Django
freecodecamp.org - curriculum including HTML/CSS/JS, React, Node.js, Express, and MongoDB
javascript.info - curriculum providing a strong basis in JavaScript

>Further learning resources and documentation
developer.mozilla.org/en-US/docs/Web - excellent documentation for HTML, CSS & JS
hackr.io - crowdsourced collection of tutorials from across the web for learning languages and libraries (ignore sponsored stuff, look at upvotes)
learnxinyminutes.com - quick reference sheets for the syntax of many different languages (generally not sufficient on their own for learning something, but very helpful)
pastebin.com/gfBPg24A - Everything PHP

>Asking questions
jsfiddle.net - Use this and post a link, if you need help with your HTML/CSS/JS
3v4l.org/ - Use this and post a link, if you need help with PHP/HackLang

Attached: wdg_atari_800.jpg (980x1170, 283K)

Other urls found in this thread:

vuejs.org/v2/guide/comparison.html#AngularJS-Angular-1
website.com/user/:id
socket.io/docs/client-api/#With-query-parameters
socket.io/
youtube.com/watch?v=txEqvqKzISY
github
codepen.io/KryptoniteDove/post/load-json-file-locally-using-pure-javascript
dev.twitch.tv/docs/extensions/required-technical-background/#twitch-pubsub
dev.twitch.tv/docs/pubsub/
twitter.com/SFWRedditGifs

first for Vue

Attached: upM71pVR_400x400[1].jpg (400x400, 8K)

how the fuck do I want for 2 events from different listeners before calling back

Promises?

Learn about promises and promise.all() or learn about async await

How is Vue comparable to AngularJS?

vuejs.org/v2/guide/comparison.html#AngularJS-Angular-1

They both use templates and two way data binding. Vue is generally seen as much more simpler because it doesn't opt for services, factories, controllers, etc. Instead everything is pretty much component based with a dash of directives and mixins.

This, but you'd have to wrap event handlers in a promise.

something like


var promiseOne = new Promise(function(resolve, reject){
window.addEventListener('keydown', resolve);
})

var promiseTwo = new Promise(function(resolve, reject){
window.addEventListener('keyup', resolve);
})

Promise.all(promiseOne, promiseTwo)
.then(function(){
//do stuff
})

@ thisguy

If your goals is to make shekels and make your app more known. Should you go for IOS or Android (in the first place I mean). A regular app, not something that would do better on either OS.