Placeholder Image

字幕表 動画を再生する

  • creating these classes requires equipment and service.

  • Is that cost money?

  • If you appreciate this education, please think about going to Eli the computer guy dot com and offering a one time or monthly recurring donation.

  • Welcome back, as you know why I'm alive, the computer guy and in today's class morning give you a brief introduction to frame works in the coding world.

  • So whenever I have new people come to me, they always ask, You know what is the best programming language?

  • They always want to know what the best language is.

  • A CZ I've talked about many times in the past the best programming languages, whatever programming language allows you to accomplish whatever solution that you need to accomplish.

  • One of the questions that rarely comes up is what framework should people be learning?

  • So people ask about PHP or they ask about python or C sharp or job or anything like that.

  • They always focus on the language itself, and curiously enough, very few people ask about frameworks.

  • So when we're talking about frameworks, basically, we're talking about is we're talking about libraries of Rhea usable code, So important thing to understand in the coding world is that if you're trying to accomplish something with code, most likely somebody else has tried to do the exact same thing in the past.

  • Not only has someone else tried to do the exact same thing in the past, probably 100,000 coders have tried to do the exact same thing in the past.

  • And so again, one of the things that you have to keep in mind if you're going be a professional coder, you don't wanna have to keep re creating the wheel all the time.

  • Imagine if every single person that tried to design a brand new car had you also designed a brand new wheel or brand new axle or things like that that just want to make any sense, right?

  • If you're going to design a new Corvette or a new Ferrari or New four truck, you're going to take components that people have already created and possibly customize them a little bit.

  • You're gonna take wheels and tires and Axl's on engines and steering wheels and seats and all that kind of thing.

  • You're gonna put some new colors on them, you're going to a just a couple of things on.

  • Then You know, basically you're gonna come out with either an F 1 50 or a Ferrari.

  • But the reality is, if you look at a Ferrari and if you look at an F 1 50 their arm or things similar with those two vehicles than are actually different.

  • And the reason is is because if somebody is going to be creating a vehicle there essentially going to be taking the exact same concept somebody else has come up with previously and added a couple of things, Yeah, this is very important.

  • Understand?

  • In the coding world, you don't wanna have to right everything from from scratch again.

  • That's one thing where a lot of new people laugh the idea of coders who copy and paste it like I'm never going to copy and paste code.

  • I was like, Why?

  • I know if I can copy ah, 100 lines of code pasted into my project and like modify three lines.

  • That seems a hell of a lot more efficient, and I'm a hell of a lot less likely to create errors, and I literally have to type out those 100 lines of code every time I'm going to build a project The reality is is real professional coders.

  • Three idea is you do a lot of topping and pasting, but the important thing would be in a professional coder is that you understand?

  • We're copying pacing, so you copy and paste 100 lines of code and you can read through.

  • You basically scan through you audit those 100 lines of code to verify it does what you think it's supposed to do.

  • There's no weird hidden Trojan horses or anything in there on then you, you, anything he deployed out.

  • There's no reason to rewrite things that have already been written again 100,000 times a 1,000,000 times before.

  • Well, basically, what frameworks are as frameworks is where all of this this code is prepackaged code has been brought together in a single package so that you can simply a reference that that code win, you're the creative projects.

  • And when you're deploying your your software into the field instead of having to rewrite everything s o almost all coding languages, any modern coding languages, they're gonna have frameworks.

  • PHP has a lot of frameworks.

  • Python is a lot of frameworks of Java has frameworks.

  • JavaScript as fame works see sharper think as frameworks.

  • Basically, there's a lot of these these frameworks out there and with the idea, is that somebody sat down.

  • They they typed out specific functions.

  • I typed out the specific libraries of code for you so you can add this to your project.

  • And then all you have to do is reference what is in the library's instead of having to re write the code yourself.

  • So one of the important things toe understand about frameworks is basically this is pre written code that you're able to reference.

  • And then the other thing to remember about these frameworks is that they're all prepackaged many times to solve certain types of problems.

  • So whenever you're going to go and work for a company, they may use one specific framework or another S O.

  • If you're going to go work for a company again, the codes and PHP there's Laura Belle Isa framework.

  • There's something cake.

  • PHP is a framework.

  • They may be using a specific framework, and so it's important.

  • Not only do you need to know the programming language PHP, python, whatever else, but you're also going to need to know and understand the frameworks that your company is going to be using because that is going to be as important to you as understanding the programming language itself.

  • So today we're gonna be talking a little bit about frameworks.

  • It just gives you an overview.

  • There are a crap ton of frameworks out there s.

  • So basically, if you want to learn frameworks for yourself self study or your consultant or something like that, basically, what you're gonna have to do is you're gonna have to do a bit of research and figure out what framework solved the types of problems that you care about.

  • Just like you need to figure out what programming languages solves the problems that you care about.

  • Once you figured out that programming language, then you need to go and you need to reduce some research and see what frameworks will then make it faster and easier for you to code within those frameworks.

  • If you're gonna be going into the enterprise environment where you were going to get hired for companies again, why, it's very important to go out, go to meet ups, go to tech events, grab a beer or a coffee, sit down and talk with people.

  • And then when you're talking to them, asking them what programming languages their company is is also ask them what?

  • But what frameworks they use because again, different areas, different companies may use different frameworks.

  • And just like sometimes companies get walked into particular programming languages just simply because of legacy, Right?

  • This was built in PHP 10 years ago.

  • It works.

  • It does what people needed to do.

  • So they're not gonna spend $2 million to rewrite it into a new language.

  • The same could be true of frameworks, right?

  • You know, 10 years ago, they deployed PHP as as their web infrastructure.

  • A couple years after that, they realized Oh, look.

  • Okay, the cake framework cake PHP works really well.

  • And so they started to use cake and see you come in.

  • You know, post 2020.

  • And you gotta You're excited to use a letter of l or some new framework.

  • Can you find out like what you get?

  • You guys still used cake?

  • That was a joke.

  • There's actual eight, actually.

  • Framework called that.

  • Um, but, you know, again, it may be a legacy thing.

  • They've been using it for so long again.

  • It does exactly what the company needs done.

  • And, you know, one of things you have to understand.

  • The technology world is inertia is a very powerful force.

  • So a lot of times coding languages, frameworks, infrastructure.

  • All of these things are still being used, are still being supported.

  • New products are being built off of this stuff simply because of inertia.

  • We're building a new product using these technologies because we already have a whole infrastructure built using these technologies, and so we're just going along.

  • So if you want to go out and figure out what framework you should learn again, there are a lot of them out there.

  • So if you're on your own, basically do some research, trying to figure out what framework works for you.

  • If you're going to go out, you're gonna try to work for companies again.

  • Go to meet ups, talk with people, discuss it, find out what particular frameworks are popular in your area because what you will find geographically again, like with coding languages and other things, simply things get picked up in particular geographic areas.

  • You know this geographic area?

  • I think about that again.

  • When I talk about a few years ago when the startup movement was really big and it's very curious.

  • On the East Coast, PHP was really popular.

  • And on the West Coast, Ruby on rails was really popular.

  • When I actually sat down and tried to talk with coders and figure out why PHP was so popular on the East Coast and Ruby was so popular on the West Coast, nobody could actually give a good answer.

  • It was kind of well, you know, we're in Denver and we needed to build an infrastructure and we need to deploy something.

  • And everybody around here knew Ruby.

  • So we build on Ruby again on the East Coast, you know?

  • So we needed to build something.

  • Everybody around here knew PHP and so we built on PHP.

  • And then once we and all the other companies built on PHP because that's what the local knowledge bases, Then, in order to get a job with a company that you need to know PHP and it's like this weird, self reinforcing cycle.

  • Eso it is important, understand, Like if you're in Baltimore and you start talking to somebody in San Francisco, the languages they use, the frameworks they use the technologies they use may be entirely different than what the people around you who are hiring actually need.

  • So it's very important to meet people locally not to just know the programming languages in technology, but also for things like frameworks.

  • So now you have a basic idea of what coding or programming frameworks are.

  • I'd like to go over the computer and just to show you some of the different examples out there and again to reinforce the idea that there are so many of these different frameworks out there, so that if you are going to learn a particular type of framework, you do need to do your research to find what will be most valuable to you so that let's go over the computer, you can basically you can do a very basic Google surf to find a different frameworks again, whatever programming language that you've decided to use, python PHP, Java script, Java, Sea shar, whatever, uh, basically what you do, all you do is you type in, you know, Java best frameworks.

  • You know, you look at the Google results and then you get to do a couple of days of research and playing around and see what seems to work best for you, boy, that let's go to the computer just to give you an idea of the different frameworks that are out there.

  • So here we are again.

  • All I did was was a basic Google search.

  • A Google search for PHP frameworks, python frameworks, JavaScript frameworks, job frameworks.

  • Just to give you an idea.

  • Eso here is website Reagan 10 10 The popular PHP frameworks in 2020.

  • So just for PHP there 10 frameworks gives you a bit of an explanation.

  • 1st 1 is La Ravel talks about reasons to use la Ravel.

  • Arabella suitable wouldn't appoint applications with complex back end requirements, whether small or large, installing alarm Bell has been made easier with indirection.

  • Homestead, eh?

  • So this gives you some idea why you might want to use a layer of L as a particular framework code igniter known for its small footprint code igniters A PhD framework suitable for developing dynamic websites, it offers numerous pre built modules that help with constructed, robust, reusable components to his code.

  • Igniter Symphony has once again cake PHP This one's been around forever.

  • Yeah, cake ph be hit the market in early two thousands.

  • And since INS gained their performance and many new components, cake PHP is easy to install.

  • It makes a good choice for commercial applications due to security features that include sequel injection prevention, input validation, Christ's cross site request, forgery protection and cross site scripting protection s.

  • Oh, those are some of the things to be thinking about.

  • Yay, Zenda, Framework is down here.

  • Some gold falcon is down here.

  • Fuel PHP, PHP XY or however you want to say it slim.

  • So again, basically these air 10 frameworks itjust for PHP.

  • If you go over there and take a look at 11 python frameworks, s O, the most popular framework now hopes to go there.

  • Most popular framework, at least from what I've been able to tell in the python word world is Django.

  • This is the particular framework for Python and you got web to pie Turbo gears cubic Web gado pylon And I got some other stuff, you know, bottle carry pie flask.

  • So on and so forth if you're gonna go over a Java script has framework.

  • So if you think Java script is entranced and 10 best frameworks for them, they've got angular.

  • They've got react.

  • So, like react, you know, created by Facebook, the react framework is Aaron popularity within a short period, it is used to develop and operate the dynamic user interface of the Web.

  • Pages with high incoming traffic makes use of virtual Dom, and hence the integration of the same with any application is more straightforward.

  • So, again, this is This is where you sit there and you start taking a look of again.

  • What kind of software do you want to create?

  • So you know that cake PHP that was talking about for back in the security?

  • You know, protection against sequel injection attacks, protection against cross site scripting, that type of thing.

  • That's what you care about Kick PHP might be for you again the Java script world creating user interfaces, maybe reactors for for U mber media or mithril know Js.

  • That's when we'll talk about a lot later.

  • A polymer, blah, blah, blah.

  • We over here.

  • We also got Java framework.

  • So not just for the scripting language is we come down here and take a look at spring and their struts, hibernates and a whole bunch of different frameworks here for Java.

  • So this just kind of gives you an idea of how many frameworks there are.

  • So not only do you have to figure out what programming language is going to be best for a situation, but then once you figured out that programming language going out there and trying to figure out what framework will make it easier, faster on, better in your code.

  • Basically better is a very important thing to be thinking about.

  • So now you're probably sitting there.

  • Go on.

  • Cool.

  • Sign me up.

  • Okay, so I get to learn a programming language and then once I'm learning that programming language, I get to use these frameworks that will make my life a lot easier.

  • What could possibly be at the downside to this?

  • Ah, if you've been in the technology world for even a microsecond of time, you know that there is going to be a bit of a downside.

  • Maybe, maybe not a huge downside, but there is some downside to using frameworks.

  • One of the important things understand is when you're using frameworks, is that many times frameworks will have to reference service is that may not be already installed on your server right eso again when your thinking about like notification service is email service is all kinds of different service is an order for the framework to be able to do whatever that it's going to be a dio.

  • It needs possibly different application that software service is installed on your server.

  • And if, though, that software or service's are not insulting your server and then the frameworks themselves main functions, it was important to understand when you're doing dealing with frameworks, this isn't necessarily like you.

  • Simply copy a folder to your root directory, and then you simply reference you know, different scripts or whatever within that folder.

  • The fact of the matter is, in order to make those scripts in order, make those functions actually work.

  • Other may have to be service's and software installed on your server.

  • And so where you get into a problem is, if you're on the enterprise world, you may not have the authority to be a blue.

  • Install things onto your server again.

  • We start talking about what framework will you use.

  • You may have to use a framework based off of what service's are already installed on your servers in your network right.

  • You may have systems administrators that say, OK, this is what's installed on our infrastructure, and that's it for us to install anything additional honor infrastructure.

  • We're gonna have to go through a six month, you know, research and whatever plan in order to change anything.

  • So basically, if you need to get something up and running tomorrow, you're going to have to use whatever we have to offer.

  • And so again, you're saying they're looking at Clarabell or cake or two to tango or something like that.

  • You may look at what their requirements are basically again.

  • You have to understand the technology, wolf.

  • You're new on the technology world, most of our job, most of our job is paint by numbers.

  • Most of our job really is a recipe.

  • Basically, you sit.

  • There you go.

  • Okay.

  • This framework, it looks really good.

  • I want to use this framework and then you look at the requirements and then you look at your server.

  • If the requirements and what your server has mag did, you could use this framework.

  • If they don't match and you're not able to modify your server, then you gotta find another frame or guess That's just how it is.

  • It doesn't It doesn't matter how Buddha that framework is.

  • It doesn't matter how the easy that framework is.

  • If your servers you don't have the requirements for that framework, it's just not gonna work.

  • Thea.

  • Other thing to be thinking about, too is if you're gonna start using frameworks is that you may run into issues where you need to understand Maur about computers on, then possibly you already know again.

  • One of the big problems that I see right now in the coding world is a lot of people jump into coding with about no understanding at all of computers.

  • Again, they don't know default gateways.

  • They don't know how to install things on the servers.

  • A lot of people, a lot of coders, and I can barely even install Linux operating system at this point right there.

  • Used to working in the platform as a service world.

  • Basically, they're used to working in a world where they just get the platform, they upload the code, and all they have to know is the well, one of the problems you run into.

  • If you start using frameworks, you want to start using frameworks is you may have to install additional service is onto a server.

  • You may have to understand how security and permissions work.

  • You basically may have to have a deeper understanding of how the box or how the operating system itself works.

  • And a lot of people here caught up in that again.

  • I say, if you're just going out there, you're new in the technology world.

  • You wanna learn python, you will learn PHP.

  • You wanted something like that.

  • You're flying along pythons easier.

  • PHP zero, right?

  • All this is great.

  • Oh, you know this this You think this framework eyes really gonna make your life a lot easier?

  • And so then you go to then try to use that framework and you start running into issues because you don't understand enough about how to administer the underlying system.

  • And you got a couple of days a troubleshooting.

  • This isn't necessarily a bad thing.

  • To be clear, that's not a sort of a bad thing.

  • A couple of days a troubleshooting to learn how the underlying operating system works is definitely good for you as a professional, but depending on where you are in your career, it may be maybe a detour you don't necessarily want to do right now again for me doing technology for 20 years, I'm happy to take detours for weeks at a time to learn something I made of her use again simply because I find it to be curious.

  • If you're literally learning your first programming language and you have to take a detour about learning Lennox permissions and other things that may get you so far off, of course that it gets you confused and again.

  • Then you get frustrated, then you want to give up.

  • So do be careful when you're thinking about frameworks.

  • I would argue that you should have a solid understanding of the programming language that you want to use again.

  • Python PHP, Java script.

  • Something like that.

  • Take a month more or less.

  • Take a month, learn that programming language, learn, learn howto reinvent a lot of wheels and that type of thing.

  • And then once your feet.

  • Once you feel comfortable with that, then start to take a look at the frameworks because you already have a solid foundation in the coding language.

  • So then when you go start trying to figure out the frameworks you probably won't get so frustrated so that let's go over the computer again.

  • I do just want to pull up a layer of l A for you again just to kind of give you a bit of an overview to understand again that the installation process to actually use layer of l might be a little bit more complicated than you're expecting, because again, this is one of those things.

  • You hear this with a lot of coders, right?

  • A lot of these old time coders Oh, yeah.

  • Ah, you're doing You're doing it the old way.

  • Only all you need to do, you just need to slap this framework in there and then, in like, two days, you're gonna be created amazing things, and then you get your new You don't know the damn difference.

  • So you go.

  • You download this framework and then almost seven, there's these requirements in these things, and then you you'll rip your hair out, and then you want to go off and give up, be a florist.

  • So it is important.

  • Understand that there it might be a little bit more of a learning curve than you're expecting.

  • So let's go to the computer just so I could give you a little bit of an overview with Larry Bell.

  • So this is the website for Larrabee, Also layer of Elyse ph.

  • Pf framework for ho Web artisans, Lovell is a Web application framework with expressive elegance intact.

  • We've already laid the foundation, freeing you to create without sweating the small things.

  • So you come here again.

  • They've got documentation and they've got videos you could watch.

  • They have a whole bunch of stuff here.

  • But again, Once you start looking at this, you realize this This is going to be a project to learn.

  • This is not simply throw.

  • Throw la Ravel on your server and you know, a couple of hours you're gonna be knocking things out.

  • You can see there's a lot of different stuff here that's involved with Laura Belle.

  • Very powerful.

  • Once you understand, it will make your life a lot easier.

  • But there is going to be a learning curve that might be a bit steeper than you expected.

  • You go over to documentation of our pull this up and you can take a look again for installation.

  • Just understand.

  • Here's all the things you need to do to actually install Clarabell as a framework onto your your server again.

  • When you're when you're dealing with a scripted programming language, certain things like Java script PHP python.

  • You will most likely need to be installing something onto your server in order to make that framework work again.

  • If you're using lets a Java Java frameworks compile programming language frameworks, they will be dealt with a little bit differently.

  • So one of things that you have to look at is once you figure out what framework looks interesting to you, you have to go take basically take a look at what the installation instructions are s So you take a look here.

  • The layer of el framework is a few system requirements.

  • All of these requirements are satisfied by the lair of El Homestead of Virtual Machine.

  • They've created a virtual machine for you that has everything.

  • So again, this is we're gonna have to know a little bit about a little bit about operating systems.

  • You have to know what the hell of virtual machine is the whole nine yards.

  • So it's highly recommended that use homestead as your local Larry Bell development environment.

  • However, if you are not using homestead, you'll need to make sure your server meets the following requirements.

  • And again, there are some things you have to actually have installed here, so you have to have PHP 7.2.

  • So that's important thing.

  • Making sure sure that your server has the PHP version or whatever version that's required.

  • Thea bc math PHP extension C type PHP Jason PHP extension and be straying open SSL PDO PHP in certain token Isar PHP extension exam l p h b extension.

  • So if you're going to be putting layer about on your server, you're gonna be building out on your own.

  • You have to make sure all of those things were there again not to be clear and not horribly complicated.

  • But it is, you know, it's gonna take you a little bit to figure that out.

  • Installing Laval Laval Usual utilizes Composer manager is dependencies.

  • So before using wear a belt, make sure you have composer installed on your machine.

  • So you have to understand what that has to be able to do that the alarm bell installer and see you go through here and you take a look.

  • You do everything to actually be able Thio install Clarabell onto your particular server.

  • And so you're just going after you, ready for this type of thing with whatever framework you're gonna use.

  • Now again, one of the issues that you may run into if you're dealing thing with things like scripted language is is you may be thinking about putting your oh, you're finished code onto something like a shared hosting plans ago.

  • Daddy, Host Gator, that type of thing.

  • And so one thing you're gonna have to think about is not onl e Verify that that shared hosting plan has the scripting language that you care about PHP Python whenever isles.

  • But you have to make sure that you were framework can be installed onto that particular share hosting plan I just brought up.

  • You know, this particular block posts by cloud weighs so, you know, take with a grain of salt.

  • But here's why.

  • You should stay away from Laura Bell shared hosting.

  • So this goes through and this explains some stuff about trying to use layer of El on shared hosting and problems that you might run into.

  • And so that's you know, that's the whole thing we talk about.

  • We talk about things like frameworks.

  • It's very easy to say frameworks will make your life easier if only you.

  • If you start using frameworks, then it will be quote unquote easier to be able to write code.

  • Well, yes, if your server support the framework.

  • If this if that.

  • If the other thing.

  • And so again, this is.

  • This is where it's always a balancing act with any kind of tool you're going to use in the technology world where get using a framework could make some things a lot easier.

  • But the learning curve or the requirements in order to use the framework, uh, might be a little bit difficult for you.

  • So that's just a brief introduction to the frameworks and basically the concepts of frameworks in the coding in the programming world.

  • Basically, this is already code that hit that has been written.

  • These are these are small systems that have been written that is then reusable so that you can build out your application much more easily, much more efficiently and much more securely again.

  • You know a lot of new people, they always want to go out there and reinvent the wheel.

  • But the fact of the matter is creating registrations for websites you know has been done literally a 1,000,000 1/2 times again doing things like password reset systems have been done a 1,000,000 1/2 times try securing, securing sites from sequel injection attacks and quite cross site scripting and all that kind of stuff.

  • Literally.

  • Why rewrite something that has basically been done?

  • Almost perfect.

  • You always gotta say, almost say almost almost perfectly by somebody else.

  • You know, somebody else that probably spent more time focused on that one specific problem that you're on you.

  • Then you're gonna focus on for the entire project.

  • They've already built all this stuff out.

  • The other thing, too, is you have a community.

  • So again, if you're using the layer of El framework or even the Cape Framework or D jango or something like that, you have a community of people that are using these frameworks that are hammering the hell of these frameworks that are looking for problems in these frameworks.

  • So if there are issues, is more likely that those issues will service at certain surface and then get fixed again.

  • One of the big problems if you're writing a writing everything from scratch.

  • The fact that matter is is your moment to make a stupid mistake.

  • Get whenever you build out tech infrastructure.

  • At some point, you're gonna You're everybody makes a stupid mistake.

  • If you're the only person looking at that before it gets deployed in the field, the fact that matter is the next person that's going to be looking at it is the hacker that just compromise all your systems because you did something stupid because you retired and you left something open when it shouldn't have been open.

  • And now somebody is, you know, ransom, wearing your entire your entire infrastructure.

  • So that's again.

  • That's an important thing with thinking about what these frameworks is for the different types of projects you're gonna be doing for the different problems you're gonna try to solve.

  • It's a very easy way to put far more robust, far more secure applications into the field.

  • Frankly, uh, much quicker.

  • But you do have to remember that there is going to be a learning curve on all of these different frameworks and that there are going to be requirements.

  • So again, cake PHP maybe 20 years old at this point, I may look old and stupid, but there may be reasons.

  • Use K p a p overusing Clarabell.

  • There may be reasons to use a particular frameworks even though they're not as popular as other frameworks again, simply learning curve.

  • You know, maybe you only need a couple of things, and so you don't want to be a learning curve again Server resource requirements in that type of thing.

  • So that's a basic overview, a bit of an introduction to what frameworks are.

  • This is one of those things that really at the end of the day, just figure out what programming language you want to use.

  • Then start doing some Google searches on best frameworks.

  • Start really digging in, making Make sure you understand what the requirements are to use the framework.

  • Understand what your infrastructure actually looks like again.

  • If your infrastructure is go Daddy shared hosting, you're going to need to use a different framework.

  • Then, if you are building your own server, you know, bare metal server, and you can do whatever the hell you want.

  • So those are some of the things that you have to be thinking about when you're looking at the point frameworks so that, as always, I enjoy doing this video.

  • I look forward to the next one.

  • Apparently, the type of content you just saw is not what Susan W.

  • Wants for the future of YouTube.

  • This means that recommendations by YouTube to this channel have dropped massively, and views are becoming a comically small I hate to ask.

  • I used to say I would never ask, but if you could subscribe like common and most importantly, share the videos that you appreciate, that may help slow the death of this channel.

  • Do you remember that if anything at all happens to this channel, you can go to Eli, the computer guy dot com, to view the content and access information not available on YouTube.

creating these classes requires equipment and service.

字幕と単語

ワンタップで英和辞典検索 単語をクリックすると、意味が表示されます

B1 中級

プログラミング入門 - コーディングフレームワークとは? (Programming Intro - What are Coding Frameworks?)

  • 7 0
    林宜悉 に公開 2021 年 01 月 14 日
動画の中の単語