Это продолжение «Создаем "Go версию" Laravel» и предназначено для студентов, которые уже прошли первую часть! В первой части мы создали повторно используемый модуль Go, который предоставил нам множество функций, включая типы ответов html, json и xml, поддержку шаблонов Go и шаблонов Jet для рендеринга страниц, поддержку нескольких баз данных, сеансы и тд. На этот раз мы улучшим наш пакет Celeritas и добавим следующие функции:
Поддержку удаленных файловых систем, включая Amazon S3, Minio, sFTP и WebDAV.
Поддержку социальной аутентификации с помощью GitHub и Google (и вы можете добавить столько, сколько хотите)
Поддержку улучшенного тестирования, включая Go-версию пакета Laravel Dusk, который делает снимок экрана браузера при тестировании функций, отображающих веб-страницу.
Поддержку «режима обслуживания» с использованием удаленных вызовов процедур (RPC).
Улучшим миграцию нашей базы данных, чтобы поддерживать как необработанный SQL, так и формат файлов soda Fizz.
Реализуем функцию загрузки файлов (с поддержкой локальных и удаленных файловых систем)
Отдельную логику и маршруты для сети и API
Упростим пользователям создание тестов, предварительно заполнив тестовые файлы-заглушки и соответствующие файлы setup_test.go для своих проектов.
К тому времени, когда вы закончите этот курс, у вас будет не только четкое понимание каждой из перечисленных выше вещей, но и база многократно используемого кода, которая поможет вам быстро начать свой следующий проект.
Посмотреть больше
Это пробный урок. Оформите подписку, чтобы получить доступ ко всем материалам курса. Премиум
Ограничение времени просмотра
Вы можете просматривать пробный урок только 10 минут. Получите полный доступ, чтобы смотреть без ограничений.
Getting started with Minio: connecting and the Put function
Урок 14.
00:06:36
Implementing the List function in Minio
Урок 15.
00:03:13
Implementing the Delete function in Minio
Урок 16.
00:03:23
Implementing the Get function in Minio
Урок 17.
00:05:40
Creating stub filesystems for the other three types
Урок 18.
00:07:05
Adding filesystems to Celeritas
Урок 19.
00:04:14
Trying out our Minio filesystem
Урок 20.
00:10:52
Creating a handler to list the remote file system
Урок 21.
00:01:39
Connecting the handler to a route and trying things out
Урок 22.
00:03:28
Creating handlers to display the upload form
Урок 23.
00:11:13
Creating the handler to process the file upload
Урок 24.
00:06:03
Creating the delete handler
Урок 25.
00:10:31
Implementing the Put function for sFTP
Урок 26.
00:04:05
Implementing the List function for sFTP
Урок 27.
00:02:07
Implementing the Delete function for sFTP
Урок 28.
00:04:58
Implementing the Get function for sFTP
Урок 29.
00:02:42
Connecting Celeritas to our sFTP file system
Урок 30.
00:02:12
Updating our ListFS handler to support sFTP
Урок 31.
00:03:34
Updating our PostUploadToFS handler to support sFTP
Урок 32.
00:01:20
Updating our DeleteFromFS handler to support sFTP
Урок 33.
00:03:56
Cleaning up the Get function to avoid resource leaks
Урок 34.
00:06:12
Implementing the Put function for WebDAV
Урок 35.
00:03:20
Implementing the List function for WebDAV
Урок 36.
00:02:15
Implementing the Delete function for WebDAV
Урок 37.
00:03:55
Implementing the Get function for WebDAV
Урок 38.
00:06:25
Testing things out
Урок 39.
00:11:14
Implementing the List function for S3 file systems
Урок 40.
00:07:18
Implementing the Put function for S3 file systems
Урок 41.
00:05:28
Implementing the Delete function for S3 file systems
Урок 42.
00:03:52
Implementing the Get function for S3 buckets
Урок 43.
00:02:13
Connecting Celeritas to our S3 file system
Урок 44.
00:04:36
Creating an S3 compatible bucket on Linode
Урок 45.
00:01:40
Updating our handlers for S3 buckets
Урок 46.
00:03:14
Trying things out
Урок 47.
00:01:38
What we'll build
Урок 48.
00:02:10
Adding file systems to the Celeritas type
Урок 49.
00:06:52
Creating the file uploader
Урок 50.
00:06:20
Limiting upload by mime type
Урок 51.
00:06:02
Adding the mime type and file size limitations to the Celeritas config type
Урок 52.
00:06:02
Setting up handlers and routes to try things out
Урок 53.
00:03:26
Trying things out
Урок 54.
00:04:32
Pop vs. SQL
Урок 55.
00:03:39
Getting started with Pop functions for our migrations code in Celeritas
Урок 56.
00:02:37
Implementing the CreatePopMigration() function to create up and down migrations
Урок 57.
00:02:21
Implementing the RunPopMigrations() function
Урок 58.
00:03:26
Implementing the PopMigrateDown() function
Урок 59.
00:01:22
Implementing the PopMigrateReset() function
Урок 60.
00:10:25
Making changes in the Celeritas CLI for our pop migrations
Урок 61.
00:03:20
Trying out our new make migration command
Урок 62.
00:03:42
Ensuring the database is connected before allowing people to make migrations
Урок 63.
00:05:54
Creating a database.yml file and running migrations
Урок 64.
00:02:35
Trying out the migrate command
Урок 65.
00:06:40
Updating the "make auth" command for our Pop integration
Урок 66.
00:03:00
Trying out make auth
Урок 67.
00:03:38
Social Authentication or Single Sign On: an Overview
Урок 68.
00:03:38
Getting started with Goth and Social Authentication
Урок 69.
00:04:10
Setting up authentication routes
Урок 70.
00:07:24
Initializing social sign on
Урок 71.
00:05:18
Implementing the SocialLogin handler
Урок 72.
00:11:37
Implementing the SocialCallback handler
Урок 73.
00:01:48
Connecting our social authentication handlers to routes
Урок 74.
00:03:30
Setting up GitHub for social authentication
Урок 75.
00:05:52
Trying out the GitHub login functionality
Урок 76.
00:05:22
Logging out
Урок 77.
00:09:51
Really logging out
Урок 78.
00:01:53
Trying the socialLogout function
Урок 79.
00:04:01
Adding support for Google login
Урок 80.
00:02:28
Updating the auth-handlers.go file for Google to enable login
Урок 81.
00:02:01
Trying out login with Google
Урок 82.
00:01:59
Adding the case for logging out of Google in socialLogout()
Урок 83.
00:01:30
Trying things out
Урок 84.
00:05:07
Separating Web and API routes
Урок 85.
00:09:21
Getting started with "Maintenance Mode" functionality using RPC
Урок 86.
00:00:58
Starting RPC
Урок 87.
00:06:28
Adding maintenance mode middleware
Урок 88.
00:05:12
Updating the CLI for maintenance mode
Урок 89.
00:03:39
Testing the maintenance mode functionality
Урок 90.
00:08:01
Graceful Shutdown
Урок 91.
00:09:34
Adding a simple setup_test.go file to handlers
Урок 92.
00:02:53
Adding two functions to our setup_test.go file
Урок 93.
00:04:44
Adding and running a sample test
Урок 94.
00:05:05
Adding some additional tests
Урок 95.
00:02:08
Implementing Laravel Dusk like screen captures
Урок 96.
00:07:58
Writing the screen capture function
Урок 97.
00:04:45
Trying out the screen capture function
Урок 98.
00:14:31
Writing additional helper functions for testing
Урок 99.
00:08:15
Updating our templates in the CLI, and making some changes to the myapp
Урок 100.
00:04:33
Creating our skeleton app
Урок 101.
00:04:31
Additional updates to the skeleton application and the celeritas project
Урок 102.
00:02:18
Trying out the "celeritas new <project>" command
Урок 103.
00:05:21
Trying things out
Автор - udemy
udemy
Udemy - одна из самых больших площадок в мире по доставке обучающего контента от разных авторов всего мира. Присутсвуют курсы практически на любую тему.
Команда внимательно читает ваши комментарии и оперативно на них реагирует. Вы можете спокойно оставлять запросы на обновления или задавать любые вопросы о курсе здесь.
Laravel — один из самых популярных веб-фреймворков в мире PHP, и на то есть веские причины. Он прост в использовании, хорошо спроектирован и позволяет разработчикам работать над своими приложениями, не беспокоясь о том, что каждый раз, когда они начинают проект, придется заново изобретать велосипед. Go, часто называемый Golang, является одним из самых популярных языков программирования в мире и использовался для создания систем в Netflix, A
Вы испытываете затруднения с базами данных Laravel и Eloquent? Хотите научиться легко управлять своей базой данных с помощью миграций и сидеров? В этом исчерпывающем курсе будут рассмотрены фабрики, сидеры, миграции, Query Builder, Eloquent и отношения в Laravel 10. Под руководством эксперта вы научитесь эффективно управлять своей базой данных и создавать мощные и масштабируемые приложения.