Hi guys, Shalva with Life is No Yoke. We are talking about the certified reconditioned next-gen Vitamix. You might also know it as the 7500, the creation's elite, the Pro 300 or the professional series 300. It's got a lot of names. What it is, is this machine. It comes in black, it comes in red, and it comes in white. The easiest way to think about this is the, the exact same machine is the Pro 750. It just doesn't have the presets. The Pro 750 is one of our favorite machines by far. So it's a really, really good machine. It's got a few features. It's got on off switch, a variable one through 10 speed, and then a pulse feature. The pulse feature really helps when you're trying to control the texture of your blend. If you're making a salsa or a soup, I use the pulse feature when we're making our lentil chili because I want to make sure that there's still some lentils in there. And then it also has this extra safety feature on off on the side here. That's what it comes with. It's got the 64 ounce low profile container and a cord. It needs that heavy duty cord because it has a 2.2 horsepower motor. I don't really know what that means. I just know that that means it's powerful and it's the same motor that you're gonna see in any of the newer models with more features. It's the exact same guts inside as some of those newer models with all the features, which means that this model can do everything any other Vitamix can do. It can make hot soup. It can make hummus. It can make nut butter. It can make frozen desserts. It can make your smoothies, your juices, your dressings, all of that. You just have to make sure that you're doing the minimum batch size because it is that wider container. You have to make sure that you're blending enough of something to get the true blend. But this thing can make anything you want it to make. The other thing it comes with is a five year warranty. Vitamix is known for their really good warranties. If anything should ever go wrong for five years, they'll ship it back and forth. No questions asked. It should last much, much longer than five years as long as you take care of it. So one of the ways to take care of it is to clean it after you use it. This is one of the easiest kitchen appliances to clean. All you do is drop some soap in it, some water, turn it up to high for a few seconds, dump it out in the sink. So what comes in the box? Oh, I can't reach all this stuff. What comes in the box? So you're gonna get in the box the motor base, red, white, black. The 64 ounce low prep profile container. The tamper, which is what sets Vitamix apart in general. You can really control your blends. It's so hard to make a frozen dessert without a tamper. It's the best tool ever. Owner's manual that has all of your warranty information in it. A DVD, if you still have somewhere to play a DVD, you can use that. And you get a legit cookbook. Really nice cookbook here. Some beautiful pictures included.  It explains what a certified recondition model is. So what certified recondition means is that this machine is like new. They're just the best deal. You'll hear from anyone that's ever bought a certified reconditioned Vitamix that they're so glad that they did, that they saved a ton of money and there's just no downside to getting one. If you're looking to add some accessories to this, it is compatible with the 48 ounce container. Also the 32 ounce, both the wet and the dry and the personal cup adapter. So that's where you can blend up a 20 ounce smoothie, throw a lid on it and go. So you can have that kind of blend and go compatibility here. Something that I wanna mention is that Vitamix's are not known for being quiet. They have a 2.2 horsepower motor in them. They're not gonna be quiet. This particular model is not the loudest but it's also not the quietest. It's somewhere in between. Okay, so who is this certified reconditioned next generation model made for? It's made for people who like minimalism that don't need all the extra bells and whistles. It's made for someone that's looking for a deal. This is the exact same blend quality as any other fancy Vitamix with light up screens and digital all programs. It blends the same exact way. So if you're looking for a deal, this is an excellent pick. It's also for people that like basic done right. The history of Vitamix, you've seen a faceplate like this on off variable speeds pulse. There's a reason that that stuck around for so long. If you do end up getting this model, we would love to know. Please use our website to notify us. That's a really good way for us to know that we got your referral credit, which thank you. But also we wanna make sure that you're taking care of. So if you notify us that you picked this machine, we will send you our ebook and make sure that we can answer any questions that you might have. So if you like videos like this, give us a thumbs up. Ask us any questions you might have in the comments. Subscribe to our channel if you haven't already. We make videos like this, plus recipes, how to use your actual machine. And we'll see you in the next video. If you guys wanna stick around, we're gonna make some green juice in here. So stick around and watch the magic happen.


Is business development representative also known as sales development representative also known as tech sales or software sales a good career? That is the question we are going to be answering in today's video. Now these are all slightly different careers depends on whether it's inbound or outbound etc but overall it falls under the umbrella of tech sales. Now technology is an industry that has an incredible amount of opportunity and sales is one of the most valuable skill sets that you can possibly learn so you combine those two things together and you have a phenomenal career. Now I have interviewed several people on this channel and I plan to interview more in the future. One of them is somebody who got his first job in tech sales at 19 years old and he started making seventy seventy five thousand dollars a year in his very first year. Another one is somebody who's well down the line in their career and they make over five hundred thousand dollars a year in tech sales and after watching this video if you think it might be a good career for you but you want to know more information there is some free training which I will put down in the description and in the pinned comment below you can check that out. It's with a company called Course Careers that oftentimes gets people jobs within one to two months in tech sales and if you decide to use their service I do have a coupon code fifty dollars off it's Shane fifty you can check that out as well. Now let's go ahead and talk about some of the most important categories here and probably the most important thing of all is going to be job growth. So this is one of those careers that's so new that there actually isn't any information on BLS or government websites so we have to go to places like Glassdoor etc and use self reported data. Now the reason that that job growth is so important is because if there is a skill set that's in high demand that typically leads to higher pay better job satisfaction more flexibility etc. So if you look at sales development in general you'll see that 244 thousand results pop up when you type that in and if you look at sales development at the entry level you'll see that 103 thousand results pop up so that is phenomenal and that's not counting business development or software sales or tech sales etc because it has a bunch of different names and considering that the technology industry is the second fastest growing industry overall according to BLS behind the medical industry this is phenomenal. So this is something I've been talking about for years now on this channel how this skill set tech sales is in such high demand and this is the only career that I know of that I routinely see people getting a job within one month. That's right there are many people out there who literally start their first paid job in tech sales within one month of trying to get into it. Now two or three months is phenomenal even but one month is just totally unheard of but you can do that in tech sales so this one is going to have a 10 out of 10 when it comes to job growth. Now next we're going to talk about job satisfaction this one is extremely subjective for one person this could be a 10 out of 10 career and another person it could be one out of 10 and there isn't a whole lot of data out there unfortunately on sales development representative business development representative etc because it's such a new career but with that being said a similar career is sales engineer and you see that the job satisfaction is 74% and the meaning score is 46% so very high job satisfaction relatively medium levels of meaning. Now the truth is I'll just be blunt here not everyone is going to enjoy sales I did a sales job and it was actually my favorite job that I've ever had but it's not everyone's cup of tea. I will say that I think everybody should do a sales job at least once in their life so that they understand how it works and because of the fact that it's just such a valuable skill set and the reason for that is because you have to put yourself in the other person's shoes and ask what did they want but the great thing and this factors into it when I talk about job satisfaction is that you are you know not really sacrificing a lot in order to get into this career path right you don't have to go to school for four years or do a residency or have a bunch of background experience etc etc you can literally get into it within one month and if you don't like it you work for a few months you can quit and try something else so there's not a lot of risk here and in my opinion because of that it increases the job satisfaction on top of that there is a good amount of flexibility as well which in my opinion also increases job satisfaction you have a lot of ability to grow both vertically and horizontally and by that I mean there are jobs that are above sales development representative you can become a manager or even a vice president of the company and there are some vice presidents out there of sales that make over 10 million dollars a year and then horizontally it's really good as well because nobody understands the company's customers better than the people who are selling to them so if you want to move into a position that has nothing to do with sales there's a lot of great opportunity there as well for instance if you want to become an executive and just generally speaking it's a super valuable skill to know overall and it's going to help you whether you want to go down the business route whether you want to go the executive route or you just want to continue to be a salesperson but like I said this is not everybody's cup of tea and for that reason I will give the job satisfaction a 7.5 out of 10 but again take this with a grain of salt extremely subjective next one on the list is going to be salary now BLS does not have business development representative numbers however sales engineers make about a hundred and three thousand dollars a year and they're growing at eight percent which is as fast as average sales engineer is not the same thing but it's a career path you might move into from this one and Glassdoor has technical sales jobs making about ninety eight thousand dollars a year so out of all the entry-level careers you can get into with no experience there's really only 12 that I like a lot and I've all those careers that I really like this is the career where you can get into it within like a month or two and you can legitimately have a shot at making six figures your first year the only other one where you have a legitimate shot at doing that is software development but typically that one takes something more like six months to a year to get into so because of the fact that you don't have to get a college degree you don't have to do some kind of crazy residency spend a bunch of time effort and money to get into this and you can make a super good salary a lot of the time it's seventy eighty thousand dollars a year you even have a shot at making six figures in your first year this one gets a 10 out of 10 when it comes to salary and next we're going to talk about x-factors and I sort of already went over this a little bit but you know this is one of the most valuable skill sets that you can possibly learn sales is the career that a lot of billionaires actually have in common so when they did analysis looking at a bunch of different billionaires and saw what jobs they had in their past sales was number one and I believe they did the same analysis on millionaires and sales was also number one as well so this is an incredibly valuable skill set to know in general even if you don't end up working in sales in your future it's just going to be really valuable and helpful in your life because the first thing they teach you in sales is seek first to understand the other person then seek to be understood and that is something you see a lot of people making mistakes at whether it's you know with your coworkers or with your significant other or at work and then on top of that this is not something that can be outsourced typically sales jobs have to be done by people who are in the country that you are selling to sometimes you can have sales jobs where it's like you know uh person from the uk selling to the us but typically they are done within the country that you are selling to because I don't know it's just easier to relate to somebody who has your own accent so it's very very unlikely that it will ever be outsourced on top of that there is no way this is ever going to be automated it is 100 automation proof I am telling you right now sales will never be automated okay maybe it might be automated but again at that point you know nobody will have to work because robots are just doing everything for us so yeah when you look at all the x factors they're all there this one definitely is 10 out of 10 when it comes to x factors so this one gets a total score of 9.375 out of 10 phenomenal career one of the only ones you can get into at the entry level without a degree without any experience and make really good money obviously sales is not going to be for everyone it's not everyone's cup of tea but it's worth trying out if you enjoyed this video check out abdulls interview video I'll put it like right here um it's a really good one and he talks about how he got into sales really quickly at a very young age without any experience also gently tap the like button hit the subscribe button ring the notification bell and comment down below any thoughts comments criticisms etc that you have on the video and I will see you next time


