1
00:00:00,199 --> 00:00:06,720
have you ever shopped at a place that promised lower prices by cutting out the

2
00:00:04,520 --> 00:00:10,840
middleman although this might make things easier in the real world by not

3
00:00:08,920 --> 00:00:15,240
having to deal with a Cheesy storefront and high pressure salesman who's

4
00:00:12,679 --> 00:00:20,800
desperate for a commission the middleman or lady is actually very important in

5
00:00:18,119 --> 00:00:25,320
computer land you see the software that you use can be thought of as a club

6
00:00:22,560 --> 00:00:30,279
sandwich like stack of different programs some of which sit between

7
00:00:28,359 --> 00:00:36,600
whatever program you're inter acting with directly and the hardware itself

8
00:00:33,600 --> 00:00:38,600
because without these layers programmers

9
00:00:36,600 --> 00:00:43,960
and developers would have to code differently for every single Hardware

10
00:00:41,480 --> 00:00:48,360
configuration on the planet which would be

11
00:00:45,120 --> 00:00:50,760
impossible other layers sit between two

12
00:00:48,360 --> 00:00:55,879
different pieces of other software and help them talk to each other without

13
00:00:52,680 --> 00:00:58,160
needing to have tons of code in common

14
00:00:55,879 --> 00:01:02,440
these software layers help standardize the coding process so that programs can

15
00:01:00,600 --> 00:01:06,479
interface with lots of different stuff easily and while you might be most

16
00:01:04,519 --> 00:01:10,759
familiar with a layer called a device driver which we've actually discussed

17
00:01:08,080 --> 00:01:15,080
before and that translates program instructions and talks directly to your

18
00:01:12,640 --> 00:01:21,920
Hardware another layer called an application programming interface or API

19
00:01:18,799 --> 00:01:23,799
can be just as important but if a driver

20
00:01:21,920 --> 00:01:29,320
is already there then to serve as the link between your hardware and programs

21
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

22
00:01:32,720 --> 00:01:39,079
Linux all provide a graphical interface

23
00:01:35,799 --> 00:01:42,079
your buttons checkboxes menus Etc that

24
00:01:39,079 --> 00:01:44,640
are easy to click on without that you'd

25
00:01:42,079 --> 00:01:48,920
be left tediously typing commands for everything you want to do like back in

26
00:01:46,799 --> 00:01:55,719
the days when Doss ruled the world or if you're a bash fan then yesterday

27
00:01:52,399 --> 00:01:57,960
similarly an API provides a simpler way

28
00:01:55,719 --> 00:02:03,200
for developers to interact with other kinds of software a really good example

29
00:02:00,520 --> 00:02:08,640
of this is social media plugins that you see on certain websites such as a news

30
00:02:05,840 --> 00:02:13,560
article that embeds tweets or a page that For Better or For Worse lets people

31
00:02:10,759 --> 00:02:17,800
leave Facebook comments under it both Twitter and Facebook have their own apis

32
00:02:16,319 --> 00:02:23,080
that they make available to web developers making it easy for them to

33
00:02:20,280 --> 00:02:28,879
bake Twitter and Facebook features into their own Pages without these apis these

34
00:02:26,720 --> 00:02:34,280
social media Giants would have to share code directly with owners of other sites

35
00:02:31,519 --> 00:02:39,280
which would be tedious difficult and possibly give away certain Trade Secrets

36
00:02:36,959 --> 00:02:45,440
but if you're a PC Gamer you might be even more familiar with Graphics apis

37
00:02:41,959 --> 00:02:48,000
such as DirectX openg and Vulcan which

38
00:02:45,440 --> 00:02:53,120
sit between the engine of whatever game you're playing and your graphics card

39
00:02:50,159 --> 00:02:57,640
driver these apis make it easier for game developers to code cool effects

40
00:02:55,200 --> 00:03:03,360
that bring your favorite characters and stories to life and to have them work

41
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

42
00:03:06,760 --> 00:03:12,360
any mainstream graphics card and as GPU

43
00:03:10,120 --> 00:03:17,040
technology advances you'll see new revisions of Graphics apis being rolled

44
00:03:14,720 --> 00:03:22,080
out that can take advantage of more powerful Graphics chips you can actually

45
00:03:18,840 --> 00:03:24,480
learn more about direct X12 and Vulcan

46
00:03:22,080 --> 00:03:29,319
as well as how game engines work in these episodes but even if you don't

47
00:03:27,200 --> 00:03:34,439
game or argue with random trolls in Facebook comments you're still taking

48
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

49
00:03:38,040 --> 00:03:45,280
uninspirational named the Windows API

50
00:03:41,319 --> 00:03:47,040
commonly referred to as win32 or win64

51
00:03:45,280 --> 00:03:52,439
depending on whether you're running a 32 or a 64-bit application Windows API

52
00:03:50,200 --> 00:03:57,799
makes it easier for programs to do things like talk to your devices modify

53
00:03:55,480 --> 00:04:02,680
your registry use screen elements like buttons and Status bars and much more

54
00:04:00,840 --> 00:04:08,159
without making the developer code these things directly and also helping users

55
00:04:05,760 --> 00:04:11,840
by providing a more reliable and consistent experience I mean can you

56
00:04:10,120 --> 00:04:16,639
imagine if every single program on your computer had a different looking close

57
00:04:13,560 --> 00:04:19,160
button in the corner so while apis might

58
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

59
00:04:20,600 --> 00:04:28,000
your PC or phone they make it possible for all of our disperate devices and

60
00:04:25,479 --> 00:04:32,560
software to work well with each other and Ena the massive amount of quick

61
00:04:30,240 --> 00:04:37,120
communication and high-end gaming that we've gotten used to I mean really

62
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

63
00:04:39,360 --> 00:04:46,800
when it comes to payments for your website or your mobile app you do not

64
00:04:44,240 --> 00:04:52,120
care how the sausage is made then you might want to check out brain tree brain

65
00:04:49,280 --> 00:04:56,880
tree makes mobile payments so fast easy and seamless it's almost magical add it

66
00:04:55,199 --> 00:05:01,160
to your app with just a few lines of code and you are instantly ready to

67
00:04:58,560 --> 00:05:05,919
accept Apple pay Android pay PayPal venmo credit cards even Bitcoin and if

68
00:05:03,800 --> 00:05:10,520
some other way comes along brain tree will support that too they fast payouts

69
00:05:08,680 --> 00:05:15,680
and continuous support mean you'll always be ready whether you're earning

70
00:05:12,240 --> 00:05:17,680
your first dollar or your billionth you

71
00:05:15,680 --> 00:05:21,160
can see fewer abandoned carts and more sales with brain tre's best-in-class

72
00:05:19,440 --> 00:05:26,800
mobile checkout experience and you can learn more at Braintree payments.com

73
00:05:24,120 --> 00:05:30,039
tequ which we're going to have linked below so thanks for watching guys if you

74
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

75
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

76
00:05:37,520 --> 00:05:43,120
anymore I picked it up from for Better or For Worse which was like already kind

77
00:05:41,360 --> 00:05:46,960
of a wellestablished comic by the time I was old enough to be reading comics
