Laravel Shift Blueprint: Generate CRUD from YAML File

Laravel Shift Blueprint: Generate CRUD from YAML File

Laravel Daily

2 года назад

12,494 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@sebastiancarrasco6804
@sebastiancarrasco6804 - 21.09.2022 08:02

Thank you!!!!

Ответить
@fahvygaming1118
@fahvygaming1118 - 21.09.2022 08:19

I want to create an e-commerce website with Laravel APIs and a third-party react frontend. Do you think this will work

Ответить
@blank001
@blank001 - 21.09.2022 08:41

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

Ответить
@sajidsadeeq4397
@sajidsadeeq4397 - 21.09.2022 09:05

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?

Ответить
@SuvroImran
@SuvroImran - 21.09.2022 09:22

Thank you 💞

Ответить
@al-aminhamadi9451
@al-aminhamadi9451 - 21.09.2022 10:26

Very nice content to me.

Ответить
@EmilBeli
@EmilBeli - 21.09.2022 11:50

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.

Ответить
@artemkol4021
@artemkol4021 - 21.09.2022 11:51

Hate yaml

Ответить
@Z4KIUS
@Z4KIUS - 21.09.2022 14:00

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

Ответить
@DeTechDivus
@DeTechDivus - 21.09.2022 15:03

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.

Ответить
@rogerflatt8054
@rogerflatt8054 - 21.09.2022 23:03

Client conversation -> Dry Wipe Board - > Wireframe -> DB Schema/DDL -> YAML - > Blueprint -> Laravel -> App -> Deploy -> Invoice -> GetPaid .... gets ever nearer? 🧐😂

php artisan blueprint:build clientsApp.yaml -test -deploy -invoice -checkBankAccount 😁

(Only half joking ...)

Ответить
@porfiriodev
@porfiriodev - 22.09.2022 01:08

Is it wrong to do the relationships only on models and eloquent and not in the database with the migrations?

Ответить
@blokkaliwon7794
@blokkaliwon7794 - 23.09.2022 19:37

sir, how can i return value with multiple pages ? example code
return view('user.index', compact('users');
return view('employee', compact('employees);

Ответить
@ernestmugo1765
@ernestmugo1765 - 03.10.2022 13:06

Update your browser

Ответить
@phoenixedge4049
@phoenixedge4049 - 04.10.2022 04:07

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

Ответить
@محمدابراهيم-ظ2ض
@محمدابراهيم-ظ2ض - 24.12.2022 12:22

LIFE_SAVER

Ответить
@vicsystems
@vicsystems - 15.02.2023 13:20

Thanks for this

Ответить
@anbiaa-tawhid
@anbiaa-tawhid - 13.11.2023 12:05

Sir,

Is it possible to generate services with laravel blueprint ?

Ответить