Models of the World video thumbnail

Models of the World

 

I’m reading the book JavaScript and JQuery by Jon Duckett, and it has given me a new perspective on programs and how they interact with data. In this vlog I expound on that.

Video transcript:

Hey! So I wanted to make a video about this book I’m looking at called JavaScript and JQuery. It’s kind of made a shift in the way I look at programming and how programs interact with computers. I had made some things, I’ve made some objects, functions, put some data in there, and the programs done some things but, the way that it explains it in this book, I think it would be beneficial to everybody. So first of all this is the book I’m looking at, JavaScript and JQuery. So firstly it says computers create models of the world using data. And I like this because it makes you think of programs as a representation of the world as opposed to, you know, a bunch of lines of code lol… And here it shows you a hotel and some cars and it goes on to say, you can think of objects as the hotel, the people, the cars. And when you look at events, this is when we interact with those objects and cause something to happen. Like it says here an event at the hotel would be a reservation being made, or a reservation being cancelled. With the car, if the driver brakes it slows down, accelerate, it speeds up. And it goes on to say with methods, these in a way are the things that we DO with the objects in the world. Like it had a method here for, there’s a method make booking for… increases the value of make bookings property. Cancel booking decreases value of bookings property. With the cars it said there’s a method change speed where it increases or decreases the value of current speed property. So I just thought it was a really interesting way to look at programs as not just lines of code that are making a computer or an application do something. But it’s like, a representation of the world, and the things or the objects IN the world and how we interact with them.

_

Love & Peace,

Danielle

Template Engines - EJS and Node.js video thumbnail

Template Engines – EJS and Node.js

(video re-post)

 

Video transcript:

Love & Peace! What’s up y’all it’s Danielle, we’re talking about tech, coding, coding tutorials, vlogging, blogging, and self-development books so make sure you Subscribe and Like. And today’s topic is… Template Engines. So I’ve been working with template engines on the backend with Node.js and JavaScript of course. And I’ve come to find I’m seeing a lot of similarities between this and PHP. I was working with PHP earlier this year, and making dynamic web apps using things like header files, and footer files and things like that. Seeing how it all comes together with minimal repeated code, which is obviously infinitely easier to maintain. So now I’m seeing similarities between that and template engines on the backend with JavaScript and Node.js. And you know, now that I think about it they’re both server-side languages. PHP being a server-side language, and JavaScript with Node.js, it has those server-side capabilities. So I’m definitely making the connections and seeing the similarities between the two. So with JavaScript basically doing those same things, plus with JavaScript it’s able to do it with basically good old, client-side, vanilla JavaScript. So that’s awesome, and that’s it for now. So again Subscribe, Like, you know get more tech, programming tutorials, vlogs, blogs, self-development books and that’s it for now. Talk to you later, love and peace.

Love & Peace,

Danielle

Tesla APIs and The Boring Company video thumbnail

Tesla APIs and “The Boring Company”

(video re-posted)

 

Video transcript:

What’s up it’s Danielle talking about tech, coding, doing vlogs, reading and reviewing self development books, so subscribe to the channel. But what I want to talk about right now, I just found out Tesla cars have APIs. I might be late but I just found this out 🙂 Tesla cars have APIs and let me tell you this is one of the flyest things I ever heard. Let me just look at this… This Internet of Things (IoT) space is no joke. So it says just by using the API you can remotely start and stop charging, flash the lights, honk the horn, check its charge level, and you can even set it at a certain time, like for example when you wake up, to check the temperature outside and then it then it will set the temperature inside the car to whatever you want. And another thing. While we’re on the subject of Elon Musk companies, another thing is the double entendre of the name “The Boring Company.” At first I thought he was being sarcastic, you know, with that name until I remembered that the company was building hyper-speed transportation, in tunnels. So boring is another word for digging. “Boring” tunnels. Get it? yeah lol… So they weren’t being sarcastic with “The Boring Company.” That’s actually quite clever. So all this space age transportation (The Boring Company, Tesla, SpaceX), I’m just trying to keep up. So that’s the vlog for now. Subscribe to the channel, get more tech, coding tutorials, vlogs, self-development, subscribe, like. Talk to you later, bye.

Love & Peace,

Danielle

JavaScript Functions Are Objects

(video re-posted)

 

Video transcript:

What’s up it’s Danielle, I’m hanging out in the library. I like to get a good book from time to time but today’s topic, vlog, blog, is Functions Are Objects. Functions are objects? I just found this out so I’m like wait a minute, I feel like JavaScript lied to me lol because all this time… But I should be more specific. In JavaScript, Functions are First-Class Objects. So I’m gonna have a good time, I’m gonna play around with this. And this should be the key with Functional Programming. You know, passing around functions to functions and really kind of playing with it, sort of like a set of Legos. And this should be key to unlocking JavaScript’s potential.

 

So right now I’m working with IIFE’s (Immediately-Invoked Function Expressions), the ‘this’ keyword, Closures, Hoisting, call(), apply(), bind(), of course Object-Oriented Programming, the ‘new’ keyword and Prototypal Inheritance. And I’m also gaining an understanding of Function Constructors. And while I’m doing that, I’m really kind of studying all these things in the Underscore.js library. It’s actually pretty good for studying Functional Programming. They comment everything, and everything’s really well explained. So if you haven’t seen it check it out. And that’s today’s video, that’s it for today. Again Subscribe, Like, you get plenty of tech, vlogs, self-development, reviewing and reading books. Check it out, stay tune, talk to you later.

P.S. It’s interesting the clever ways a lot of these concepts are used in the Underscore.js library.

 

Love & Peace,

Danielle