The dualism that I want to address to talk to the theme of the conference is the one between social constructionism and essentialism. And that's an important issue for me because it came up in thinking about the new approach that we took to academic tribes and territories in writing and editing the 2012 book around that. So I'm going to be talking a bit about disciplines and the essentialist approach towards disciplines. I'm going to be concentrating on essentialism rather than social constructionism because that's the key issue and the key change in thinking about disciplines that's come up in rethinking the original Beecher thesis. But just to say from the start that actually that duality is a bit of a false one because social constructionism itself can be essentialist. Some socially constructed features such as language for example do have the characteristics of essentialism and those characteristics are that there are some core characteristics, some core features of a phenomenon, and that those features have generative characteristics in other words that they change other things and that's of course true of language. It's socially constructed, it does have characteristic features and it does have influence. So it's a bit of a false dichotomy or dualism but it's one that I want to address. Some of this talk is indebted to work by Andrew Sayer also here at the University of Lancaster who's thought quite deeply about essentialism and its characteristics. Sayer says that an essentialist view or an essentialist approach to social science closes down ways of thinking and alternative ways of thinking and it creates a kind of ontological tunnel vision which inhibits nuanced explanations. And I think that's absolutely true of some approaches to thinking about disciplines in general and particular disciplines and their characteristics as well. So I'm arguing against an essentialist view but what I'd like to argue is that a moderate form of essentialism is actually necessary so not to move away from essentialism altogether but to say that a kind of moderate essentialism is actually absolutely vital in thinking about social science in general. So the original proposition of the tribes and territories thesis written by Tony Beecher and published in 1989 was and I've argued this in various places an essentialist view. It argued that academic disciplines have particular characteristics, core characteristics that have very significant influences on other factors. So the academic territories, the epistemological characteristics of disciplines had a strong influence on academic cultures so that for example you could see that sociologists behaved in one way in their teaching and learning for example, practices in their research, historians in another way, philosophers in another way. And that approach, that essentialist approach arguing for these key characteristics, core characteristics of disciplines and the generative influence of those in particular culture and practices was followed up and applied by other people so for example Janet Donald and Ruth Newman argued that there were very clear teaching and learning practices that one could identify associated with particular disciplines. But for my money that approach sees disciplines in a rather static way, sees them as very homogenous and sees them as really overstates the power of disciplines in determining or at least conditioning other features. And you can see that in a lot of this trend of work so for example Donald says, psychology professors talked of developing students' capabilities through a series of courses which focus on different methods. In education case studies are seen as important instructional methods to aid students in making complex situations coherent. English literature professors paid attention to the analysis of text to determine the underlying assumptions and they were concerned with the development of argument in their courses. So generalisations, even stereotypes of psychology professors, education professors, English literature professors and the different characteristics are stated here. But what we argue in the latest version of the tribes and territories thesis is that actually practices such as those in teaching and learning and other practices too are driven by multiple forces and these reshape the kinds of practices that are going on in universities across all the fields of practice. So it's really difficult and in fact probably rather rash to try to make those kinds of generalisations. So what kinds of forces are we talking about? Well the stress on evaluation for example, both in research and learning and teaching. Technological forces have an effect on practices and so on. So disciplines are now only one of many factors that influence practices in universities. So let me just elaborate a little bit more on the nature of essentialism. I've already indicated that there are two characteristics, two key characteristics of a phenomenon that is portrayed as essentialist. One is that it has core characteristics, very identifiable characteristics which if they're not there then the thing is not that thing. And the second is that the phenomenon has generative effects, in other words causes other things to happen. So essentialism ironically is by its nature essentialist itself, that description of it is an essentialist description. And you can see essentialism in the way that people try to define disciplines. So for example again to quote from Janet Donald, she says that a discipline is quote, a body of knowledge with a reasonably logical taxonomy, a specialised vocabulary, an accepted body of theory, a systematic research strategy and techniques for replication and validity. So for Donald then those are the key of the core characteristics of a discipline. And as Beecher argues, those characteristics have effects in other areas, research practices, teaching practices and so on. But I think if you look at that definition you'll see that it's a kind of disemboddied abstract notion of a discipline. It kind of floats in the ether. Where is the university in that for example, it's absent. So a discipline is seen as some abstract entity. And in fact it's problematic as well. Astrology for example you could say fits into that definition quite well. So it doesn't do terribly much good in terms of a definition either. And in fact I would argue with Anthony Giddins that if you look for disciplines in an abstract way like that, you won't find them just as Giddins argues that if you look for social structures you won't find them. They're only visible if you like in their actual instantiations, in their playing out in the world. If you compare Donald's definition to a social constructionist definition to go back to this dualism, let me take Turner's so-called definition of disciplines he says. Disciplines are cartels that organise markets for the production and employment of students by excluding those job seekers who are not the products of the cartel. So Turner is arguing for a socially constructed nature of disciplines. But what he's saying is this is what they do. It's a statement of what disciplines do, not a real definition at all. And it really doesn't give us much analytical purchase on disciplines themselves. So we're left with a bit of a problem, I think, taking either the social constructionist or the essentialist view. We have no real way, for example, of distinguishing disciplines from hobbies, let's say. So let's move then away from the core characteristics to the generative power of disciplines. As I said, that was very evident in the original tribes and territories thesis that the epistemological and knowledge characteristics of disciplines had effects in other areas of life. In fact, Beechard took that quite far, he took it beyond research characteristics which were his main focus into the world of hobbies. So he says, for example, physicists were inclined towards an interest in the theatre, art and music. Whereas the engineers' typical leisure activities included aviation, deep sea diving and messing around in boats. So that's a very strong view of the generative power of disciplines. And for my money, a mistaken one. But one shouldn't go to that other poll, to the social constructionist poll of this dualism. As Michael Young argues, that takes you into what he calls the voice argument. In other words, the disciplines are whatever somebody says, a practitioner says a discipline is. And again, I think you then begin to lose the analytical power that we need to actually do social science. So where does that leave us then? Well, I began to, I argued at the beginning that what we need is a moderate form of essentialism that doesn't take us all the way to the voice argument of the social constructionist poll but doesn't have the closing, the closure of a strong essentialist position. So I'd like to argue that there aren't a set of necessary core essential characteristics to a discipline and to disciplines in general. And that in terms of generative power, yes, there is some generative power but it's more like the power of a wind turbine than a power station. In other words, it varies over time according to context and so on. And I would argue that we actually need a moderate form of essentialism that we can't go to the social constructionist poll. Firstly, because without that ability to do some categorising, we won't be able to, as Starr and Bowker say, sort things out. We won't be able to distinguish one thing from another, hobbies from disciplines, for example. Secondly, it really is the task of social science to establish some kind of, I hate the word, but some kind of causality, in other words, to link one thing with another thing. Without that, we have no explanatory purchase. So that's necessary too. And if we go to the strong end of social constructionism, we begin to lose that, as I would argue postmodernists do. So in terms of being critical, seeing where, for example, structured inequalities lie and so on, if we go too far down to the social constructionist end, we lose the purchase to be able to do that. Fuchs, for example, says that the social world is, quote, a turbulent system where order and consensus emerge locally and for the time being, if at all. So that's a kind of postmodernist approach. And it doesn't really give us the purchase on what I think is inevitably there, structured inequalities, which it's the job of social science to investigate. OK, so what we want then is a nuanced depiction of academic tribes and territories that recognises that those territories don't singularly and directly cause other behavioural change, but is able to get some kind of analytical purchase. Now that's the conundrum, and that's what I've been tackling over the last few months and thinking about how to change, how to bring about a more nuanced approach to thinking about disciplines and their power. OK, well what I'd like to do is in fact to draw on Wittgenstein's argument about familial resemblances and I think Wittgenstein gives us a clue here about how we can think about disciplines. And what Wittgenstein says is that if you think about a class of things, for example games or a family, all members of that class don't necessarily have the same set of characteristics they draw, if you like, from a set that we recognise. So that we're able to recognise members of a family, we're able to recognise chess as a game, but it's different, the person is different, the game is different from other examples of games or families. So what we're learning is a set of characteristics that aren't necessarily present. And I'll come to the question of how we do that learning, how that learning occurs in a minute. So to use that argument about disciplines, we could say that we learn to recognise the characteristics of academic historians, for example, even though the articulation of academic history might be very different from one university to another. We can still recognise them as historians just as we can recognise drafts as a game and chess as a game, although they're quite different and of course there are many other games that are different too. So this notion of familial resemblances I think is quite useful as a way of thinking about disciplines and the way they're differently articulated. Another point associated with that is that they can be different at different levels of analysis or what Seir calls different ontological strata. So that disciplines viewed from a distance, from the helicopter if you like, look to have a set of characteristics that one can identify, but when one lands the helicopter those characteristics crumble away in the analytical hand. So the level of analysis, the ontological strata that you're looking at becomes quite important. The granularity matters. That's a problem, that's an issue that's been identified before, but again I think Wittgenstein's notion of familial resemblances


