Giving you superpowers to use every day. Python trainer, developer, and PyRVA co-founder. https://xitter.cf/t.co/W8QF9ehCIz

Richmond, VA
Joined August 2008
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
2
20
1,112
I recently talked with @bbelderbos about #eventSourcing, #dataStar, and other thoughts that have transformed how I write code today. youtube.com/watch?v=8aQ7j8mz…
1
1
3
338
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
3
65
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
1
41
Especially considering that the SSE option incrementally updated two separate parts of the page on each loop.
1
38
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
2
3
20
1,074
I finally pushed publish on why I moved from HTMX to Datastar. everydaysuperpowers.dev/arti… I'd love to know your thoughts! #htmx #DataStar #Python #webComponents
6
7
2
33
3,794
@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
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/arti… #eventSourcing #python
2
1
2
730
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.
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.
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
1
85
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.
68
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_BK9B… I wrote and recorded the series over the course of a year and I hope that people will find it helpful.
4
19
1
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=AfJm…
1
6
206
And thanks to the more that 3,500 people who have viewed it so far!
1
93
Also thanks @llanga (and @_ChrisMay) for reminding us to read Hypermedia Systems, just bought a copy 💪 🙏 @htmx_org for the win! 😍
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.
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/
2
183