Search Header Logo

Full Stack Laravel 12 with inertia js and React

Authored by Samit Koyom

Information Technology (IT)

8th Grade

Used 1+ times

Full Stack Laravel 12 with inertia js and React
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ข้อใดเป็นข้อดีหลักของการใช้ Inertia.js แทน JSON API ใน Laravel?

ต้องใช้ GraphQL แทน REST API

ลดจำนวน request และ response ข้อมูลระหว่าง frontend และ backend

ลดการพึ่งพา Laravel Blade template

ไม่ต้องใช้ middleware ใด ๆ ใน Laravel

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Laravel + Inertia.js แตกต่างจาก Laravel API + React SPA อย่างไร?

Inertia.js ใช้ Server-Side Rendering เท่านั้น

Laravel API + React SPA รองรับการทำงานแบบ SSR เท่านั้น

Inertia.js ทำงานแบบ Single Page Application แต่ไม่ต้องใช้ API JSON

Laravel + Inertia.js ต้องใช้ Vue.js เท่านั้น

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

คุณสมบัติใหม่ที่สำคัญของ Laravel 12 คืออะไร?

รองรับ HTTP/3

Routing & Middleware สามารถใช้ attribute-based middleware

ต้องใช้ PHP 9.0 ขึ้นไป

Composer 3.0 เป็น requirement

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ข้อใดเป็นข้อดีของการใช้ Repository Pattern ใน Laravel 12?

ช่วยลดเวลาในการเขียน SQL Query โดยตรง

ใช้แทน Eloquent ORM ได้ทุกกรณี

ทำให้โค้ดมีความยืดหยุ่นและทดสอบง่ายขึ้น

ทำให้ Laravel สามารถทำงานกับ MongoDB ได้

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

คำสั่งติดตั้ง Laravel 12 ผ่าน Composer คืออะไร?

composer install laravel

npm create laravel-app

composer create-project laravel/laravel my-app

laravel new my-app

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

องค์ประกอบใดที่ต้องกำหนดค่าหลังติดตั้ง Laravel 12?

Database connection

Node.js 14+

ตั้งค่า Webpack

ต้องใช้ MySQL เท่านั้น

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Laravel ใช้คำสั่งใดในการสร้างไฟล์ Migration?

php artisan db:migrate

php artisan migrate:fresh

php artisan rollback

php artisan make:migration create_users_table

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?