The Armed Forces Radio Service presents the Spen. The shot, starring Mr. Van Heflin, hoping once again to keep you in suspense. A minute or two from one way or the other certainly can't make too much difference. Decide to stop to pick these. Cherry, anyone? No. They're delicious. For a man who's about to die, you don't seem too concerned. Oh, I am concerned, Peyton.   We'll see about that. Did you bring a weapon? Right here. And I noticed you're already. Let's get on with this. You will draw lots, gentlemen. Of course. It's customary. That's it. The papers in this hat are numbered from one to ten. You will each draw a paper. The man who receives the highest number will give the first shot. Is that agreeable? Yes, of course. After you, Lieutenant Peyton, and good, good luck, sir. Good draw, sir. Mr. Peyton? Eight. Now it seems I've won the first shot, Peyton. I've drawn a ten. Then it's settled. Back to back. You will pace away until the count is completed. Mr. Rolls has the first shot. Understood? Understood. Is there anyone present here who finds this not an honorable way to settle the dispute between these two men? Ready, gentlemen? Already? I'm ready. 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12. Stand back. I'm all right. The bullet went through my head. Lieutenant Peyton? Yes, I know. Here is the one.  Do I have to remind you that you have a shot at me? I wouldn't want to spoil your breakfast. Don't worry, Peyton. You'll never spoil anything for me. Go ahead. Take a shot. Well, you're going to shoot, and you're going to stand there aiming at me. No. Not now. Harry is taking his shot at you. You have to take your shot at me.  I don't have to do anything. Not yet. You challenge him to a duel, Zachary. What? Would you like to take it from here? No. You don't seem ready for death this morning. Oh, you're wrong again, sir. I'm always ready for death. All right. You've disappointed me, Peyton. Have I? Or perhaps I've disappointed you. At any rate, all of these gentlemen witnessed that I went through my part of the challenge. You owe me a shot, Peyton. And if you are afraid, I'll always be ready for you to take it any day, any place. I'll remember that, Rawls. Please do, sir. Good day, gentlemen. It's a lovely morning. Zachary, he'll tell everyone about this. You'll be ruined. You can't expect to stay in the regiment now. What's the use of depriving him of life when he attaches no value to it? Nevertheless, you ended the duel your way, and it's not an honorable way. It's not ended. What? I'm still going to take my shot.  He owes me a shot. I'll choose the day, and I'll choose that place. And I'll still see if he wants to eat cherries and laugh down the barrel of my gun. Any day, any place. Are you awake, Mr. Peyton? Where do you want? I want to speak with you. I've brought your maid. Well, open the door. Let it there on the table, Mr. Temple. Thank you. Yes, sir. Oh, I didn't know you had a visitor. Mr. Starkwell, this is Mr. Temple. He's my landlord. How do you do, Mr. Temple? Colonel Starkwell, Virginia Volunteer? Mr. Starkwell now, Mr. Temple. There's no longer a Confederate army or a Confederacy. I forget sometimes, sir. Well, I served under you in the Third Volunteer. Mr. Temple had quite a career as a soldier. He's told me about it every day since I took this room. Only thing left to talk about now, Colonel, from Yankee, we all know how it is, Willis. Yes. Was there anything else? Oh, yes. That's a firing pistol, Mr. Peyton. You've told me that before, Mr. Temple. Don't you think so, Colonel? Oh, Mr. Starkwell? I've already admired Mr. Peyton's firearm. Would you believe how good Mr. Peyton is with it, Colonel? Why, he lays right here on his bed and fires away the little old playing card stuck on the fence post out there in the back. Hits it every time. Some shooting, I declare. Oh, Mr. Peyton practices all the time. Do you, sir? Every day for the last seven years? Is that all, Mr. Temple? What? I asked you if that was all. Is there something else you had to say? Well, I did want to ask you. Do you have to practice from the window? I prefer to. You object? Oh, no, no, no. Of course not. It's my wife. I mean, Libby don't like it. I keep telling her these are hard times, and we sure appreciate getting a man in here can pay us a little rent. Well, then you tell her that I practice shooting at all kinds of light from all kinds of position. Now, continue to do that. Well, I only ask you now. Good day, Mr. Temple. Yes. Well, good day to you both. Jim? No thanks. You haven't changed too much, Zachary. Little gray. Well, it's been seven years now. Zach, maybe you have changed. That man who was just here. Scared, shrinking little man. He's frightened. If I might comment, Zach, you didn't do anything to alleviate that fright. It's not his wife. That's him. He's a frightened of my gun. He knows what I can do with it.  True, but he knows that a gun that can be pointed at a card stuck on a fence can just as easily be pointed at a heart stuck in a man's chest. Well, am I right? I suppose you are. Would you mind putting them in the case? Are you afraid too, Jim? Don't treat me like a Willis Temple, Zachary. I'm your friend. I came here to meet you because you asked me to. Why am I here, Zachary? What do you want of me? Nothing that'll interfere with your life, Jim. A week ago, I got a letter from Norfolk mentioned that an old queen's mind's living here. A man who was an officer in my regiment. His name is Benjamin Rawls. Oh. You know him, Jim? Oh, slightly. I've seen him about town, spoken to him once or twice. How's he look these days? Not knowing how he looked when you know him, I'd say he looks mighty fine, Jim. He's in good health, I think. And he's done better than most of it. Rawls has always wanted to do very well. How do you mean? I understand his family lost all they had at Savannah, but there's an English branch that died off and filled in the inheritance. He's very well off. I suppose he would be. He had a great deal of money when I know him and other things. You mean women? Is he still ambitious and gallant? Well, Marsha Pemberton's considered to be a very, very lucky young lady in these parts. Marsha Pemberton. The girl he married last week. Last week, you say? Yes. Does he love her? What? Do you know if he loves this girl he married? It's apparent to everyone in town that he loves her very much. When he was caught in her, folks in town saw them together often. I saw him. I'd say Ben Rawls is in love the way a man loves only once in his life. Is that what you want to know? Yes. Because I'm your friend, Zachary, I'm talking to you about Ben Rawls, but I'm uncomfortable. I don't like talking about a man. You see over there, large White House on the hill? See, that's where Ben lives. He's right there, Zachary. You can talk to him instead of me. I'd rather talk to you at the moment. I won't answer any more questions, Zachary. I think I'll be going. As you will, Jim. Zachary, I've asked no questions of you. May I ask one now? All right, Jim. Is it the duel? Is that why you want to know these things about Ben Rawls? Yes. I want to satisfy myself that he's at last found something to live for. I see. And you're going to call on him? Tonight. I want to know if he can still laugh down a gun barrel. I won't let you do this thing, Zachary. There's been enough killing. Jim! Yeah?  Way to come out of the house, Zachary. You haven't been waiting alone, Jim. Who are your friends? This is Park Yeager, Quincy Talbot. We were in the army together, Zach, there from here. I do, Peyton. I do. Park and Quincy were executive officers for me in the third cavalry. We served together at Appomattox.  You're on your way over to Ben Rawls' house now. I told you I was going over there tonight. I want to talk to you about that some more, Zach. Could we go back upstairs to your room? No, Jim. I'd like to very much, Zachary. That's why we waited here for you. I think it's important we talk about it. It's important enough, Zachary, that I've told Park and Quincy all you told me. They're close friends to me now. I've asked them to assist me. That's right, Captain. Mr. Stockwell's told us everything. We can talk right here, Jim. Anything you have to say can be said right here. Can't we go to the room, Zachary? You could have come back to the room to talk to me. You didn't want that. You wanted to meet me out here with Park and Quincy.  I'm in a hurry. The war did many things to all of us, Zach. Everything we thought and lived for is gone now. But we're still men, and we can all recover. Park and Quincy and I are the only ones who know what you said to me in that room there.   This is what I want to talk about. Wanting to kill a man in cold blood, a man you haven't seen for seven years, it better, doesn't make sense. And you and Park and Quincy are here to see that I don't call on Ben Rawls. Is that it? Well, he had to quietly see that you don't do anything foolish. I'm your friend, Zachary. I knew your daddy. I want to see what's the matter. What sickness the war gave you, and I want to help you. Go home, Jim. Park, Quincy, this is none of your business. We can't do that, Zachary.  Let's all go upstairs to your room and talk a bit, Captain. Quincy's got some fine whiskey that's came in from England. Haven't you, Quincy? I sure have, Captain. You're a man I'd be mighty proud to share it with. Uh, Captain, Mr. Stockwell is your friend, and he's thinking of you. Is Ben Rawls your friend, too, Jim? You trying to protect him? What I know of Ben Rawls, I told you this afternoon.  Now, you get out of my way.   Park!  A game must stop it. Park, it's the only way. Right, Mr. Stockwell. Let me down, man. Quincy, hand me that whiskey. Yes, sir. I'll get his head, Mr. Stopper. Sorry, Zachary. Sometimes we all go about things the wrong way. I'm noted for my poor judgment in many matters. You stop me, Jim, for the moment. Ask them to wait over there. All right, Paul, Quincy, over there. You sure it's all right, Mr. Stockwell? Captain Peyton is a man of honor. Come on. Be right over by the trees, sir.  I have to before I can ever live again. There was so much killing. Look what it got. I hate him. When you've lived with a hate, as I've lived with it. There's nothing else you can do. Why do you think I resigned my commission before the war was over? Why do you think I disappeared from the Confederacy? Why do you think I never returned to my home? I heard you'd done all those things. I didn't ask any questions, but I know. Ben, Ben is the cause of everything. Benjamin Rawls. I know he had a reputation for being arrogant and slick when he was an officer. But for underhand? No, no, no. It was nothing underhanded, Jim. It was open-handed. It was a slap. Rawls slap. Yes, one night in front of a whole regiment. Over what? Why? A girl, just a girl that we both liked. I don't even remember her name. Oh, everyone had seen it coming. Until Rawls joined that regiment, I was the most popular officer with my fellow officers and the ladies. Zachary, that was then. And this is now, but my life stopped then. Try to remember how it was then, Jim. In the early stages when the North was done, not the South. It was so fashionable to be young and reckless and brave and an officer in the Confederate Army. And then to be slapped by a man, more brave, more records, more of everything. It was too much. Zach, those days are gone. Forget them. The whole way of life is different now. It's no different for him. And it's no different for me, Jim. You have no right to stop me. You know that. That's true. But Zach, can you kill a man for something that happened then? I can, and I will. He shot at me once. Now I owe him a shot. Don't I? Don't I, Jim? Yes, Zachary, you owe him a shot. Go ahead. Go, Mr. Stockwell. Yes, I can't stop him. I can see that now. If we can't, then it's between him and Ben Rawls now. Usually, we see people who refuse to give their names to my servants. Hello, Rawls. Well, don't you recognize me? Exactly. And I do have business with you. What are you doing here? Well, you're shot, Rawls. I've come to pay off. I'm ready. I told you I always would be. Yes, you did. And you asked me to remember it. Well, you don't seem quite as certain as you were the last time we met. What's the matter? Is there something wrong? I believe we were at 12 paces before. Yes. You mind if I count? I'll count. As you will, Rawls. Back to back. One, two, three, four. Man, shoot and do it quickly. Well, you seem in a hurry to die, Mr. Rawls. Well, in that case, we'd better get on with it then. I apologize, Mr. Rawls, that this pistol isn't loaded with cherry stones. You have no idea how often I've dreamed of cherry stone bullets since last we met. I think they'd be somewhat lighter than lead. Rawls, this doesn't seem to me like a duel anymore, but just plain murder. And if I'm anything, I will not be called a murder. You must understand that I've had quite a long lecture on why I shouldn't be doing this. I don't like shooting an unarmed man. Rawls. What? There's another pistol in my case. It's all loaded. Would you please take it, and then we could start over? Will you hesitate, Mr. Rawls? I do not hesitate, sir. Go ahead, Mr. Rawls. You're shot. What? You may have the first shot. I'm ready. Well, sir, you've broken a candle holder and ruined a picture. Now I truly owe you a shot. All right. I'm fine, Marsha. Fine. Truly, I am. But the shot, this man. Now, dear, there's nothing to worry about. Ain't you see we're just joking? Don't be so frightened. Ah, I'll tell you what. You go out and find Abram and ask him to bring up some nice wine. And then I'll introduce you to my old friend here. Tell me, sir. Is my husband telling the truth? Is it true you're just joking? Oh, he's always joking, Mr. Rawls.  Now the time he put a bullet through my cap for a joke. Just now he fired a gun at me and missed. That's another joke. Now I think I'll have my little joke in joking. It's a do. This is the man Peyton you told me about. Marsha, this is between us. Now leave the room. This man has the right to shoot at me. I wouldn't have any honor if I didn't allow it. Oh shoot, Peyton. Shoot, man, and stop making her suffer for me. Will you fire a knot? No.  I'm satisfied. I've seen you afraid. I've forced you to fire at me. That's enough. You'll remember me all of your life, Rawls. I leave you to your conscience. Oh, as for that shot, here it is. Goodbye, Mr. Rawls. Took your shot? Yes. I put it in the picture right next to his shot. Sacky's alive. You could have killed him, but he's alive. Oh, he's fine, Jim. He's still the bravest man I ever met. Let's go, Jim. The United States Armed Forces Radio Service.


