2. Final Report Tasniflagich
Download 3.88 Mb. Pdf ko'rish
|
2.Final Report Tasniflagich
- Bu sahifa navigatsiya:
- 3.0 Backend 8
- 3.4 Models 14
- Results 28 Bibliography 30
Table of Contents
1.0 Introduction 1 1.1 Termins 1 1.2 About company 2 1.3 Purpose 2 1.4 Scope 2 1.5 Laws 3 2.0 Overview 4 2.1 Web application 4 2.1.1 Web app workflow Network 4 2.1.2 Web app workflow Server 5 2.1.3 Web app workflow Client 5 2.2 Tasniflagich environment 6 2.2.1 Hardware Interfaces 6 2.2.2 Software Backend 6 2.2.3 Software Database 7 2.2.4 Software Client 7 3.0 Backend 8 3.1 About laravel 8 3.1.1 Laravel architect 9 3.2 About Composer 9 3.3 Routing 10 3.3.1 GET, POST, PUT, DELETE methods 10 3.3.2 apiResource method 11 3.3.2 Middlewares and grouping 12 3.4 Models 14 3.4.1 Introduction to models 14 3.4.2 Database schema 14 3.4.3 Implementation 16 3.4.3.1 Category 16 3.4.3.1 Product 17 3.4.3.1 Fields 19 3.4.3.1 Field values 21 3.5 Controllers 22 3.5.1 Introductions to controllers 22 TTPU 3 2022 3.5.2 Pattern and principles 23 3.5.2.1 DRY implementation 23 3.5.2.1 Single responsibility implementation 23 3.5.3 Implementation 25 Results 28 Bibliography 30 List Of Images ■ Figure 1. Finding domain IP ■ Figure 2. Server architecture ■ Figure 3. Laravel workflow ■ Figure 4. define get method ■ Figure 5. define post, put and delete methods ■ Figure 6. CRUD in 1 row via apiResource ■ Figure 7. grouping routes and adding middleware ■ Figure 8. creating new middleware ■ Figure 9. api.php result ■ Figure 10. Create model in console ■ Figure 11. Tasniflagich core tables ■ Figure 12. Category model, relation methods ■ Figure 13. Category migration file ■ Figure 14. Product model, relation methods ■ Figure 15. Product model migration file ■ Figure 16. Fields model, relations ■ Figure 17. Field mode, migration file ■ Figure 18. Field value model’s relation ■ Figure 19. Field value model’s migration ■ Figure 20. Command to create controller ■ Figure 21. Helper function ■ Figure 22. Single responsibility ■ Figure 23. FormRequest create command ■ Figure 24. FormRequest filled ■ Figure 25. CategoryController as a sample to all controllers List Of Tables ■ Table 1. Definitions, Acronyms, and Abbreviations. ■ Table 2. resource controller methods and other parameters TTPU 4 2022 |
Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling
ma'muriyatiga murojaat qiling