nice talk! seeing this code written in strings in HTML tags sets off alarm bells in my head but I thought the same when I found out about Tailwind so I'll keep an open mind
@wiverson3 жыл бұрын
Yeah, there is a whole HTML-over-the-wire, DOM-is-the-DOM centric view that's very different from a React-style JS builds everything model. I'm finding that for virtually everything I'm building nowadays HTMX+Alpine.js works better, but YMMV.
@ownagejuice13943 жыл бұрын
what was Will Iverson's game? I wanna check it out
@ChangeNode2 жыл бұрын
store.steampowered.com/app/1208980/BlazeSky/ - sorry, just noticed the comment
@Spaaich2 жыл бұрын
Hi Will, can't find the slides for this talk ? can you post the link please ?
@@ChangeNode Thank you very much. I'm interested in the '"not repeating but rhyming" slide, I was curious to see what is for you the current go-to stack for database access/ORM. I can see Mybatis but can't see the rest. unfortunately the pdf slides dont show it either.
@ChangeNode2 жыл бұрын
@@Spaaich Java -> Spring JPA w/Hibernate as the underlying ORM. spring.io/guides/gs/accessing-data-jpa/ Biggest advice - keep you object/table mappings very simple. Do caching at the Spring layer with www.baeldung.com/spring-cache-tutorial and avoid the 2nd level cache in Hibernate. For JavaScript/TypeScript I think the current best ORM is www.prisma.io/ but there are a few others.
@Spaaich2 жыл бұрын
@@ChangeNode Thanks Will, I thought you'll mention Mybatis as it was on your slides :) Actually my company has a big legacy app that uses an obsolete version of ibatis from 2008, it's used mainly to map calls to complex stored procedures. I intend to migrate it into Mybatis by writing an xslt template that will transform hundreds of xml mapping files into java mappers with annotations. I was thinking that Hibernate is an overkill in my case because it will need a decent refactoring of the database model/tables in order to fit Hibernate entity/repository pattern. What do you think ? and sorry for hijacking your "front end" video comment section to ask about ORM :)
@ChangeNode2 жыл бұрын
@@Spaaich lol no worries. Sure, MyBatis is fine for that and will likely be easier to migrate to from ibatis. Make sure you have a bunch of test cases to make the migration go easier. :). That said JPA absolutely works with stored procs tho and might be easier, depends on what you need. www.baeldung.com/jpa-stored-procedures and look at the last example.