Full Stack Web Dev (2020)| What is Javascript?(Junior Dev)
This one is a three-parter. This video is an introduction into what the programming language Javascript is; the next one goes into programming with Javascript.
If you find value in what I do, think about supporting my channel: Paypal: https://www.paypal.me/anobjisa Bitcoin: 3H4NKKwPdbiE5Gtc3Uk2DiwszqHhrRbmKK Ethereum: 0x48702412F448a27be03836fb6FE6456603668030 Litecoin: MNJ4uv3GD4r62VpQ8rHX1Pj1ihWCj74hCK
You've captured data from the user on the front-end. How do we send it to the back end?
I start guiding you through how front-ends and back-ends communicate with GET and POST.
Starting with the XHR object.
For Junior Developers just getting into web development, understanding the fundamental back and forth of both the client
and server is nothing short of necessary.
The XHR object is what gets us started.
XML - a scripting langauge like HTML, but with the ability to create your own tags (we don't write the object with XML; we use Javascript)
HTTP - a ruleset for how clients and servers, backends and frontends, should send data back and forth
Request - the object sent by your browser to the backend; this tells the backend who you are and what you're doing there
We create this object and send dummy data to a dummy site that'll respond back.
This is how we'll know if we're successful in communicating with the backend.
These are the first steps in executing on the request and response nature of web development.
Subscribe to my Bitchute: https://www.bitchute.com/channel/gPUmRsVcChxX/
Subscribe to my Youtube: https://www.youtube.com/channel/UCar-9GMCRk9QdKJXq6s1yeg/
Subscribe to my lbry: lbry://@an_object_is_a#7
If you find value in what I do, think about supporting my channel:
Paypal: https://www.paypal.me/anobjisa
Bitcoin: 3H4NKKwPdbiE5Gtc3Uk2DiwszqHhrRbmKK
Ethereum: 0x48702412F448a27be03836fb6FE6456603668030
Litecoin: MNJ4uv3GD4r62VpQ8rHX1Pj1ihWCj74hCK
Find me here:
Twitter: https://twitter.com/anobjectisa1
Minds: https://www.minds.com/an_object_is_a/
Instagram: https://www.instagram.com/an_object_is_a
We're going to take our JavaScript Pinterest clone and integrate it into a Google Chrome Extension.
If you haven't seen that video, you can view it here and get the source code in that description.
JavaScript Pinterest Clone: https://odysee.com/compressed-js-pinterest-clone:4
We'll also add the ability to upload an image from a web URL.
??? IMPORTANT NOTICE ???
Our Teachable Chrome Extension Development courses have launched!
We have courses for all skill levels.
Whether you're completely new to Web Development or want some Starter Projects to help you sharpen your skills, we have you covered.
Check us out at: https://anobject.teachable.com/
Use CODE: ANOBJ for a 20% discount on participating courses.
--------------------------------------
???For the source code, check out our article???
https://anobjectisa.com/?p=375
Subscribe to my Bitchute: https://www.bitchute.com/channel/gPUmRsVcChxX/
Subscribe to my Youtube: https://www.youtube.com/c/anobjectisa
Subscribe to my odysee: https://odysee.com/@an_object_is_a:7
If you find value in what I do, think about supporting my channel:
Paypal: https://www.paypal.me/anobjisa
Bitcoin: 3H4NKKwPdbiE5Gtc3Uk2DiwszqHhrRbmKK
Ethereum: 0x48702412F448a27be03836fb6FE6456603668030
Litecoin: MNJ4uv3GD4r62VpQ8rHX1Pj1ihWCj74hCK
Cardano (ADA): Ae2tdPwUPEZHifkCDEM8BVLoKULwNkLuj7NC9dVbtdQhCVuFVxsAKUpJsZF
Find me here:
Twitter: https://twitter.com/anobjectisa1
Minds: https://www.minds.com/an_object_is_a/
Instagram: https://www.instagram.com/an_object_is_a
Let's get right into it, let's start writing some JavaScript.
Where do we write it though?
We're gonna start off writing JavaScript in a REPL.
A Read, Evaluate, Print, Loop is a programming language shell(think a console terminal), that allows us to write and execute code in real-time without the need to create a whole file structure ourselves; the shell Reads the code, Executes it, Prints out a response, then Loops this behavior
This is what the REPL is. A place to write, quick-and-dirty code.
Subscribe to my Bitchute: https://www.bitchute.com/channel/gPUmRsVcChxX/
Subscribe to my Youtube: https://www.youtube.com/channel/UCar-9GMCRk9QdKJXq6s1yeg/
If you find value in what I do, think about supporting my channel:
Paypal: https://www.paypal.me/anobjisa
Bitcoin: 3H4NKKwPdbiE5Gtc3Uk2DiwszqHhrRbmKK
Ethereum: 0x48702412F448a27be03836fb6FE6456603668030
Litecoin: MNJ4uv3GD4r62VpQ8rHX1Pj1ihWCj74hCK
Find me here:
Twitter: https://twitter.com/anobjectisa1
Minds: https://www.minds.com/an_object_is_a/
Instagram: https://www.instagram.com/an_object_is_
A couple videos back I also showed you how to use JS in a REPL.
JS code in a REPL isn't permanent though.
...so how do we permanently inject JS into our page?
where does the JS go?
"in-tag" and "in-line"...
Subscribe to my Bitchute: https://www.bitchute.com/channel/gPUmRsVcChxX/
Subscribe to my Youtube: https://www.youtube.com/channel/UCar-9GMCRk9QdKJXq6s1yeg/
If you find value in what I do, think about supporting my channel:
Paypal: https://www.paypal.me/anobjisa
Bitcoin: 3H4NKKwPdbiE5Gtc3Uk2DiwszqHhrRbmKK
Ethereum: 0x48702412F448a27be03836fb6FE6456603668030
Litecoin: MNJ4uv3GD4r62VpQ8rHX1Pj1ihWCj74hCK
Find me here:
Twitter: https://twitter.com/anobjectisa1
Minds: https://www.minds.com/an_object_is_a/
Instagram: https://www.instagram.com/an_object_is_a
??? IMPORTANT NOTICE ???
Our Teachable Chrome Extension Development courses have launched!
We have courses for all skill levels.
Whether you're completely new to Web Development or want some Starter Projects to help you sharpen your skills, we have you covered.
Check us out at: https://anobject.teachable.com/
Use CODE: ANOBJ for a 20% discount on participating courses.
How do Chrome Extensions Work? https://lbry.tv/@an_object_is_a:7/compressed-creating-a-chrome-extension:e
Using OAuth2/OpenID to Create a Login System: https://lbry.tv/@an_object_is_a:7/How-to-Use-Google-Login-with-Chrome-Extensions---OAuth2-OpenID-Connect:b
Create a more robust web app by adding a bit of back-end development to your Chrome Extension; made easy by the folks at Google.
I'll show you how to integrate the Google OAuth2 protocol into your Chrome Extension.
Doing so will allow you to gain access to your user's Google data; specfically in this video, their Contacts data.
We'll first "register" our extension to get a unique key, then we'll head on over to the Google Developer's console to get ourselves
an OAuth2 Client ID and an API key for Google's People API.
Finally, I'll show you the work flow involved in getting an access or authorization token from Google's OAuth2 endpoint then using that
to manipulate a users Contacts list.
Subscribe to my Bitchute: https://www.bitchute.com/channel/gPUmRsVcChxX/
Subscribe to my Youtube: https://www.youtube.com/channel/UCar-9GMCRk9QdKJXq6s1yeg/
Subscribe to my lbry: lbry://@an_object_is_a#7
If you find value in what I do, think about supporting my channel:
Paypal: https://www.paypal.me/anobjisa
Bitcoin: 3H4NKKwPdbiE5Gtc3Uk2DiwszqHhrRbmKK
Ethereum: 0x48702412F448a27be03836fb6FE6456603668030
Litecoin: MNJ4uv3GD4r62VpQ8rHX1Pj1ihWCj74hCK
Cardano (ADA): Ae2tdPwUPEZHifkCDEM8BVLoKULwNkLuj7NC9dVbtdQhCVuFVxsAKUpJsZF
Find me here:
Twitter: https://twitter.com/anobjectisa1
Minds: https://www.minds.com/an_object_is_a/
Instagram: https://www.instagram.com/an_object_is_a
What are Distance Fields? https://lbry.tv/@an_object_is_a:7/compressed-opengl-frag-shader-distance-fields:8
OpenGL step() and smoothstep(): https://lbry.tv/@an_object_is_a:7/opengl_fragment_shaders_step_and_smoothstep:0
I'm going to show you how to draw squares using distance fields in a fragment shader.
We'll take a look at one algorithm that produces a distance field.
We'll then use glsl smoothstep() to create a solid square.
Subscribe to my Bitchute: https://www.bitchute.com/channel/gPUmRsVcChxX/
Subscribe to my Youtube: https://www.youtube.com/channel/UCar-9GMCRk9QdKJXq6s1yeg/
Subscribe to my lbry: lbry://@an_object_is_a#7
If you find value in what I do, think about supporting my channel:
Paypal: https://www.paypal.me/anobjisa
Bitcoin: 3H4NKKwPdbiE5Gtc3Uk2DiwszqHhrRbmKK
Ethereum: 0x48702412F448a27be03836fb6FE6456603668030
Litecoin: MNJ4uv3GD4r62VpQ8rHX1Pj1ihWCj74hCK
Find me here:
Twitter: https://twitter.com/anobjectisa1
Minds: https://www.minds.com/an_object_is_a/
Instagram: https://www.instagram.com/an_object_is_a
As ReactJS Web developers, the most important part of any (more than simple)web app is state.
The normal way of handling state in ReactJS is by passing props DOWN the tree.
This works for most use cases.
In a large tree with many branches, this can get convoluted.
The React Context API lets us simplify how state is handled.
We can elevate local state to a global state so multiple components can have access to the same data.
I'll take you through creating a place to store global state, how we connect to the global state, and how we change the global state.
Get a Basic ReactJS App Up and Running: lbry://@an_object_is_a#7/compressed---reactjs-how-does-reactjs-work#9
How Does ReactJS Handle Props Normally: lbry://@an_object_is_a#7/reactjs_what_is_reactjs#2
Time Stamps:
2:24 - Elevating local state to global state
4:17 - Consuming from the global state from a function
9:29 - Consuming from the global state from a class
10:51 - Changing global state
Subscribe to my Bitchute: https://www.bitchute.com/channel/gPUmRsVcChxX/
Subscribe to my Youtube: https://www.youtube.com/channel/UCar-9GMCRk9QdKJXq6s1yeg/
Subscribe to my lbry: lbry://@an_object_is_a#7
If you find value in what I do, think about supporting my channel:
Paypal: https://www.paypal.me/anobjisa
Bitcoin: 3H4NKKwPdbiE5Gtc3Uk2DiwszqHhrRbmKK
Ethereum: 0x48702412F448a27be03836fb6FE6456603668030
Litecoin: MNJ4uv3GD4r62VpQ8rHX1Pj1ihWCj74hCK
Find me here:
Twitter: https://twitter.com/anobjectisa1
Minds: https://www.minds.com/an_object_is_a/
Instagram: https://www.instagram.com/an_object_is_a
A simple horizontal image carousel using HTML and CSS.
You can scroll left (infinitely).
You can scroll right (infinitely).
Subscribe to my Bitchute: https://www.bitchute.com/channel/gPUmRsVcChxX/
Subscribe to my Youtube: https://www.youtube.com/channel/UCar-9GMCRk9QdKJXq6s1yeg/
Subscribe to my lbry: lbry://@an_object_is_a#7
If you find value in what I do, think about supporting my channel:
Paypal: https://www.paypal.me/anobjisa
Bitcoin: 3H4NKKwPdbiE5Gtc3Uk2DiwszqHhrRbmKK
Ethereum: 0x48702412F448a27be03836fb6FE6456603668030
Litecoin: MNJ4uv3GD4r62VpQ8rHX1Pj1ihWCj74hCK
Find me here:
Twitter: https://twitter.com/anobjectisa1
Minds: https://www.minds.com/an_object_is_a/
Instagram: https://www.instagram.com/an_object_is_a
For people just getting into Javascript programming, I explain what a function is.
I take you step-by-step in this tutorial on how to build both traditional and ES6 Arrow functions.
I go through:
how to define a traditional function with the function keyword and how to define an arrow function with arrow syntax
how to define parameters
how to use parameters as arguments
how to return data from a function
I then finish with some of the simple differences between a traditional and arrow function.
Subscribe to my Bitchute: https://www.bitchute.com/channel/gPUmRsVcChxX/
Subscribe to my Youtube: https://www.youtube.com/channel/UCar-9GMCRk9QdKJXq6s1yeg/
Subscribe to my lbry: lbry://@an_object_is_a#7
If you find value in what I do, think about supporting my channel:
Paypal: https://www.paypal.me/anobjisa
Bitcoin: 3H4NKKwPdbiE5Gtc3Uk2DiwszqHhrRbmKK
Ethereum: 0x48702412F448a27be03836fb6FE6456603668030
Litecoin: MNJ4uv3GD4r62VpQ8rHX1Pj1ihWCj74hCK
Find me here:
Twitter: https://twitter.com/anobjectisa1
Minds: https://www.minds.com/an_object_is_a/
Instagram: https://www.instagram.com/an_object_is_a