Тёмный

I built r/place with PHP and JavaScript in one hour 

Andrew Schmelyun
Подписаться 35 тыс.
Просмотров 9 тыс.
50% 1

I loved Reddit's r/place experiment, and wanted to see if I could create something like it using the Laravel and Vue frameworks. It's definitely not an exact recreation, but the basic feature is still there: drawing collaboratively on a pixel grid in real-time.
In under an hour we:
- Create a new Laravel application with Breeze
- Seed and store thousands of data points in Redis
- Use a canvas element with Vue for interactivity
- Fire off websockets events for real-time updates
- 0:00 Intro
- 00:55 Installing Laravel
- 04:58 Seeding data
- 12:03 Setting up the frontend
- 21:43 Adding interactivity
- 37:42 Real-time events
- 49:16 Where to go from here
Follow me on Twitter! / aschmelyun
Join my newsletter, where I send out new information twice each month in the PHP, JavaScript, and Docker worlds: aschmelyun.substack.com

Наука

Опубликовано:

 

7 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 20   
@aschmelyun
@aschmelyun Год назад
Here’s the GitHub repo containing the source code from this video: github.com/aschmelyun/laraplace Let me know if you like the new video style!
@moimoi7973
@moimoi7973 Год назад
I like those video. They really show how much i am bad with js
@ezp721
@ezp721 Год назад
Amazing demo. Great subject to exercise various aspects of web development. Thanks for share!
@waqaszafar9559
@waqaszafar9559 Год назад
at last you are back with the bang. nicee
@dingmaokong
@dingmaokong Год назад
Well done!
@mikulcek
@mikulcek Год назад
Great stuff, thank you!
@DeskNook
@DeskNook Год назад
Amazing!
@Torkvi
@Torkvi Год назад
Awesome! Great!
@Nathandontknowwhattosay
@Nathandontknowwhattosay 11 месяцев назад
thanks for sharing
@hkhdev95
@hkhdev95 Год назад
Amazing
@trevorllarson
@trevorllarson Год назад
Well this was awesome 🔥
@aschmelyun
@aschmelyun Год назад
Thanks Trevor! I'm glad you liked it!
@xaiwnl
@xaiwnl Год назад
Illuminate\Broadcasting\BroadcastException: Pusher error: cURL error 35: error:0A00010B:SSL routines::wrong version number im getting this error on the websockets bit, any suggestions?
@AbrarAhmad-mz8vl
@AbrarAhmad-mz8vl Год назад
👍
@sakmaestro3852
@sakmaestro3852 10 месяцев назад
Sir do u have symfony framework?
@debanjanchakraborty9946
@debanjanchakraborty9946 6 месяцев назад
Is there a way to do it in windows,
@Nathandontknowwhattosay
@Nathandontknowwhattosay 11 месяцев назад
btw how to host it, im using it for my family
@zzzzzzzzzzzzzzzzzzz13142
@zzzzzzzzzzzzzzzzzzz13142 Год назад
Is it your real voice?
@KrowtennetworK
@KrowtennetworK Год назад
Any plans on adding the stencil function? So people can layover their own images for their communities to work off of?
@nicolhenzey790
@nicolhenzey790 Год назад
p͓̽r͓̽o͓̽m͓̽o͓̽s͓̽m͓̽ ☹️
Далее
Get started with Laravel events and listeners
15:37
Просмотров 18 тыс.
Saloon - A PHP package to simplify API integrations
28:09
The Hardest Challenge!
00:37
Просмотров 6 млн
Редакция. News: 124-я неделя
52:01
Просмотров 1,3 млн
Build a shopping cart with Laravel Cashier and Vue
55:07
Official r/place 2023 canvas timelapse
3:05
Просмотров 1,3 млн
Modern monoliths: SPA and API in a single codebase
11:55
PHP on the frontend! No more Javascript!
14:47
Просмотров 118 тыс.
A few different ways to seed databases in Laravel
13:02
How to use soft deletes in Laravel
10:35
Просмотров 7 тыс.
0 to LSP : Neovim RC From Scratch
30:47
Просмотров 1,2 млн
Serverless PHP is pretty good
12:33
Просмотров 6 тыс.
S-Pen в Samsung достоин Золота #Shorts
0:38