Chris May retweeted
I use German public transportation every day.

None of the arrival-tracking apps satisfy my needs, so I built my own using Stario and Datastar.

It's real-time of course.

Fat morphing, CQRS, sqlite and a Hetzner server.

@DelaneyGillilan
4
6
20
1,112
At the bottom of the hour, I will be a guest on the Talk Python podcast to talk about #eventSourcing. Come join us!

youtube.com/watch?v=s37d6y…
1
1
5
1,358
I recently talked with @bbelderbos
about #eventSourcing, #dataStar, and other thoughts that have transformed how I write code today.

youtube.com/watch?v=8aQ7j8…
1
1
3
339
I just ran an experiment rendering a status page that includes a table of 200 items pulled from the database.

Option A: streaming HTML that is generated on the fly

Option B: Load the shell and leverage #DataStar and Server-Sent Events to populate the table and related data.
1
0
3
65
Replying to @_ChrisMay
Lighthouse reports that the SSE version renders in half the time as the streamed HTML.

This is not what I was expecting.

Fascinating to see that in this instance that SSE is so much faster.
1
0
1
41
Replying to @_ChrisMay
Especially considering that the SSE option incrementally updated two separate parts of the page on each loop.
0
0
1
38
Chris May retweeted
Bookmark this top-notch article on htmx and datastar! Code examples, a narrative, and clear writing

My takeaway: If you are using htmx and you feel like you're putting too many of your front-end controls in the html, datastar is probably the perfect hypermedia solution for you
I finally pushed publish on why I moved from HTMX to Datastar.

everydaysuperpowers.dev/articles/why-i…

I'd love to know your thoughts!

#htmx #DataStar #Python #webComponents
2
3
20
1,074
I finally pushed publish on why I moved from HTMX to Datastar.

everydaysuperpowers.dev/articles/why-i…

I'd love to know your thoughts!

#htmx #DataStar #Python #webComponents
6
7
33
3,796
Replying to @_ChrisMay
@all__hype I don't know if this adds to your understanding of Datastar, but I highlighted two examples that don't require async code and one that doesn't require SSE.
1
0
6
291
It's been a few months since I posted, but I just published article 5 of my intro to event sourcing blog series!

In it, I show you how to get started with event sourcing by using the eventsourcing PYPI package.

everydaysuperpowers.dev/articles/get-s…

#eventSourcing #python
2
1
2
730
Replying to @_ChrisMay
While I am not using this package in production, I learned a **LOT** from creating toy projects with it.

Let me know what questions you have lingering from my series. I'll answer them in another post.
0
0
0
41
My talk at FlaskCon is up!
In this 20-minute talk, I share how three of my favorite attributes of event sourcing can empower reactive web apps that are better than the status quo.
Death to SPINNERS! Thanks for the talk!
youtube.com/watch?v=H3jNUp…
1
1
7
385
I had a win highlighting why I have been excited about #eventSourcing.

My project processes files in multiple phases, and I built a status page to track progress. It became apparent that the team needed to know how long each file took.
1
0
1
85
Replying to @_ChrisMay
I added a duration column and regenerated the view from past events. Seeing the data appear through the #HTMX powered Server-Sent Events connection was fun.

Event sourcing made answering their question simple, going back to the first file we processed.
0
0
0
68
Chris May retweeted
Event Sourcery, the video course that I built as an introduction to domain modeling, cqrs, and event sourcing, is now publicly available on YouTube.

youtube.com/channel/UCa_BK…

I wrote and recorded the series over the course of a year and I hope that people will find it helpful.
4
19
72
Inspired by Taylor Hunt's incredible blog posts, I created a talk, HTML-ivating your Django web app's experience with HTMX, AlpineJS, and streaming HTML.
Thanks @tigt_ for opening my eyes to streaming HTML and reminding me how UX can be great without SPAs

youtu.be/kYV8K71pY64?si…
1
0
6
206
Replying to @_ChrisMay
And thanks to the more that 3,500 people who have viewed it so far!
0
0
1
93
Chris May retweeted
Replying to @bbelderbos
Also thanks @llanga (and @_ChrisMay) for reminding us to read Hypermedia Systems, just bought a copy 💪 🙏

@htmx_org for the win! 😍
0
1
6
371
Any #hokie fans remember when Corey Moore intercepted the snap in a football game?

I can’t remember what game that happened in.
0
0
1
131
I agree! Such a fun event!
Great people, great venue, great food!
Hey #Python friends! I know it's half a year away, but @pytexas 2024 is happening April 19-21 in Austin, TX.

More importantly: the CFP is open! Be sure to submit your talks. It's a wonderful event at an incredible venue.

Check here for more info:
pytexas.org/2024/
0
0
2
183