What's going on everybody? Got Kyle and Sean here relating sports cards and we are ripping two boxes for Kevin A. Gonna be our last two of the night here. Got a 2022-23 Donrus team all basketball and we've got a Bowman Chrome U. Bowman Chrome U. Yeah, we do, Rick. Let me show you, I'll give you a link to our website. Can always purchase on our website. We have a break schedule. We have personals. A whole bunch of different stuff. All right, let's start with the Donrus. Say red, Jared Allen. Red not numbered and red and yellow is gonna be Eric Gordon. That's the hilarious story. Eric Gordon, got a Chet Home Grand Radio Rookie paper. Blake Wesley. And I'm out of Kibranum. So one day my uncle came home from sleep from south of the border fireworks. Oh God. Powerful ones. Back then, super legal. Yeah, yeah, yeah. I remember my dad always going to South Carolina. Yeah. To get some fireworks. So he goes to the south of the border, probably. Red and yellow, Brad Beal. And red and yellow is Contavious called well-poped. KCP. Usman D'Yang. Christie, there's Shane Sharp. Ready, rookie? Hey man, I got this for a thousand strip cow of black cats, we wanna do with it. Go ahead. God. Yeah. Looked like a... Oh, let's go. Ready, rookie, Otto is J-Dub. There we go. Don Russimo on the red and yellow. Rookie, Otto, not numbered. Take that, Kevin. Very nice out of here. Got a red and yellow OG and raided rookie, Tari Eason. So you, the government had just got a Rambo knife or something. It's 225, that's blue. On the Chris Duarte. And red and yellow, Chris Paul. Jabari Smith, Jr. All right, what'd we do? So at like three in the morning, this is back in the day. No, no, no, no AC was on when those were open. She didn't take Carmen's Rambo knife. It's like a precise, whole screen of his bedroom. And then, so Carmen gave the sign. Throw him in? No, we slowly eased them in until we got to the end of it with the wig. I was just sitting in the middle of it. I'm like in a condor in there. Oh my God. And we lit it. And it went in. Oh! Dude, imagine not being in that room and just thinking a bomb goes over or something. Dude, it was unbelievable.  Yeah, well. Find out on that one. Cam Ward. Yeah. I could imagine probably woke up the whole neighborhood with that windows open 3A. It was possible police. Oh. It was all kinds. 399 Kendall Milton. Nice one there out of Georgia. We got some rhymes with the please. All right. Yeah. So wound up and ran back in the house because we heard news signs. His dad knew immediately. I feel like you're not hiding from anybody. He came in the room. We were both act like we were sleeping. Steemate. Yeah, I imagine not. All I know what I'm saying is I was sweating so bad. What do you mean? Just sleeping, man. Yep, they were sleeping and it didn't work. It's a nice one. Green auto Walker Howard in 99 QB out of Ole Miss. They won that movie. Yeah, let's say.  Really bombing. All right, good luck here, Kevin. Come on, let's see a super thousand. 3AM. Carson Beck on the refractor first. That's enough. It was funny on the end. You know what it's all done? You got a thing of your pow. Yep. Couple left overs. Didn't you just hear screaming? God, dude, that was a thought of Russian Bay or something, bro. I didn't have a dad. Oh, okay. Smiling. Gotcha, gotcha. Little brother. There's a refractor Corey Forman. That is crazy. You know, like the mischief, man. You like the mischief. There's a Mike L. Williams, the 150. Fuchsia Mini Diamond. Jackson Arnold. Good luck, Kevin, here again. Last one of the nighttime here, guys. A early risers, J.J. McCarthy. He and Sean will get out of here. Again, we do have Lane coming in at 10AM over on Fanatics Live. He'll have gold standard football release day as well as some Bowman Chrome U. He has the random, or not random pick your college style. We've only been doing the pick your letter, doing the pick your college tomorrow over on Fanatics. Then we have Sam. He'll be doing some gold standard release day starting at 11. He starts at 10 with Topps Chrome Update. Dallas Turner. And then he gets going on gold standard for most of the day. And then he's got one full case of this Bowman Chrome U. Get going in random letter style as well. There's a Ramblin Man, Audrick Esteemay. It is arcade, it is fun. Sam Laster pulled the golden ticket. Joe Burrow, he's trying to pull another one, I'm sure he's trying to pull another one. Say Dorian Singer, wait, Shimmer first. It's usually right around here, I guess, before Prism and before Daunress and all that. Braylon Allen. It's usually got the NFL jerseys on so it's always after like elite and plates and patches, that kind of thing. I think it's around the right time but might be a little early. There's a D-Spot, Dallon Hayden. First auto for Kevin, not the D-Spot Kevin. Personal, Jalen McMillan. I'm so used to that from those two days. They all do, all you get to do. To Quinchon Junkins, the 199. Blue out of Ole Miss. Refractor first, Cooper Legas. Yeah, there's insert autos that are on-card. I think it's just a little harder to get college players to sign everything on-card. They got less time, I feel like. There's a X-Fractor first, Harold Perkins. There are a couple on-card inserts so they're really nice, really nice. It's a Ramblin' Man, Donovan Edwards, and Kool-Aid. And a Bowman, Bowman, Bowman, Bowman, Bowman, Bowman. Last one here, it's gonna be a rising, our early risers, Marvin Harrison Jr. and Jacob Wynnon. Alrighty guys, that'll do it for you. Kevin had one box of Bowman Chrome Hobby and one box Donress Teemo. Thank you, thank you. Yeah, that's true, but they don't have to actually have the product ready. I think that might be a little bit of it.


