Tagged: ktor

Developing a Finance Management Website #5

Enhancing our Entities Let’s talk about Finder. It’s a feature from Ebean that allow us to enhance our entity with methods that will handle querying the database for that specific entity. With Kotlin, we can use it as a companion object to really make our life easier. Let me show you: Now my Script entity will have methods like all(), query(), byId(), update() and many more. Take a look on the someExamples function on the Gist above, pretty easy right? You could even create a ScriptFinder class extending Finder and create your own queries. In my case, I rather just...

Developing a Finance Management Website #4

UML to Entity Hello everyone and welcome back. On today’s post I’m going to continue the development of a finance management website. For those who are just finding me, this is not your usual tutorial. This is a log of sorts of my activities and thinking while I develop this application. You will find novice to advanced information here and it will come slowly because, most of all, I want to log my thinking and practice writing. Our entities On my last post I guide us on creating a Ktor project. If you wanna have a look, it’s here and...

%d bloggers like this: