WEBVTT

00:00:00.199 --> 00:00:06.720
have you ever shopped at a place that promised lower prices by cutting out the

00:00:04.520 --> 00:00:10.840
middleman although this might make things easier in the real world by not

00:00:08.920 --> 00:00:15.240
having to deal with a Cheesy storefront and high pressure salesman who's

00:00:12.679 --> 00:00:20.800
desperate for a commission the middleman or lady is actually very important in

00:00:18.119 --> 00:00:25.320
computer land you see the software that you use can be thought of as a club

00:00:22.560 --> 00:00:30.279
sandwich like stack of different programs some of which sit between

00:00:28.359 --> 00:00:36.600
whatever program you're inter acting with directly and the hardware itself

00:00:33.600 --> 00:00:38.600
because without these layers programmers

00:00:36.600 --> 00:00:43.960
and developers would have to code differently for every single Hardware

00:00:41.480 --> 00:00:48.360
configuration on the planet which would be

00:00:45.120 --> 00:00:50.760
impossible other layers sit between two

00:00:48.360 --> 00:00:55.879
different pieces of other software and help them talk to each other without

00:00:52.680 --> 00:00:58.160
needing to have tons of code in common

00:00:55.879 --> 00:01:02.440
these software layers help standardize the coding process so that programs can

00:01:00.600 --> 00:01:06.479
interface with lots of different stuff easily and while you might be most

00:01:04.519 --> 00:01:10.759
familiar with a layer called a device driver which we've actually discussed

00:01:08.080 --> 00:01:15.080
before and that translates program instructions and talks directly to your

00:01:12.640 --> 00:01:21.920
Hardware another layer called an application programming interface or API

00:01:18.799 --> 00:01:23.799
can be just as important but if a driver

00:01:21.920 --> 00:01:29.320
is already there then to serve as the link between your hardware and programs

00:01:26.439 --> 00:01:35.799
then what does the API actually do we'll think of it like this Windows macOS and

00:01:32.720 --> 00:01:39.079
Linux all provide a graphical interface

00:01:35.799 --> 00:01:42.079
your buttons checkboxes menus Etc that

00:01:39.079 --> 00:01:44.640
are easy to click on without that you'd

00:01:42.079 --> 00:01:48.920
be left tediously typing commands for everything you want to do like back in

00:01:46.799 --> 00:01:55.719
the days when Doss ruled the world or if you're a bash fan then yesterday

00:01:52.399 --> 00:01:57.960
similarly an API provides a simpler way

00:01:55.719 --> 00:02:03.200
for developers to interact with other kinds of software a really good example

00:02:00.520 --> 00:02:08.640
of this is social media plugins that you see on certain websites such as a news

00:02:05.840 --> 00:02:13.560
article that embeds tweets or a page that For Better or For Worse lets people

00:02:10.759 --> 00:02:17.800
leave Facebook comments under it both Twitter and Facebook have their own apis

00:02:16.319 --> 00:02:23.080
that they make available to web developers making it easy for them to

00:02:20.280 --> 00:02:28.879
bake Twitter and Facebook features into their own Pages without these apis these

00:02:26.720 --> 00:02:34.280
social media Giants would have to share code directly with owners of other sites

00:02:31.519 --> 00:02:39.280
which would be tedious difficult and possibly give away certain Trade Secrets

00:02:36.959 --> 00:02:45.440
but if you're a PC Gamer you might be even more familiar with Graphics apis

00:02:41.959 --> 00:02:48.000
such as DirectX openg and Vulcan which

00:02:45.440 --> 00:02:53.120
sit between the engine of whatever game you're playing and your graphics card

00:02:50.159 --> 00:02:57.640
driver these apis make it easier for game developers to code cool effects

00:02:55.200 --> 00:03:03.360
that bring your favorite characters and stories to life and to have them work

00:03:00.920 --> 00:03:10.120
regardless of whether you have an AMD or an NVIDIA GPU since the API can talk to

00:03:06.760 --> 00:03:12.360
any mainstream graphics card and as GPU

00:03:10.120 --> 00:03:17.040
technology advances you'll see new revisions of Graphics apis being rolled

00:03:14.720 --> 00:03:22.080
out that can take advantage of more powerful Graphics chips you can actually

00:03:18.840 --> 00:03:24.480
learn more about direct X12 and Vulcan

00:03:22.080 --> 00:03:29.319
as well as how game engines work in these episodes but even if you don't

00:03:27.200 --> 00:03:34.439
game or argue with random trolls in Facebook comments you're still taking

00:03:31.480 --> 00:03:41.319
advantage of apis all the time if you're a Windows user Windows has its own API

00:03:38.040 --> 00:03:45.280
uninspirational named the Windows API

00:03:41.319 --> 00:03:47.040
commonly referred to as win32 or win64

00:03:45.280 --> 00:03:52.439
depending on whether you're running a 32 or a 64-bit application Windows API

00:03:50.200 --> 00:03:57.799
makes it easier for programs to do things like talk to your devices modify

00:03:55.480 --> 00:04:02.680
your registry use screen elements like buttons and Status bars and much more

00:04:00.840 --> 00:04:08.159
without making the developer code these things directly and also helping users

00:04:05.760 --> 00:04:11.840
by providing a more reliable and consistent experience I mean can you

00:04:10.120 --> 00:04:16.639
imagine if every single program on your computer had a different looking close

00:04:13.560 --> 00:04:19.160
button in the corner so while apis might

00:04:16.639 --> 00:04:23.160
not be the usual star of the show when you're doing whatever it is you do on

00:04:20.600 --> 00:04:28.000
your PC or phone they make it possible for all of our disperate devices and

00:04:25.479 --> 00:04:32.560
software to work well with each other and Ena the massive amount of quick

00:04:30.240 --> 00:04:37.120
communication and high-end gaming that we've gotten used to I mean really

00:04:35.360 --> 00:04:41.360
haven't you always been a little curious as to how the sausage is made but if

00:04:39.360 --> 00:04:46.800
when it comes to payments for your website or your mobile app you do not

00:04:44.240 --> 00:04:52.120
care how the sausage is made then you might want to check out brain tree brain

00:04:49.280 --> 00:04:56.880
tree makes mobile payments so fast easy and seamless it's almost magical add it

00:04:55.199 --> 00:05:01.160
to your app with just a few lines of code and you are instantly ready to

00:04:58.560 --> 00:05:05.919
accept Apple pay Android pay PayPal venmo credit cards even Bitcoin and if

00:05:03.800 --> 00:05:10.520
some other way comes along brain tree will support that too they fast payouts

00:05:08.680 --> 00:05:15.680
and continuous support mean you'll always be ready whether you're earning

00:05:12.240 --> 00:05:17.680
your first dollar or your billionth you

00:05:15.680 --> 00:05:21.160
can see fewer abandoned carts and more sales with brain tre's best-in-class

00:05:19.440 --> 00:05:26.800
mobile checkout experience and you can learn more at Braintree payments.com

00:05:24.120 --> 00:05:30.039
tequ which we're going to have linked below so thanks for watching guys if you

00:05:28.880 --> 00:05:33.520
like the video like it if if you dislike it dislike it if you want to check out our channels boom if you want to leave a

00:05:32.240 --> 00:05:39.039
comment with video suggestions boom and if you want to subscribe and follow then cool beans does anyone say cool beans

00:05:37.520 --> 00:05:43.120
anymore I picked it up from for Better or For Worse which was like already kind

00:05:41.360 --> 00:05:46.960
of a wellestablished comic by the time I was old enough to be reading comics
