 Hey everybody this is Brian and welcome to the first ye tutorial now I have to pause and some of you probably going what the heck no this is actually not the first ye tutorial I did two or three of them and I wasn't happy with the quality so I said you know what forget that and I just deleted them and we're gonna redo this whole thing from scratch. What we're going to be covering in this tutorial series is well I don't know if I can fit it all on the screen here basically a general overview of ye and if you've seen other ye videos and I'm not knocking anybody but ye is still fairly new so really isn't a lot of material out there so you got to do a lot of reading just to learn how to use ye but once you get it it just you it clicks you get it it's very intuitive it's just getting to that part is a bit of a learning curve for some people so we're gonna be covering the ye framework downloading installation all the way up to actually sending emails user authentication getting real down and dirty into model view controller framework and we're gonna be covering these through a series of videos I'm gonna try and keep every video short to the point if you've seen any of my other tutorials on YouTube you know that I like to focus on a single subject at a time so if you're looking for a monolithic four-hour video this is not for you if you're looking for just how to get stuff done stay tuned alright so this is the first video we'll be covering downloading installation and how to create your first web app but before we really dive into that what really is ye we can go to www.yeframework.com and ye is an acronym that stands for yes it is is it fast secure professional yes it is by the way I'm not affiliated with the framework I'm just telling you what it is there's a lot of PHP frameworks out there I was actually very shocked so why should you use ye why not use Zen or one of the billion others like coding night or something that's out there use the right tool for the job and what I found is ye did away with a lot of the old garbage that some of the old frameworks have I'm not gonna name names here but you have to learn a lot of old things just use the framework and those things get in the way sometimes you just need a fresh start and that's what in my opinion ye really is so for my projects I really picked ye and just moved on in life and I couldn't be happier so what things can you do with ye well my website void realms.com is written in ye it was an ASP.net the database crashed blah blah blah some of you know this story anyways the whole thing poof gone so I rewrote the whole thing in ye on my website you can find the source code to this tutorial and many others for example for these tutorials you'll need to know how to set up a Apache machine you can find those under the lamp tutorials you can also find those out on my YouTube channel like installing configuring lamp etc etc another pet project of mine plug in bot.net this is written in ye and ye's a lot more than just static web pages you can do some really just insanely awesome things like for example you know you can select an account type and boom pull down from a database and you can I mean very quickly code this it's just insanely intuitive once you get it but there's that factor you had to have been there and get it you can also you know put in logic you know and in some languages that just would take days to code this incredibly easy alright now it's also themeable meaning it doesn't you know how my websites kind of look the same you've got this you know across the top here well ye uses themes so it's very easy and I'm gonna give a shout out to the theme factory.net which I'm not affiliated with I just went out and googled ye themes and you can see how people have uploaded themes and they can look drastically different and we're just gonna go through the theme browser here just so you can get like a quick view of what some of these themes are all from well that's an ad but from this thing which is awesome to you know just a logo at the top to different colors to you know moving things around making it look different I mean there is a wealth of things you can do with ye that's actually probably one of my favorite themes it looks just very professional very well done so you can do all that with ye man it's actually I've actually used this theme right here for a client one time they loved it it's very easy to work with themes very intuitive so I realize I've been telling you how great ye is but I haven't shown you why so that's what we're gonna start doing now so let's go out to our web server here and I've downloaded the framework I've got version 1.1.1.5 that may date this video but typically frameworks they don't just delete everything and start over every version they build upon what's already there so what you learn in these tutorials you can take with you even if you're coming to this and it's like ye 3.0 or 4.0 the guts of what I'm talking about will carry over so you're gonna want to take this file that you've downloaded you can download right here and you download either a tar GZ or a zip if you're on Windows do zip obviously the requirements are PHP 5.1 and above and typically a lamp stack which is Linux Apache MySQL and PHP we'll have all that baked in the minimum requirements for this are PHP 5.1 or higher alright you're gonna want to extract that I extracted it and renamed the folder ye root just because I hate these long names I just wanted to ye root and I should caution you right here now that a security awareness movement if you will is being taken place do not put the framework where I have put it I've put it here simply for ease of use so I can show you what's going on you'll notice this is there dub dub dub HTML this is the root of my web server right here when I go to my web server one two seven zero zero one which is your local loop back you might as well just type in local host you'll see I have ye root that is bad if you extract it and you see it in the root of your web server you will get hacked there is no question about that so where do you put it we put it a level above so you actually put it in dub dub dub right here the reason for that is ye has a lot of built-in components that you can use you can actually get in and modify you know parts of the actual website using GUI tools you don't want people out on the internet just being able to type that in mess with your site so I'm just gonna warn you about that right now so if you follow these tutorials and Brian I got hacked I'm gonna say view tutorial one all right so we want to make our first website that's what we're gonna wrap this tutorial up with is we want to build our own website okay how well we're gonna use a command line tool and I know some of you are into like I don't want to use a command line tool it's a very simple and it's probably one of the only command line tools we're gonna use through this whole series it's under ye root or whatever you name that framework and it's called yet love these names yet anyways I think that stands for yes it is command line or something like that so let's actually jump back up here where'd my command line go there you are we're gonna go there dub dub dub html because that's where it is a framework and yuck now if you just enter boom you get hey I need extra parameters what we're looking for here is web app we want to build a web application so we just keel that in type web app and then it's gonna want the path so if you just hit enter it's gonna say usage yick web app path so let's actually give it a path here and we're just gonna call this test and if you watch real closely up here while I'm key on this end you'll actually see it create it but when you hit enter it's gonna say yes or no do you want to create this type in yes enter and voila it created our test directory you can go ahead and just close the window and start browsing through here this is your website and all its beauty and if you refresh your browser if you had it pointed there you'll see our test folder click in it tada there's our first web application notice how it's got pretty much the same structure of what I showed you on my two websites here it's got that toolbar at the top it's got this going on and you can click and see various things and it's already got some logic built in like if you try to do this it'll give you some errors and stuff so that's what I mean a lot of the grub works actually done for you some frameworks make that incredibly painful be it's very simple and we're gonna go over this in future tutorials so thank you for watching tutorial one I hope you found this educational entertaining stay tuned I want to really deep dive into the framework and go over it