Yii2 PHP Framework Tutorial - Crash Course for Beginners

preview_player
Показать описание
The following video explains what is Yii2 PHP framework, what are its advantages and why you should learn it.

We will build a mini blog application with the following features:
- Authentication
- Registration
- Password hashing
- Working with databases
- Restricting URLs for unauthenticated users
- Working with forms
- Validation

Grow your business 10X with custom Yii web application development services. Click on the link:

=========================================================
------------------AUDIO GEAR I HAVE--------------------

------------------CHEAP AUDIO SETUP------------------
=========================================================

Check my Github:

Follow me on social media:
Рекомендации по теме
Комментарии
Автор

Please do not delete this comment. I am using it.
Server start 18:30
Identity class 19:40
Login 22:15
Pretty url 27:05
Layout + widgets 28:30
Model Generator 1:01:25
CRUD Generator 1:02:40
Model Behaviors 1:05:15
ListView 1:11:10
Routes 1:22:45

camotobe
Автор

A bit hard to follow, as I'm quite new to web development, but I could make it to the end. Consulting the yii2 documentation definitely helps to understand what's going on in several parts of this crash course. Thanks so much! I'll check your series of videos about yii2 too.

albertigno
Автор

Very nicely explained, I understood it all. Thanks, Codeholic!!

upasanadew
Автор

thanks for making this tutorial, it is really help for me to understand about Yii2 framework... good job

rianamrodin
Автор

I loved this tutorial, it helped me a lot for my work, thank you very much!

pokemoninfection
Автор

Thank you very much for this, I recently got hired as a PHP Developer and had no idea that I'd be using Yii 2 framework for the project that I've been assigned to. I've been a Laravel developer for the past 3 years and despite seeing some similarities between them, it was still confusing for me. This video definitely helped me understand enough about the framework. Cheers!

patriciaann
Автор

This is the best video tutorial I can find on the Yii2 framework. Actually, I couldn't really find anything good. You explain everything really well and with lots of details. Still trying to grasp the whole structure and I got lost reading the Yii documentation. Did it take you a while to learn the framework? And to grasp it? Keep the Yii2 tutorials going! Love to see more.

PhilGinsburg
Автор

Thanks alot, its very hard to find tutorial on you tube abou yii framework, lucky i found your channel..please make tutorial e commerce on this framework

cubedev
Автор

This crash course video for learning the basics of YII2 Framework is amazing. Thank you Codeholic.

rahul-khan
Автор

Top notch, totally understood everything

desmondnjuguna
Автор

I will appreciate if you share this video to make it available and helpful for others.
I started series of videos around the framework.
From the beginning I will talk about basic things, but later I will explain more advanced stuff and I also plan longer videos where I will build projects using yii2.
Thank you all for watching and liking it.

TheCodeholic
Автор

მადლობა დიდი ზურა. ძალიან დამეხმარა, გაიხარე

nikoloz
Автор

It is great video tutorial in yii2 framework. Thanks bro.

dostonismailov
Автор

Good job!
Next maybe translation tricks for multiple languages,
complex database queries,
custom widgets,
assets,
components,
modules,
admin and / or customer groups,
cache,
logs,
:)

music-unleashed
Автор

This is the perfect video for beginners.Thank you for making this video. My few doubts has been cleared by watching this video.I have one doubt sir, how to create admin login in "yii basic" not in advanced ?

sumithamk
Автор

Thanks for the excellent tutorial!
One problem though. After installing the basic framework and making a virtual server with wamp64, I was able to access it fine locally. But validation messages don't show up on the Login screen. Instead the edit controls show a circle with an exclamation point for invalid fields in the Username and Password text controls. I assume Yii has changed that functionality in the basic install. But the Contact form does show validation message...

DonStrenz
Автор

Fantastic! I have found current Yii tutorials 👍 thanks 😎👍
Subscribed to your Channel. More Yii tutorials please.

adante
Автор

Awsome!
I'm starting on a new job in 2 weeks and will work on a project based on Yii2 then. Coming from Laravel I've never worked with Yii2 before, but I'm sure your tutorials will prepare me well. ❤️

monobrowers
Автор

I'm enjoying this very much -- thank you.
One thing didn't work for me, I think maybe I missed something or something has changed with the framework in between times: the tactic demonstrated from 57.30 to confirm that validation was working. It was as if in the video calling the save method invoked validation but when I did it the input didn't get validated at all (I did remember to uncomment in between). When I did it it didn't run any validation at all and inserted any old thing into the db.
It worked when I wrapped the 'if save' in an 'if validate' as in:
if ($this->validate()) {
if($user->save()) {
return true;
}
Yii::error("User was not saved ".
return false;
}
Yii::error("Invalid input ".
return false;

waynekille
Автор

apart from the sample in the video here how we control user access level one by one using if condition in controller,
is there another best practice to differentiate user level using access control?

SethSetiadha