Hey everybody, this is Brian. Welcome to the third video with Ye2. Today we're going to be really going over CRUD. So first thing you want to do is bring up your website if you haven't already and then we're going to go to a route which is the question mark equal. Oops, question mark, yeah. Equal GEE. That's GII. That'll bring you to the code generator. And once again it's a magical tool that will write all the code for you. So we're just going to bring up our little, I have some code of something else that I'm working on here. Sorry about that. Get a little organized maybe. Pet store, where are you? There we are. So we've got this code that we've been working on here. And thus far everything's been auto-generated and that's not going to change for this tutorial. We're going to generate some stuff for this as well. So we can just see that you know we only have our site controller but we've already generated the models from the previous tutorial. So what we're going to do now is generate what's called CRUD which stands for create, read, update, and delete.  So we're just going to go ahead and click start under CRUD. And if you've used the Ye1 this will be a little confusing because you have to actually do the fully qualified path to wherever you want to put this thing. So the model class, what do we want to do here? Let's bring up our database. We want to, let's make a pets. Let's do that. We're going to take this pets table. We're going to make some CRUD for it. Actually, you know what? No we're not. We're going to do accounts first because we've got our column constraint. Oh no we don't. All right. Well we'll do pets. I like pets. Why not? So we're going to do app models. Now whenever you have a question just mouse over the label here and it will tell you exactly what it's looking for. Now a search model that's different than a model. A search model allows you to, well, search. It sounds a little confusing and it is. The reason why you need a search model is because a model is a representation of the data.  So you're changing the representation of that data. So we're going to do pretty much the same app models and then we're going to say pets search. Now the controller class, we need to actually generate a controller. So we're going to do app slash controllers and then whatever the name is controller. You should know you should call this a controller. Don't just call it pets, call it pets controller or it'll get kind of cranky towards you. All right we're going to go ahead and hit preview at this point. And if you get an error just you know figure out what it's telling you. Nine times out of ten you don't have the right path or you have a naming convention incorrect. Notice how we didn't have to fill in the view path it just automatically knows. But if you wanted a different location this is where you would change it. And it's going to give you a preview of everything it's going to create. Notice how we're creating a controller, we're creating model, the pets search, the pets model already exists. And then we're creating some views here. We're going to go ahead and hit generate. Tada! Now unlike yee version one this does not give you a nice pretty little link for you to click on to preview it. It's just the code was generated. And I think I said this in the previous tutorial. Sometimes you'll click that and it'll say generating. But you won't actually have a file. And so it's always good to go out and check. There's our pets search. And when we go to views we should now see yes there's pets. And there's our views. And there's our pets controller. And we're going to go through those files real quick. But first we're going to actually bring up what we just created. You can change the route to pets. And voila, there's pets. Now when you do not include a view, like if we click on create you see how it's pets slash create that percent to F is the HTML encoding for the slash. When you don't include that it just goes to index by default. So let's go back and this is called a bread crumb at the top. You can see how all of this was generated for us. So we've already got some pets in here. We can create and from over in this little area we can view, we can edit and we can delete. So we can actually let's just say type MIT and hit enter and there's mittens. That's the search class in action. The reason why you need that search class once again is because you're changing the representation of that data. So we can actually go in here and let's create one. Why not? I'll see category. I don't remember the category names. We're just going to say one. Test animal. Why not? Cost. Let's say this is a really expensive animal. We're going to leave the picture blank and we're going to try and create this. Notice how because we didn't put the data in there it's saying date posted cannot be blank. That's part of intrinsically with the classes. We're going to look at the model class and explain that a little more in depth. But that right there is actually an action and that's why you use crud because it takes all that code out. You think about that. You would have to write the code to show the form to talk to the database to verify the input data to do all these things and it just makes life very, very simple. So let's just grab a date here just because I really don't feel like typing that out. I'm pretty lazy when it comes to that stuff and we have created an animal. Now we can either update or delete. Pretty simple. If we go to update just brings us back to this editor and if we delete it says are you sure you want to do this? I'm going to hit cancel because I really don't want to delete my test animal but it will actually delete it. Same thing here. You can click on view which brings you there. You can click on edit. I mean it's pretty self-explanatory. Notice how the breadcrumbs auto update. So that is crud in a nutshell but now we're going to deep dive into the code. So let's flip over and we are going to look at the pets model first.  There we go pets. This is the main pets model. This is an active record meaning it talks to the database and some of these things may be new to you. You see these properties? That's how we tell this is a specific property. Sounds self-explanatory I know but you need to have those in place and it's all auto-generated for you and if you don't have those bad things will happen. You won't be able to access it. Now this right here is a special property. See that's id category 0. Let's flip over to the database real quick. Remember how we did this foreign key? This actually points to the index in the category table. So what ye does, let's flip back here, is it creates a special property based off whatever the name is and that actually will do what's called a lazy load on that record meaning if you say pet, that would help if I actually did this right, pet and then you do a point or two, the id category. I'm going to copy and paste because I'm lazy. It'll actually load that record from the database automatically and then you can say name like that. So you don't actually have to do a full SQL query to pull that up. Pretty neat huh? Now if we look at this you can see how we have our table name which is pets but then we have this rules. What is this? Well this tells the framework what each property really is. You can see how they're required. That's why date posted said it can't be blank because it's required. However you notice how picture is not required which is why we could get away with not putting a picture in there. We're saying id categories and integer descriptions of string and you can get you know a little more interesting here. You can say like name and pictures of string with a maximum length of 255. All that's auto generated for you. You don't have to mess with it although you surely can. I do on occasion. Date posted is safe. What does safe mean? That means it's marked for safe search so that when you're searching it'll automatically try to convert it. At least that's how I understood it. If I'm wrong somebody let me know. Attribute labels. This takes the column name and breaks it into a friendly name for the view. So you can see like id pets is now id space pets and id category is now id space category. So if we go to the actual page here you can see the id space pets id space category. So if you don't want to see the id you can actually just you know change that to pet number. So when we just kind of update this you can see it's now pet number and same thing when you go to edit it here which you won't actually see it because it does not going to let you edit the pet number. So maybe that was a poor example but I think you get what I'm saying here. You can update those attributes and the labels will update with them. And right here is your special reference too. You can see how it has the git id category zero. Ignore the git part. What this is really called is lowercase instead of upper id category zero. That's really all you need to pay attention to and what it'll do here in the background is when you call that it calls this function automatically which this has one and then it does the linking for you. So that in a nutshell is the pets class. Now we're going to look at the pets search class. Notice how the pet search extends pets. So it's basically the pets class we just looked at but it's extended. We're inheriting it. And then we do a couple different things. We add in some more rules. We do a scenario which we're not really going to get into scenarios too much but basically you can say my scenario is I'm editing or my scenario is I'm purchasing or my scenario is I'm selling you know you have different scenarios and it can make it very complex. We're going to keep it simple for this discussion. But right here is the real magic search. When you're in this guy right here and you type in say test that's what is being called when you hit enter is that right there. It's the search function in the search class and it'll give you prams and you can actually you know put those out in debug and let's actually talk about that real quick. Let's say ye, warning, and prams. I'm not sure if it'll let us do this but we'll try it. What we're going to do here is we're going to create what's called a debug message and we're going to go back out here. We're going to just go boom and you see how that little one is now orange. This is called the debug bar and it tells you a lot of information like the version of ye, the version of PHP, the status return, the HTTP status, the route you're on, the log, the time it took to load, the amount of memory, the database transactions, and the time and the asset bundles. So if you click on log here is your log messages. Now the reason why I did a warning is because it'll stand out a little better. You can see there's our warning and these are the prams. It's an array. So you can add pretty much anything you want in here and you can see everything that happens right down to the SQL queries that ye is generating for you. It makes things a lot easier. So when you're in their troubleshooting you can say like ye info, performing a search. Save that. We'll run it again. Notice how it doesn't increment for the infos only for the warnings. So you should use your warnings sparingly but your info is in there. So that's a good way to give yourself like little debug notices. When you actually upload this to a public site, something other than local host, that will not be displayed. It automatically disappears. It's pretty slick. I like it. It makes things a lot easier to debug. So what's really going on in this search function is we're just doing a pets find meaning we're taking the pets class we're saying hey find me all the records in pets. Then we're making what's called an active data provider which is something we haven't touched on yet. It's kind of like a class on steroids. It does all the providing of the data which is why it's called a data provider. So all you really need to know is that it's providing data. Typically you use these four widgets. Then we're saying this class the pet search. We're going to load the params. The params are that array that we shot out. Let's look at those again. So it's going to load this right here. Actually it's going to load that right there pet search. This is how it finds it because that's the name of the array pet search and then this is the actual data that it's going to load. So you can see it lines right up with the you guessed it the column names and there is our name TES because that's what we searched. So that is the actual query it's going to build. It's pretty slick, huh? And there's the actual SQL query that gets generated from that select count star from pets where name is like blah blah blah. And it does a couple different queries so that it can get a count. It can get the actual rows etc etc. Unicode is limiting 20 because it's doing pagiation. Pretty slick. Let's go into here. If it's validated models can be validated. What that means is that the parameters have to be within the rule set. Let's go back to the rules here. These rules. That's where validation comes from. So if we enter a name that's 300 characters long it won't validate because its maximum is going to be 255. That's what validate really does. So if it validates then we're going to return that data provider which is just provides data. Otherwise we're going to jump down here and we're going to say query filter where and then it adds in the parameters that it loaded from that query string. This guy right here and then it's going to say query and filter where and this is where that SQL query actually gets generated right here. You're saying and and and and then you're going to return the finish data provider. Kind of confusing and you may need to look into that a little bit more. Typically you won't mess with this until you get into advanced topics like when you actually want to search on a related table which we'll cover in a future tutorial. So enough about models. I know your head's probably swimming at this point. We're going to go into the controller and remember the controller controls the flow of information in and out. So here's index our index page. This is the default page. Before we do that we should probably look at the behaviors right here. You can define behaviors which determines how the views behave. You can see how delete requires post. What does that mean? That means you cannot actually do a route to delete. You can't say delete. See method not allowed method requires post. But if we go back here let's actually go to the pets sorry but if we go we'll go to delete this animal out. Notice how it's saying do you want to do this if I hit yes which I'm going to do it actually makes a post in the background loads the page and you can see how it's now gone. Alright so anything that starts with action is a view. So action index action view. So a view view is kind of confusing it's just going to load the view file. It's going to load the create file. It's going to load the update file. Delete doesn't actually have a file it's just going to redirect to the index. So when it does that redirect it's going to load you guessed it the index file and we're going to keep scrolling down and this find model function is used a couple times. You can see it's actually used in delete. So when we and let's go here when we go to go to delete actually let's go to view. You can see how it's doing a query parameter of id equal to because that's the record id or the pet number. So we're going to go back in here. What it's doing let's go to view. You can see how this takes a parameter called id and it's going to render the view file or the file named a view under the views if that's not confusing enough and it's going to give it a model using find model.  So what it's going to do is it's going to load the controller is going to come in and say what are you looking for it does that based off the route pets slash view. So it's going to look for the pets controller and then in the pets controller it's going to look for the action view and if you are in update it would look for action update and notice how it's got a parameter id too. That's how it knows which record to look at. So if we stick with our update where are you at here yeah update. So in the pets controller it's going to look for update it has to have that id parameter then it's going to say I need a model which is a representation of the data it's going to say find model which is down here which is going to actually use the pets model to find that specific record and if it doesn't find it it's going to say not found page does not exist so let's test that out. I'm going to give it just this huge number that I know does not exist four four not found does not exist. So that's a really good way of keeping people from trying to modify things that just shouldn't be there and you notice how in our debug we now have a red one meaning there was a failure and you can actually go in and see you know file not found exemption. Now if we take that id out of there see how you get a different one you get 400 bad requests missing required parameter id. That's all being auto-generated for you. Alright so let's go back to our update here. So once we have our model you know we've actually gone to the database we found that specific record we're saying if model load and then we're going to take the post from you know this is the essentially the PHP post variable is what that is with some other magic in front of it. So if we can load that post into the model and we can save the model then redirect to that view otherwise we're just going to load the update file. So it's pretty self-explanatory what's going on here I mean if you know just rudimentary PHP you can kind of eyeball this and figure out what's going on. Same thing with create you know if we could actually load it you know if it's a post then go to view otherwise go to create so let's actually go to this and test that out. So when we click create notice how it does the create view but if we fill something in here just why not because yeah see that's got to be a number that's what I love about E. No picture don't care huh yeah I got to get an actual date format. Database where are you? Save me my SQL save me all right so we're going to put that in there. Now notice how we haven't even tried and it's already kind of doing this here so like if we delete that and we go there that's called Ajax post back that's what that is so this is you hear the term Ajax thrown around quite a bit what's already baked in so you don't really have to mess with it and you can turn that off in properties but for this specific tutorial we're just going to leave it on so if I type in a string notice how must be a number so all that's already in there for you. Now when I hit create notice how it puts me on view let's go back to that that file here so what we're saying is if it can load the request or the post data and save it then go to view meaning we've already created it otherwise just go to create so that's the magic behind that. Now the individual view files these might take a little bit of explaining but we can go through them so if we go to index let's actually go to index on our page here you can see how it displays this grid with these little buttons and the create button and all this stuff so let's look at that super quick you can see there's our breadcrumbs the breadcrumbs are the little strip across the top of the page here at legend and navigate and there's your title and right here is your create button and then we have got a search or we've got a grid view widget the concept of widgets may be a little new to you basically it's code that already exists that you can just simply call so this we're making a grid view class from the widget and then we're giving it a data provider which remember data provider just provides data so it's basically a collection of models or I should say a a fancy array of models and then we're giving it a filter model or the search model which allows you to do the fancy searches up here so it knows intrinsically what it needs and then we have the different columns like we have a serial column and then we have our different our different columns from the database you notice how this one says n text that's how you format it automatically and then cost etc and then you have this action column so we're going to look at serial and action the first and the last so the serial just puts a number right up the front here one two three the action these are the view edit and delete buttons now if we go to let's just say view and then we're going to go look at the view file here same thing we've got our breadcrumbs got our title we've got our buttons up top you notice how this one actually puts in a confirmation dialogue there's the code that generates that and then we once again have a widget this one's a details view which is different than the grid's view this is the details that's the grid so the details view is pretty much just for looking at a specific record and then once again we have our columns in there now if we go to update you see how we got a whole lot more breadcrumbs and we've got very little code but it says this render underscore form model equal model what's that mean well let's break this out here let's actually go to update you notice how it displays a heck of a lot more than what we're seeing we got all that breadcrumbs but it's displaying this huge form well this is you know a prime example of code reuse we have this underscore form file which is right here and that is what's being loaded and this is used when you update or create the model is the parameter passed by the controller so let's actually go into update you see how we got the model here and we're saying you know this redirect and then we're giving it the model id but if we do the update we're actually giving it the model class itself that's how that gets in there so when we go to update it has this right here which tells it what it is so there's our model which is actually a app models pets and then we're passing that as a parameter to the underscore form file so it can be reused over here as well there's our model so whenever you're wondering what something is like if you want to know what a form is it's actually a slash widget slash active form and you can dig up that class and look at the code when you're wondering what this is it's actually a web view you can you know dig up that code and look at that too if you're wondering what type of model you've got you've got a app or sorry an app models pets which we've generated so then we've got our form fields and this is an active form which means it talks to the database um and then from there we're just loading the parameters from the model you can see we got form field and then we're giving the model and then the field within the model and then we have a different type of input and you can do things like check boxes drop-down boxes text areas all those things you can see how like these are text inputs but this one is a text area so it auto generates some but not all and then you've got a submit button which depending on what you're doing is it a new record you're going to create otherwise you're just going to update and you determine what it looks like based off the class depending on what you're doing here so that's really all there is to it um that is kind of a general overview of crud um i would advise that you kind of you know make a couple database tables and generate some of your own crud and just kind of play around with it and get a feel for what it does in the background um that's it for this tutorial um if you like this let me know if you hate it well don't let me know no i'm just kidding just let me know um trying to get a feel for how i want to present these tutorials because ye is different than most of the other things that i've done in life so i want to present it a little bit differently and try to give it the justice it deserves um you can also join the void realms facebook group i think we're pushing oh man we're well over 300 people at this point i haven't actually looked at the count i've been very busy but every time i have a question i actually go into the void realms facebook group and then people smarter than me answer the questions that i pose so i feel very stupid every time i go in there so that's it thanks for watching


