Introduction to Programming Functions :: End-to-End Full Stack Developer Tutorial

Опубликовано: 24 Май 2026
на канале: freddythunder
38
3

#EndToEndProgrammingTutorial #ComputerProgramming #HowToBecomeProgrammer #YouCodeStuff

For all of my videos, feel free to ask questions in the comments!! I really do enjoy helping people learn.

Functions! I decided a bit late in the planning to include a video about programming functions. Functions, if you are unaware are pretty much the bread and butter of programming languages. Most languages, and all every language I’ll be show you in these videos make use of function. And then programming is for all intents and purposes creating custom functions to do what you want to get accomplished. I found it important to go through some of our languages to show not only how easy it is to define a function, but the similarities (and sometimes differences) of the structure of a programming function.

I’m starting with JavaScript and jQuery. I feel JavaScript is a great language to start learning because it’s supported by pretty much every web browser out there, and you can start playing with it in the developer console right away! Also, the structure of JavaScript is very similar to most other languages so you can port it over to other languages pretty simply. Not getting too deep into any of these languages, I show you a couple built in functions, talk about variable naming conventions a bit, and custom function in JavaScript. We use the file that we created in the HTML video accessed via file:/// for our JavaScript functions so be sure you have that ready.

I show you a basic $.ajax() or XHR AJAX call in jQuery, but I didn’t realize that it will not work with file:/// so I check to make sure Apache is still on and run it from the local web host. Whew, that’s a lot! Don’t worry about it too much, we will have more videos for Apache and setting up a web server, but I decided to leave it in because you can see that even I run into problems and you just have to dig your way out.

Then I log into one of my linux servers to show you some basic command line PHP calls. We create a file on the server and I show you how to built a function in PHP. While still on the linux server, I log into my MariaDB (or MySQL) database server to show you how to build a stored procedure, which is basically a function that runs in your database layer.

And then, I kind of ramble for a while. I apologize ahead of time, but there are a few tidbits of good stuff. I go over python3 and show an example of a python function, talk about “high level” and “low level” languages, interpretive and compiled languages and how that works a little, and talk about how JavaScript is great to learn and how, if you really want to, you can program JavaScript on the server using Node.js. We’re going to use PHP primarily for our server side programming, but I will have a video or two about Node.js as well.

00:00 Introduction to Functions
01:32 JavaScript Functions
06:37 Variable Naming Conventions
11:49 Adding JavaScript to our HTML Document
24:33 JavaScript :: document.getElementById()
29:03 JavaScript :: console.log()
31:44 JavaScript :: Custom Functions (again)
33:57 jQuery Introduction
39:25 jQuery :: $.each()
42:08 jQuery :: $.ajax()
44:50 Error: jQuery $.ajax() doesn’t work with file:/// !
49:46 jQuery $.ajax() using Apache WebServer
52:50 PHP Functions
54:28 PHP :: echo();
55:20 PHP :: die();
55:47 PHP :: file_get_contents();
56:21 PHP Custom Functions
57:28 Database Stored Procedures
58:42 MariaDB/MySQL Custom Stored Procedure
59:43 Python3 Functions
1:02:00 High vs. Low Level Languages
1:03:11 Built In Functions (BIF)
1:03:58 Interpretive vs. Compiled Languages
1:04:36 Why Make A Video for Functions?
1:04:54 JavaScript / Node.js

---------------------------------------------
This video has been produced under fair use.

Copyright Disclaimer under section 107 of the Copyright Act 1976, allowance is made for “fair use” for purposes such as criticism, comment, news reporting, teaching, scholarship, education and research. Fair use is a use permitted by copyright statute that might otherwise be infringing.