62 karma · joined Jul 15, 2013 (13y ago) · 24 submissions
comment 1y ago · link · parent
Personally I'm convinced this model is the best out there right now.
https://www.reddit.com/r/Bard/comments/1jjobaz/pelican_on_a_...
comment 3y ago · link · parent
comment 3y ago · link · parent
There are a few actions that are exclusively client side, like opening a context menu, that I'd use a "sprinkle of JavaScript". There is a recently added htmx attribute "hx-on" that might work well for those cases.
I'd also not discount doing a round trip for some of that. Those GET requests can be very fast and will be cached. Given the poor performance of many SPA's a quick, cache-able GET request might look pretty good.
comment 3y ago · link · parent
As per your development process, if you use htmx you can serve the template files from disk. Then all you need to do is edit the html templates which your backend reads in. No need to rebuild your golang application. For some changes you wouldn't have to reload the page just click the interaction to get the html fragment from the server.
You would need to rebuild your go application if you are changing parameters input into the template but that is conceptually the same as a client side template needing an API change. This also requires a rebuild.
comment 3y ago · link · parent
Really easy to use.
comment 3y ago · link · parent
One bit I've found slightly unintuitive is the swap and settled states. Took my a while to animate in a sidebar how I wanted. It was my fault for not groking it faster but perhaps some more examples or guides in that regard could be useful.
comment 7y ago · link · parent
But who knows what they have up their sleeve for v2...
comment 7y ago · link · parent
Putting in that cache is a great move. Cache is challenging for us as we get hits over a very wide range of keys.
comment 7y ago · link · parent
23.
Joy and Pain of Using Google BigTable(syslog.ravelin.com ↗)
70 points · by jonomacd · 7y ago · 20 comments