Dad sets up hidden camera to find out why dog stares at him all night. Find the viral stories, secrets, facts and strange stories from around the world. If you find yourself amazed at what some of our fellow humans and animals can do, this is the place for you. This is a channel you're going to want to tell your friends about. Be sure to subscribe and hit that bell icon to be notified of our new uploads. Now sit back, relax and enjoy viral stories.  But sometimes an adopted dog's behavior can surprise and even scare you. When this dog brought his old habits into his new home, his new owners were left battled and more than a little frightened. Our couple understood how important it is to adopt a new dog instead of buying one, so they decided to visit their local pound in search of a new addition to their family. The first dog they met seemed happy, affectionate and sweet. Little did they know, he would begin to show his true colors soon enough. They were about to get a lot more than they bargained for. The new pup seemed to love his new home, but there was a noticeable change in his demeanor as he began to settle into his new family. It wasn't long before his owners noticed that he had a startling habit. During the day, the pup acted normally, but at night he would show his frightening flaw. The couple knew that this strange trait was a quirky one for a dog to exhibit. Every day the dog would go about his business like a normal dog, but right from the first night he spent in his new home, he would stand in his new owner's bedroom door while they slept. The couple installed a child-proof door to deter him, but it didn't work. The dog just didn't seem to understand that he was supposed to sleep in his dog bed in the other room. And sadly, the strange habit didn't end there. While it was an uncomfortable sensation to be constantly watched from the bedroom door every night, they were also concerned that the dog wasn't getting any sleep at all. He'd stand and stare at his owners for hours while they slept. Every night without fail he'd be there. The couple was dumbfounded. They began to wonder why their dog was acting so strangely. Was it a silent nighttime habit, an indication of a serious problem, or was their new dog trying to tell them something? But when they finally got an answer, they were heartbroken. After a few more weeks of this strange behavior, the owners knew they needed to put a stop to it. Although he napped throughout the day, surely this poor pooch wasn't getting enough sleep if he spent all night staring down his new owners from the doorway. He seemed happy to continue his nighttime vigil, but his owners couldn't help but feel concerned. But what could they do to ensure that their new family member was getting enough rest during the night? Even though the owners let their new dog have free reign over the house during the day, they believed that it was important to keep them out of their bedroom at night. They'd owned dogs before and knew how important it was for him to have boundaries and an allocated area to sleep in. But what routine had he been accustomed to in his previous home? Could his former owners' habits have been so wildly different from their own? But the couple found that the strangest part of their dog's nighttime staring habit was that it was done in complete silence. Most dog owners know that when their dog stares, it's usually to beg for food or a treat. But this dog's behavior was different. He didn't seem to want anything from his owners and seemed content to just watch them as they slept. Becoming more and more unsettled as the nights went by, the couple was more determined than ever to cure this disturbing habit. Now at their wits end, the couple set up a hidden camera in their bedroom. They needed to find out what their dog was doing during the rest of the night. Unfortunately, there wasn't a lot of new information to be gleaned from the footage. As they suspected, the dog continued to stare at them while they slept. And he didn't move or make a sound for hours while he continued to watch them. There were short periods where he seemed to not offer a few minutes, but then he snapped awake and continued with his unsettling nights watch from the bedroom door. But the question remained, why? The couple tried everything, but even shutting the bedroom door at night didn't stop the dog from keeping watch during the night. Although as owners had suspected that this would be the case, they were running out of ideas. Could this poor dog have been so protective of his previous owners? And if not, where had he learned this bizarre behavior? When they found the answer, it was both surprising and saddening. The dog's owners were now the pups coming desperate. Explored every possibility. They thought maybe the pup's diet wasn't right for him. So they changed the brand of food and treats they gave him. When that didn't work, they bought him a new and more comfortable bed. But of course that didn't seem to work either. Nothing they did seemed to deter their dog from his nighttime habit. Until one day, something surprising finally put it to an end. The couple began to think that their new dog didn't sleep at night because he simply hadn't been tired enough. They resolved to play with him and take him for longer walks during the day in hopes that this would tire him out. And when bedtime finally came, he certainly seemed tired enough to want to sleep. His owners thought that they'd finally found the cause of his unsettling nighttime habit. But that night, as tired as he was, he continued to stare them down while they slept. That's when they began to suspect that there may be more to their dog's strange routine. His new owners were understandably worried about their new family member. They decided to take him to the vet for a checkup. But they hadn't been informed about any health conditions by conditioned shelter staff. But could an underlying health condition be why this dog had been abandoned in the first place? Was there something that they didn't know about their dog that the previous owners hadn't been able to handle? The vet looked him over and was puzzled. Thankfully, he appeared to be perfectly healthy. Not only was he cleared for any signs of illness, but he was happy, reactive, and an extremely obedient dog for his age. His owners were completely baffled. If it wasn't an undetected health issue that was causing their dog's strange behavior, then what could it be? Would they ever get the answers they were looking for? That's when they decided to visit the pound that the dog had come from. But they were completely blindsided by the story they were never told when they arrived. The couple reasoned that if the vet couldn't give them some answers, maybe the pound they'd adopted the dog from would. Sure enough, their poor pooch came with a story that would perfectly explain his odd behavior. When they heard what the staff of the pound had to say about him, they were heartbroken. The dog's previous owners had decided that they couldn't handle the responsibility of caring for a dog while they were also expecting their first child. They'd given him up when they discovered that they were expecting a baby. In order to spare the dog and previous owners from heartbreak, they'd packed him into the car carefully and dropped him off at the pound while he'd been sleeping. But this would later prove to be a terrible decision. Taking the poor dog to the pound while he'd been sleeping was a traumatic experience for the pooch. When he'd gone to bed the previous night, he'd been safe and comfortable in his new home with the humans he loved dearly. When he woke up, he was in a cage at the pound, surrounded by people and other dogs he didn't know. It was far too much for the little dog to handle. The dog was understandably frightened and skittish now that he didn't have his owners around. He just couldn't understand what had happened to the people he'd grown up with and had loved for his entire life. The staff of the pound knew that such a loyal and obedient dog would find a new home quickly, but they hoped his past experience wouldn't lead to trust issues down the line, whoever his new owners may be. After his new owners found out his tragic story, they knew that they had to treat him with extra kindness and sensitivity. They knew that dogs feel similar emotions as people do, and they had to do everything in their power to restore his trust in humanity. They were also aware that a dog exhibits the same level of emotional intelligence as human toddlers do. This means that a dog will understand and react to their environment as best as they know how. But was this dog equipped to move past what his previous owners had done? The couple decided to show their new dog that he didn't have to worry about them abandoning him in the middle of the night. So they gave in and let him sleep in the bedroom with them. Sure enough, although the dog seemed reluctant to lie down and go to sleep at first, and referred to watch his owners, he began to fall asleep earlier and earlier at night. But would his new routine be enough to assure him, or had his past trauma changed him for life? After just a few weeks, his owners began a remarkable shift in their rescue dog's behavior. They continued to let him sleep in their room at night, and he began to adjust to his new routine. But would his new habits replace his old, unsettling ones permanently? Would he be able to adjust to his new home despite the trauma he'd gone through in the past? At first, his new owners were concerned that letting the pup sleep in their bedroom would make him less obedient. They'd heard expert dog trainers voice their opinions on the matter, and had never allowed any of their previous dogs to sleep in their bedroom. But over time, it became apparent that letting him sleep with them would be the best decision they ever made. The dog was close enough to tell of his new owners moved in the night, and he was ready to protect them. But he was also close enough to them to be comfortable and get some well-deserved rest. But had he finally turned a corner? Letting their new dog sleep with them in the bedroom was exactly the change that the pup had so desperately needed. Now he sleeps soundly, securing the fact that he's close to his humans. He's given up his unsettling habit of watching them sleep. This story just goes to show that dogs are incredibly sensitive to their environment, and that they have an amazing level of emotional intelligence. All dogs need special care and a loving home, and they need them just as much as we do.


