This a such a huge time saver for me, during design phase I usually make the DB desing in YAML first and then add/update according to requirements and once finalised I start making the migration and models manually, now I can generate models, migrations, controllers also 🤯🤯🤯 count me in already
@phoenixedge4049
Жыл бұрын
It could be useful for some, but I generally don’t like pulling in a package just to save a few minutes. I like having more control over my migrations/views/factories/tests without having to learn the nuances of a third party package. For this sort of thing, Quick Admin Panel is much more useful imo
@sajidsadeeq4397
Жыл бұрын
Thanks for sharing such a useful content, need some hep in another issue SomeModel::with('SomeRelation')->select( 'first_column' , 'second_column')->get(); when i try to run above query, SomeRelation return as null SomeModel::with('SomeRelation')->get(); If i remove select from the query then it works fine, Can you please explain this why?
@mustafagondalwala5553
Жыл бұрын
In select also pass the foreign key column name.
@sajidsadeeq4397
Жыл бұрын
@@mustafagondalwala5553 thanks, it worked, can you please why we need to do that? i want to understand the picture behind it
@johnandriepareja5160
Жыл бұрын
@@sajidsadeeq4397 you need to add the model's primary key in the select() to make eagerloadings work, and vice versa. Also, you can use the get() to specify columns like you do in select. Ex. ->get(['id','specific_column']);
@anbiaa-tawhid
9 ай бұрын
Sir, Is it possible to generate services with laravel blueprint ?
@vicsystems
Жыл бұрын
Thanks for this
@DeTechDivus
Жыл бұрын
Does it have option to choose if it's a web or api based creation? Additionally adding it to api routes and creating and returning resources.
@LaravelDaily
Жыл бұрын
Please look into the documentation. But I haven't seen this option specifically.
@porfiriodev
Жыл бұрын
Is it wrong to do the relationships only on models and eloquent and not in the database with the migrations?
@LaravelDaily
Жыл бұрын
Yes it is wrong, because some database operations may then fail. Watch my video about it: kzitem.info/news/bejne/jm1tsqJ4jH5jjaA
@blokkaliwon7794
Жыл бұрын
sir, how can i return value with multiple pages ? example code return view('user.index', compact('users'); return view('employee', compact('employees);
@steve-rolandndetsapi5139
Жыл бұрын
You can't return multiple pages at once, and I think there is no reason to do so, maybe you talk about returning multiple data in one page? If not then I don't really understand the problem
@blokkaliwon7794
Жыл бұрын
@@steve-rolandndetsapi5139 Yes sir, I think everyone thinks like that, but the case I got started with how to get the search result data to display in the view and export it to PDF according to the query results.
@SuvroImran
Жыл бұрын
Thank you 💞
@al-aminhamadi9451
Жыл бұрын
Very nice content to me.
@sebastiancarrasco6804
Жыл бұрын
Thank you!!!!
@fahvygaming1118
Жыл бұрын
I want to create an e-commerce website with Laravel APIs and a third-party react frontend. Do you think this will work
@thanjeys
Жыл бұрын
Yes it will work. Whats problem do you think ?
@user-hk3te3ql5p
Жыл бұрын
LIFE_SAVER
@EmilBeli
Жыл бұрын
Why we need human-readible thing? We are devs, look like humans but are actually not. 🤣 Fun aside, I guess it is useful. Thanks for the video.
@toomass2668
Жыл бұрын
I actually agree. Code needs to make sense and be readable to "developers" not regular humans. Person with just "internet browsing" experience should not be able to read code fluently. Obviously it is benefit but I am not going to stress over it if 90% devs understand my code perfectly and some very beginner Junior doesnt. its just about experience which comes with time and practice. Again, code needs to be readable and understandable!!!!
@hydrokat143
Жыл бұрын
being human is stressful
@ernestmugo1765
Жыл бұрын
Update your browser
@Z4KIUS
Жыл бұрын
what's the deal with YAML? it's a terrible language with tons of caveats and scarily high chance of making mistakes and yet it's the goto choice for CI/CD tools and things like that... just why? and no, it's absolutely not readable, due to lack of braces and proper array syntax it's a complete mess
@Poooya
Жыл бұрын
Use a .yml editor or config your IDE for .yml, if your only reason is non-readability and chance of mistaking
Пікірлер: 29