Forwarded from Laravel World
Vue + Laravel API: Поиск в таблице по полям
https://youtu.be/ejcOHypgmcg
https://youtu.be/ejcOHypgmcg
YouTube
Vue + Laravel API: Table Search and Column Search
A follow-up video to my course about Vue CRUD with Laravel in SPA. One student asked a question, and I promised to shoot a video on Youtube.
Link to the full course: https://bit.ly/vue-laravel-spa
- - - - -
Try our Laravel QuickAdminPanel: https://bit.…
Link to the full course: https://bit.ly/vue-laravel-spa
- - - - -
Try our Laravel QuickAdminPanel: https://bit.…
Forwarded from Laravel World
Делаем контактную форму на разных стеках: Livewire, Vue, jQuery, бэкенд
https://youtu.be/o0HoP7WzRf0
https://youtu.be/o0HoP7WzRf0
YouTube
Laravel Livewire vs Vue vs jQuery: Simple Example
Simple demo-project with a contact form, made in two stacks: web, jQuery, Vue, and new Livewire.
0:00 Intro: About the Project
1:43 Back-end Form Version
2:41 jQuery Version
4:24 Vue.js Form Version
6:35 Livewire version
Repository: https://github.com/…
0:00 Intro: About the Project
1:43 Back-end Form Version
2:41 jQuery Version
4:24 Vue.js Form Version
6:35 Livewire version
Repository: https://github.com/…
Forwarded from Laravel World
40 дополнительных правил валидации в Laravel
В системе валидации Laravel существует более 60 правил, но, вдруг, вам нужно что-то особенное? Вы можете легко создать свои собственные правила проверки или же использовать те, что есть в Интернете. Давайте посмотрим, что же там есть.
https://laravel.demiart.ru/additional-validation-rules/
В системе валидации Laravel существует более 60 правил, но, вдруг, вам нужно что-то особенное? Вы можете легко создать свои собственные правила проверки или же использовать те, что есть в Интернете. Давайте посмотрим, что же там есть.
https://laravel.demiart.ru/additional-validation-rules/
Уроки Laravel
40 дополнительных правил валидации в Laravel | Уроки Laravel
Дополнительные правила проверки входящих значений для Ларавел на все случаи жизни.
Forwarded from TechSkills - книги по программированию
Кибербезопасность: стратегии атак и обороны
Авторы: Юрий Диогенес, Эрдаль Озкайя
Год издания: 2020
Скачать книгу
#security #русский
Авторы: Юрий Диогенес, Эрдаль Озкайя
Год издания: 2020
Скачать книгу
#security #русский
Forwarded from Laravel World
Шпаргалка по сервисам Laravel
————————————————
Cashier — Биллинг
Dusk — Браузерное тестирование
Echo — WebSockets JS библиотека
Envoy — Запуск задач
Envoyer — Развертывание на лету
Forge — Управление сервером
Fortify — Бэкенд аутентификации
Horizon — Мониторинг очередей
Jetstream — Фронтенд-каркас
Nova — Админка
Passport — OAuth2.0
Sanctum — Аутентификация на токенах
Scout — Полнотекстовый поиск
Socialite — Интеграция провайдеров OAuth
Spark — SaaS-каркас
Telescope — Мониторинг-дебаггер
Vapor — Безсерверный Laravel
————————————————
Cashier — Биллинг
Dusk — Браузерное тестирование
Echo — WebSockets JS библиотека
Envoy — Запуск задач
Envoyer — Развертывание на лету
Forge — Управление сервером
Fortify — Бэкенд аутентификации
Horizon — Мониторинг очередей
Jetstream — Фронтенд-каркас
Nova — Админка
Passport — OAuth2.0
Sanctum — Аутентификация на токенах
Scout — Полнотекстовый поиск
Socialite — Интеграция провайдеров OAuth
Spark — SaaS-каркас
Telescope — Мониторинг-дебаггер
Vapor — Безсерверный Laravel
Forwarded from IT лекции
🗣️ Автодеплой проекта из Bitbucket средствами PHP
По итогам текущего урока Вы узнаете:
• для чего нужен автодеплой;
• как сгенерировать SSH ключ на сервере и добавить в систему Bitbucket;
• что такое Webhook в системе Bitbucket и как его создать;
• какие данные присылает Webhook Bitbucket;
• в каком формате присылает данные Webhook Bitbucket;
• как выполнить команду git pull средствами PHP на сервере;
• с какими трудностями можно столкнуться при реализации скрипта.
В видео версии урока, традиционно, будет показано написание скрипта на языке PHP с абсолютного нуля, а также подробно показано, где и как нужно настроить систему Bitbucket для работы с SSH-ключами и вебхуками.
Смотреть
@itlecture
По итогам текущего урока Вы узнаете:
• для чего нужен автодеплой;
• как сгенерировать SSH ключ на сервере и добавить в систему Bitbucket;
• что такое Webhook в системе Bitbucket и как его создать;
• какие данные присылает Webhook Bitbucket;
• в каком формате присылает данные Webhook Bitbucket;
• как выполнить команду git pull средствами PHP на сервере;
• с какими трудностями можно столкнуться при реализации скрипта.
В видео версии урока, традиционно, будет показано написание скрипта на языке PHP с абсолютного нуля, а также подробно показано, где и как нужно настроить систему Bitbucket для работы с SSH-ключами и вебхуками.
Смотреть
@itlecture
Forwarded from Laravel World
Паттерн «Сервисный слой» в Laravel
Сервисный слой (Service layer) — это шаблон проектирования, который поможет вам абстрагировать логику от логики предметной области (domain logic), при необходимости использования разных интерфейсов. На самом деле вы делегируете логику приложения общему сервису (сервисному слою) и обслуживаете только один класс. К тому же это хороший способ почистить ваши контроллеры и содержать их в читабельном виде.
https://laravel.demiart.ru/service-layer-design-pattern/
Сервисный слой (Service layer) — это шаблон проектирования, который поможет вам абстрагировать логику от логики предметной области (domain logic), при необходимости использования разных интерфейсов. На самом деле вы делегируете логику приложения общему сервису (сервисному слою) и обслуживаете только один класс. К тому же это хороший способ почистить ваши контроллеры и содержать их в читабельном виде.
https://laravel.demiart.ru/service-layer-design-pattern/
Уроки Laravel
Паттерн «Сервисный слой» в Laravel | Уроки Laravel
Что такое паттерн «Сервисный слой» и примеры его применения в Laravel
Forwarded from Laravel World
Настройка Laravel 8 для CI/CD с Jenkins и GitHub
https://medium.com/@danielgara/configure-laravel-8-for-ci-cd-with-jenkins-and-github-part-1-58b9be304292
https://medium.com/@danielgara/configure-laravel-8-for-ci-cd-with-jenkins-and-github-part-1-58b9be304292
Medium
Configure Laravel 8 for CI/CD with Jenkins and GitHub — Part 1
This month I started to read a book called “Continuous Delivery with Docker and Jenkins — Second edition” from Rafal LESZKO. I bought it…
Forwarded from Laravel World
API-шлюз — аутентификация пользователя без использования базы данных
https://medium.com/@sirajul.anik/api-gateway-authenticating-user-without-db-storage-in-laravel-lumen-3ef1c1f300d3
https://medium.com/@sirajul.anik/api-gateway-authenticating-user-without-db-storage-in-laravel-lumen-3ef1c1f300d3
Medium
API gateway — Authenticating user without DB storage in Laravel/Lumen
Goal
Forwarded from Laravel World
Бесконечная прокрутка в Laravel
https://devdojo.com/bobbyiliev/how-to-add-a-simple-infinite-scroll-pagination-to-laravel
https://devdojo.com/bobbyiliev/how-to-add-a-simple-infinite-scroll-pagination-to-laravel
DevDojo
How to Add a Simple Infinite Scroll Pagination to Laravel?
Introduction In order to optimize your website load time, you should not load too many resources on one page as it could result in longer page load times. That is why it is good to use pagination to l...
Forwarded from Laravel World
Очереди в Laravel. Шаг за шагом на примере.
https://itsolutionstuff.com/post/laravel-8-queue-step-by-step-tutorial-exampleexample.html
https://itsolutionstuff.com/post/laravel-8-queue-step-by-step-tutorial-exampleexample.html
Itsolutionstuff
Laravel 8 Queue Step by Step Tutorial Example
laravel 8 queue example, laravel 8 queue step by step, laravel 8 queue example, laravel 8 mail queue example, laravel 8 queue database driver, laravel 8 queue driver database not working, laravel 8 queue listen
Forwarded from Находки в опенсорсе
Build automation for the post-container era. It's like Makefile and Dockerfile had a baby.
Earthly is a build automation tool for the post-container era. It allows you to execute all your builds in containers. This makes them self-contained, reproducible, portable and parallel. You can use Earthly to create Docker images and artifacts (eg binaries, packages, arbitrary files).
Earthly is meant to be used both on your development machine and in CI. It can run on top of popular CI systems (like Jenkins, Circle, GitHub Actions). It is typically the layer between language-specific tooling (like maven, gradle, npm, pip, go build) and the CI build spec.
Features:
- Reproduce CI failures
- Builds that run the same for everyone
- From zero to working build in minutes
- Build anything via containers - build images or standalone artifacts (binaries, packages, arbitrary files)
- Programming language agnostic - allows use of language-specific build tooling
- Reproducible builds - does not depend on user's local installation. Runs the same locally, as in CI
- Parallelism that just works - builds in parallel without special considerations the user has to make
- Mono-repo friendly - ability to split the build definitions across a vast directory hierarchy
- Multi-repo friendly - ability to import builds or artifacts from other repositories
https://github.com/earthly/earthly
#docker #devops #go
Example:
Output:
Earthly is a build automation tool for the post-container era. It allows you to execute all your builds in containers. This makes them self-contained, reproducible, portable and parallel. You can use Earthly to create Docker images and artifacts (eg binaries, packages, arbitrary files).
Earthly is meant to be used both on your development machine and in CI. It can run on top of popular CI systems (like Jenkins, Circle, GitHub Actions). It is typically the layer between language-specific tooling (like maven, gradle, npm, pip, go build) and the CI build spec.
Features:
- Reproduce CI failures
- Builds that run the same for everyone
- From zero to working build in minutes
- Build anything via containers - build images or standalone artifacts (binaries, packages, arbitrary files)
- Programming language agnostic - allows use of language-specific build tooling
- Reproducible builds - does not depend on user's local installation. Runs the same locally, as in CI
- Parallelism that just works - builds in parallel without special considerations the user has to make
- Mono-repo friendly - ability to split the build definitions across a vast directory hierarchy
- Multi-repo friendly - ability to import builds or artifacts from other repositories
https://github.com/earthly/earthly
#docker #devops #go
Example:
# Earthfile
FROM golang:1.13-alpine3.11
RUN apk --update --no-cache add git
WORKDIR /go-example
all:
BUILD +lint
BUILD +docker
build:
COPY main.go .
RUN go build -o build/go-example main.go
SAVE ARTIFACT build/go-example AS LOCAL build/go-example
lint:
RUN go get golang.org/x/lint/golint
COPY main.go .
RUN golint -set_exit_status ./...
docker:
COPY +build/go-example .
ENTRYPOINT ["/go-example/go-example"]
SAVE IMAGE go-example:latest
Output:
Forwarded from Веб-страница
Шпаргалка по работе с Jenkins включила в себя:
— инструкцию по установке на Ubuntu;
— информацию о Pipeline;
— наиболее популярные плагины;
— типы Jenkins Jobs;
— советы и рекомендации.
Всё это с примерами и в формате PDF:
https://tprg.ru/wfrX
#jenkins #devops
— инструкцию по установке на Ubuntu;
— информацию о Pipeline;
— наиболее популярные плагины;
— типы Jenkins Jobs;
— советы и рекомендации.
Всё это с примерами и в формате PDF:
https://tprg.ru/wfrX
#jenkins #devops
Forwarded from IT 1ess0ns
📌 Контейнеризация
▪️ От Docker до Kubernetes: историческая ретроспектива – Смотреть
▪️ Введение в Docker – Смотреть
▪️ Введение в Kubernetes. Часть 1. Установка кластера – Смотреть
▪️ Введение в Kubernetes. Часть 2. Поды и сервисы – Смотреть
▪️ Введение в Kubernetes. Часть 3. Горизонтальное маштабирование – Смотреть
▪️ Введение в Kubernetes. Часть 4. Отказоустойчивость для клиентов – Смотреть
▪️ Введение в Kubernetes. Часть 5. Интеграция с NFS – Смотреть
@ITbook_ru
▪️ От Docker до Kubernetes: историческая ретроспектива – Смотреть
▪️ Введение в Docker – Смотреть
▪️ Введение в Kubernetes. Часть 1. Установка кластера – Смотреть
▪️ Введение в Kubernetes. Часть 2. Поды и сервисы – Смотреть
▪️ Введение в Kubernetes. Часть 3. Горизонтальное маштабирование – Смотреть
▪️ Введение в Kubernetes. Часть 4. Отказоустойчивость для клиентов – Смотреть
▪️ Введение в Kubernetes. Часть 5. Интеграция с NFS – Смотреть
@ITbook_ru
YouTube
От Docker до Kubernetes: историческая ретроспектива
В этом видео я расскажу о технологии контейнеризации и о том какие этапы прошла она в своем развитии.
Forwarded from Laravel World
Использование Google Drive как хранилище в Laravel
https://robindirksen.nl/blog/google-drive-storage-as-filesystem-in-laravel
https://robindirksen.nl/blog/google-drive-storage-as-filesystem-in-laravel
Robin Dirksen
How to use Google Drive storage as filesystem in Laravel
For some projects, we use Google Drive (in combination with a personal @gmail.com account or G Suite account) as a storage provider in Laravel projects. In this post, I'll show how you can set up Google Drive as a storage disk via the Laravel filesystem.
Forwarded from Laravel World
Резолвим зависимости с помощью сервис-контейнера
https://www.amitmerchant.com/resolving-dependencies-conditionally-using-service-container-in-laravel/
https://www.amitmerchant.com/resolving-dependencies-conditionally-using-service-container-in-laravel/
Amit Merchant - A blog on PHP, JavaScript, and more
Resolving dependencies conditionally using service container in Laravel
One of the standard ways to resolve dependencies in Laravel is by using service container. Essentially, if you want to inject something which can be swappable anytime, you can do this by “biding” that into the service container.
Forwarded from DevOps&SRE Library
croc
croc is a tool that allows any two computers to simply and securely transfer files and folders. AFAIK, croc is the only CLI file-transfer tool that does all of the following:https://github.com/schollz/croc
- allows any two computers to transfer data (using a relay)
- provides end-to-end encryption (using PAKE)
enables easy cross-platform transfers (Windows, Linux, Mac)
- allows multiple file transfers
- allows resuming transfers that are interrupted
- local server or port-forwarding not needed
- ipv6-first with ipv4 fallback
Forwarded from PHP Books
Современный РНР. Новые возможности и передовой опыт
Автор: Джош Локхарт
Год издания: 2016
Скачать книгу
#php #русский
Автор: Джош Локхарт
Год издания: 2016
Скачать книгу
#php #русский