Doobie Tutorial: Scala, Databases and pure Functional Programming

  Рет қаралды 10,795

Rock the JVM

Rock the JVM

Күн бұрын

Пікірлер: 27
@VitthalMirji
@VitthalMirji 3 жыл бұрын
Daniel I'm waiting for the next part, please upload soon. I can't Thank enough on your effort helping us learn Scala & other FP concepts.
@miloventimiglia8547
@miloventimiglia8547 2 жыл бұрын
This is great! Thanks for complementing the Cats courses with a more practical implementation of these concepts!
@kevalan1042
@kevalan1042 3 жыл бұрын
Nicely done, thanks! A nice "capstone" example here would have been how to combine a read stream and a write stream. For example, read the actor table, and insert for each actor their evil twin into the table, in a streaming fashion.
@rockthejvm
@rockthejvm 3 жыл бұрын
Exercise for the reader :P
@leorandomnickname
@leorandomnickname 3 жыл бұрын
Hey Daniel, could you do a video on your thoughts about Scala's future, how to succeed in industry being a Scala developer, which libraries to study, ZIO vs Cats, etc etc etc whatever you think about Scala in the next years.
@anzo.p
@anzo.p 2 жыл бұрын
Brilliant
@kevalan1042
@kevalan1042 3 жыл бұрын
This is great! Could you do one on Skunk?
@rockthejvm
@rockthejvm 3 жыл бұрын
One at a time :D
@higyedarnold5404
@higyedarnold5404 3 жыл бұрын
Great content 👍🙏
@harelma24
@harelma24 3 жыл бұрын
Thanks Daniel. Cant wait to second part . Is Doobie relevant only to Postgres ? Does it fit to NoSQL like Cassandra ?
@rockthejvm
@rockthejvm 3 жыл бұрын
Doobie is a library for JDBC & functional programming, so Cassandra won't work.
@no_more_free_nicks
@no_more_free_nicks 3 жыл бұрын
I'm in the middle of your Cats Effects course, without taking the Cats course first. I'm progressing at a slow but steady pace.
@rockthejvm
@rockthejvm 3 жыл бұрын
Enjoy! Take your time because the course is tough, but it'll be worth it!
@no_more_free_nicks
@no_more_free_nicks 3 жыл бұрын
When I saw "Actor" I thought you are talking about akka Actors :D
@rockthejvm
@rockthejvm 3 жыл бұрын
LOL
@leorandomnickname
@leorandomnickname 3 жыл бұрын
nice tutorial. I have a question regarding the transactor. Is it supposed to be reused like you do for every query or there is some reason one would create separate transactor in a real production app.
@rockthejvm
@rockthejvm 3 жыл бұрын
Check out the blog for the _real_ thing to use.
@mananoreboton
@mananoreboton 3 жыл бұрын
I'm lazy so I'm not going to search how to do joins. I will wait for chapter 2 😆
@OnurErenElibol
@OnurErenElibol 3 жыл бұрын
I'm very sad that almost every library depends Cats on Scala. This is good for pure FP programmers but I think Scala needs FP + OOP hybrid libraries also. Scala has not a pure FP design and when newcomers like me trying to find a simple DB connector / ORM on Scala have to deal with this interesting, alienish syntax / concepts. This is a very discouraging thing for devs who is trying to learn the language and I think this is why the community is not big yet after years. Scala is a very beautiful hybrid language (best of both worlds) and it really needs hybrid libraries to show its expressiveness. If any newcomers see this comment, please start with Java libraries on Scala. You will see its power. After that try to contribute to libraries in a hybrid way. At least I will try to do like that way.
@rockthejvm
@rockthejvm 3 жыл бұрын
This is why the Rock the JVM channel is here - to make the learning curve easier and smoother.
@OnurErenElibol
@OnurErenElibol 3 жыл бұрын
@@rockthejvm You are doing great work. You have fantastic videos and I should say that it made Scala more approachable for me. But my point is; OOP + FP hybrid programming in Scala should be promoted instead of pure FP. May be (or if you want, I don't know) you can introduce Vert.x, instead of http4s, hibernate instead of doobie etc... or may be both of them. Also the thing is I really cannot find a library in Scala which is written in a hybrid way. If you know you can share them also.
@alaindevos4027
@alaindevos4027 2 ай бұрын
slick is a good alternative
@BloodnutXcom
@BloodnutXcom 3 жыл бұрын
Funny HC and HPS are named "high level" but are actually low level
@rockthejvm
@rockthejvm 3 жыл бұрын
There's (much) lower-level than that - the sql interpolators are just syntax sugars on top of HC and HPS.
@BloodnutXcom
@BloodnutXcom 3 жыл бұрын
@@rockthejvm I know, I'm partly joking as you have called it a lower-level API at 26:00
@funprog
@funprog 2 жыл бұрын
Too much boilerplate for simply Using jdbc the benefits are minimal and performance is slow with all the wraping...
@АлександрВаганов-к6й
@АлександрВаганов-к6й Жыл бұрын
Guys! Could somebody help me, please! Do absolutely the same project, but can not connect to postres catching org.postgresql.util.PSQLException: IMPORTANT: user "postgres" is not authenticated (by password).
FS2: Typed Functional Streams in Scala
18:40
Rock the JVM
Рет қаралды 9 М.
번쩍번쩍 거리는 입
0:32
승비니 Seungbini
Рет қаралды 182 МЛН
She wanted to set me up #shorts by Tsuriki Show
0:56
Tsuriki Show
Рет қаралды 8 МЛН
The Making of an IO - Daniel Spiewak
55:32
ScalaIO FR
Рет қаралды 27 М.
Immutable Data: Your Next Superpower | Let's talk about Scala 3
17:37
Xebia Functional (formerly 47 Degrees)
Рет қаралды 1,2 М.
Simple Scala with Li Haoyi
1:07:34
Scala for Fun & Profit
Рет қаралды 5 М.
Cats with Scala: Essential Type Class Hierarchy, Explained
35:00
Rock the JVM
Рет қаралды 19 М.
A Load Balancer in Scala with Cats Effect and Http4s
37:33
Rock the JVM
Рет қаралды 4,7 М.
Why Applications Are Operating-System Specific
13:09
Core Dumped
Рет қаралды 116 М.
TanStack Query - How to become a React Query God
28:56
Austin Davis
Рет қаралды 20 М.
Pure Functional Database Programming‚ without JDBC - Rob Norris
54:06
Scala Days Conferences
Рет қаралды 11 М.
번쩍번쩍 거리는 입
0:32
승비니 Seungbini
Рет қаралды 182 МЛН