Hey man. My name is Anthony Johnson and you're about to watch a trailer from an earlier 21 convention live event. It's a little bit older at this point and you'll notice a lot of the speakers in the video are much younger than they appear now. But you recognize some big names in the trailer such as myself, Anthony Johnson, Steve Maeda and of course Nick Sparks. So in the trailer I wanted to show it on YouTube today even though it's from a couple years ago because it does a really good job in the event trailer you're going to see of showing off what happens inside the event. It shows the immersion, the intimacy and the interaction that goes on between the attendees, between the speakers and everything that kind of goes on throughout the event behind the camera, behind the scenes, not just on the stage which is what most of you guys are used to seeing on video and on YouTube and 21 University. So there's a lot more that goes on and it's really cool to see that captured on the kind of behind the scenes video we made really on the fly. It wasn't something we planned out. It was something we pieced together as we went along years ago at the event and it came out really good and it holds up pretty well I think. So check it out and let me know what you guys think underneath the comments. Welcome here to downtown Orlando, Florida at the Crown Plaza host of the 21 convention. Here's Dream right now. Hey guys, how's it going? This is it, the third year of the event, the biggest one yet, over 100 people, four days long and the best speakers in the world I've found personally for you guys. Let's kick it off. Boom. Curious about accommodations? Heart of downtown Orlando, Florida, Crown Plaza, Good Eats, beautiful sunshine raining over us, seconds away from downtown, all the clubs and bars, that is what separates the 21 convention. The number one thing that Dream has been focusing on for the 21 convention is giving you the absolute best lineup of speakers. We're talking about guys like Christian Hudson, Nick Sparks, El Topo, Julian Fox, Adam Lyons, all in one spot, insane. Now it's one thing to hear from me, let's go talk to some of the guys. Well I love the speakers, like we have like AFC Adam gave an awesome, awesome presentation this morning, went over like some new stuff I've never heard of before. I've gotten a lot of good contacts, I've met a lot of cool people, I was actually very humbled by the people who came and spoke for us. I don't even have to tell you man, you already know what this lineup, this is unparalleled. Have you been able to implement a lot of the stuff that we've been teaching here? We're learning it during the day and then we're going out right away to apply this. Now the guys are out on the stage and everyone's gonna see the videos and everything like that, but afterwards there's a bit of an interaction. Have you been able to take advantage of that? Oh yeah, definitely. I was talking to El Topo recently, like actually on a personal level. He's a really cool guy and has a lot of good things to say. The lineup at the 21 convention is one thing, but it's what's delivered that kicks ass. If anything seems weird and you try it out in field and it is weird and all your friends are like, what are you doing? It probably is weird. There probably isn't any like secret formula to it, it's probably strange. Most of the bodybuilding magazines do not exist to provide valid scientific information on exercise, they're pretty much to sell you supplements. Is it possible to ignore one area of life and truly succeed in another? I think the short term, maybe in the long term, hell no, it is not gonna happen. Well a lot of the people who spoke talked about it yesterday, is that there's a whole reboot in the community, all the negativity, all the bullshit, all the things of where you can't be yourself. It's no, learn how to be yourself in the best ways, project it out and put hooks for other people to grab on to. There you have it, the 21 convention, 21 speakers, four days, private workshops and event like no other. That was one hell of a time guys, I'll see you in 2010. Hey, it's Anthony again, I really appreciate you checking out the trailer. Please let me know what you think of it underneath in the comments on YouTube. All yours, open here about criticisms or improvements we can make to trailers like that in the future. Now that you've watched it of course, I want to make sure that you know about our upcoming event in Miami, Florida, October 20th to the 23rd, 2016. This is our main event of the year, the only primary 21 convention of 2016. It's a full four day event, just like our events were a couple years ago, you know back in 2009, 2010 to 2011, before we shortened them to three days.  So again, it's a Miami, Florida, October 20th to the 23rd, 2016. Now if you've not signed up yet, I would love for you to do that. So in doing that, let's check out some of the speakers we have going on. This here of course is a shot from the recent under 21 convention 2016 in Orlando, Florida. And from left to right, of course, you see Socrates, Nick Sparks, David Tien, Steve Maeta, myself, Bravo, Tanner Guzzi, Ted Rice, and Mark Soki. Sasha Degame as well also joined us a few minutes in during the Q&A panel that went on here. So we're still building the speaking roster, but you can see the currently confirmed speaking list right here. That includes myself, Socrates, Steve Maeta, Nick Sparks, James Marshall, James McClain, also known as SocialCoach at socialcoach.com. Brent Smith, Zan Perione, Wade Alters, also known as Brad Branson. We recently had a couple of videos come out of him on YouTube. Drew Bay, one of our oldest alumni speakers at this point, Erlong's running along with myself and Steve Maeta. We also have Liam McCrae from the Natural Lifestyles, James Marshall's company where he's the founder and CEO. Ted Rice, once again, is now a returning alumni speaker, no longer a new speaker when he was here at this event. Robbie Kramer from interconfidence.com. Steven Bravo Grush from bravapua.com, a returning alumni speaker who speaks both on dating, men's lifestyle development, and self-defense, including edge weapons and firearms, really unique combination of speaker. David Landu is another high-intensity trainer and thought leader in that realm or expert, like Drew Bay. Edward Druse is a returning alumni speaker. Last time he spoke, he spoke at the 2014 convention on how to find a mentor in business. One of our best and youngest speakers, really proud of him as a young person, and Gareth Jones from Art of the Playboy. He's a new speaker that's come highly recommended from speakers like Bravo, as well as James Marshall, and I think even a few others beyond that, but obviously very good recommendations or endorsements from people like Bravo and James Marshall. It's difficult to get that from people like that. We, of course, have more spots that I'm filling up with even more speakers and Q&A panels, like you see here with all the speakers on the stage. This is where you actually get to get all the speakers up on the stage at once, of course, and as an audience member ask them questions. And you guys will see this video soon on YouTube, we'll put out little previews of it, but it is really, it's something we used to do a long time ago, the Q&A panels, but honestly, it was one of the highlights of the event, maybe even the biggest impact on the attendees. Being able to rapid-fire ask questions to so many speakers like that is a really remarkable and unique experience. And having people too, not just questions and answers, but the speakers even in response to an audience member question live and in person, you know, the speakers can bounce ideas off of each other, they can argue, they can debate, they can improve each other's ideas. It was really neat to see that going on on stage. It's definitely gonna be one of the most powerful videos of the year from that under-21 convention event, the special two-day event we did back in June, 2016. Of course our videos have impacted, you know, over 15 million men, we have over 100,000 YouTube subscribers and we've had 12 life-changing events. If you have not attended an event before, you will be one of our over 500 alumni attendees from the nine years of events we've had and 10 years of the company. So you are in good company attending the event, meeting other men like yourself who are dedicated to self-improvement and making the most of their lives as men and pursuing their happiness and becoming the best version of themselves that they can be for themselves, not for someone else. Again, the event is in Miami, Florida. It's gonna be in the downtown area. We reveal the venue to attendees only and that's going on again in Miami and it's gonna be on October 20th, 23rd, 2016. Along with your ticket, you also get a free one-year membership to 21 University, the video streaming service for men. This is our in-house streaming service. It's kind of like Netflix for guys basically where we put all of our content out first before it comes out on YouTube, not just by weeks usually, but by months. We're talking three, six, nine months sometimes where it's on 21 University exclusively before it comes out later on YouTube. On top of that, 21 University has exclusive content and exclusive speeches that are not on YouTube at all or ever coming to it. We have a monthly live stream where you get to talk to the speakers live. We record that and publish that later for the student members. So you get that and of course you get exclusive talks that are not on YouTube anymore for whatever reason. Even Nick Sparks, our biggest speaker, his first origin speech at the 21 convention is no longer on YouTube by his request. So we put it on 21 University and 21 University only and by being a member there, you get access to that talk and many others that are not on YouTube anymore. I am all about free content guys but not literally not all of it's free. Some of it has to be on 21 University only by request from the speaker or it's a special program we do like the live streams that are only for paying members that we can't support by putting those on YouTube for free. And of course you get ad free access to all of our videos, all of our speeches have a lot of ads in them on YouTube. That's part of how we support the company but at 21 University since you're a paying member or in this case you get a free one year membership along with your ticket to the event. You get to watch all of our content with no ads in it and you're still supporting the company. Also the other main bonus you get when attending the event with your ticket is the access to the hero's dinner. Excuse me. We value this at $250 but really it could be worth a couple thousand honestly. This is where you get to sit down with speakers like myself, James Marshall, I'm right here actually in the middle and the back. James Marshall, Damien Dica, Socrates, Nick Sparks, Steve Maeta, Drew Bay and on and on down the line. Basically we invite all the speakers at the event to come out to dinner with you guys and usually 90 to 100% of them do. So almost all of them and you get to sit down in terms with your heroes. Basically people who are maybe not actual heroes but are much further along in life than you are.  You guys know that. So being able to interact with them like that on such an intimate level over the course of like a two hour meal full course dinner is a really awesome experience and it's something that we bring into the event that we've had for a long time now. Compliments and thanks to the initial idea of Steve Maeta who first had it years ago. So definitely get your ticket to the event and we'd love to have you out there. You can get tickets at the21convention.org and when you go you'll see this page right away when you pull up. You can click register now and you'll be all set. And also of course there will be a link to this page, the21convention.org underneath the video on YouTube in the description. Thanks for tuning in. I hope to see you at the Miami convention later this year as well as the future events from the 21 convention and of course inside 21 University whether you get the membership through your ticket or you just sign up regular for an annual or monthly membership. Thanks and I'll see you guys in the next video and at the events.