Open in app

Sign In

Write

Sign In

Navid Ghahremani
Navid Ghahremani

28 Followers

Home

About

May 8, 2021

Micronaut vs Spring Boot

This time a proper fight :) Finally, I got the chance to look into Micronaut around a year ago (Before the pandemic); I started a project, to be more accurate, I started converting a Spring Boot application to a Micronaut application. In the beginning, it was kind of hard to…

Spring

4 min read

Spring

4 min read


May 7, 2021

How did I learn Android Clean Architecture, Dagger2, and Retrofit?

The story that I am telling you today is more like guidance than technical coding. I heard about Clean Architecture in a meetup a while back ago, and I was wondering how would it be if I could bring it to one of my personal projects. I researched about it…

Clean Architecture

5 min read

How did I learn Android Clean Architecture, Dagger2, and Retrofit?
How did I learn Android Clean Architecture, Dagger2, and Retrofit?
Clean Architecture

5 min read


Mar 27, 2020

Android custom view lifecycle with dependency injection as a bonus

Today, I am going to show you how to add the activity lifecycle to a custom view alongside supporting dependency injection. Lifecycle is important to pause/resume data retrieving or any calculation while the activity is active/inactive. Views have their own lifecycle and it has lots of hassle to bind it…

Dagger 2

4 min read

Android custom view lifecycle with dependency injection as a bonus
Android custom view lifecycle with dependency injection as a bonus
Dagger 2

4 min read


Jan 22, 2020

Extending Default Spring Data Repository Methods (Patch Example)

Coming back with another Spring trick written in Kotlin and Reactive Programming. TL; DR. Today, I will show you how to extend Spring Data repositories without implementing it every time in our repository interface. If you do not want the details, here is the gist: https://gist.github.com/ghahramani/c3c1f99097ceabb766a0060a6f96ab64 Disclosure: I wrote all codes in Kotlin…

Spring Data

3 min read

Extending Default Spring Data Repository Methods (Patch Example)
Extending Default Spring Data Repository Methods (Patch Example)
Spring Data

3 min read


Jul 6, 2019

Global Error Handling In Webflux (Reactive World)

Finally, I am writing another short article that might help a lot of developers. I would like to talk a little bit about how we can handle errors (Exceptions) and turn them to unified JSON response in Spring Webflux which is reactive. If you do not want to go to…

Reactive Programming

2 min read

Global Error Handling In Webflux (Reactive World)
Global Error Handling In Webflux (Reactive World)
Reactive Programming

2 min read


Jun 6, 2018

Pageable and Sort in Webflux

I recently started a project with Spring boot (2.0.2.RELEASE) and Webflux in Kotlin and when I tried to use Sort type in my resource/controller, surprisingly, I noticed that Webflux does not support Pageable and Sort at the time of writing this. I started to search and search and search, finally, I found this link, there is an on-going effort. So I had to come up with a solution and after digging into spring core, I found a hacky/ugly solution. So I just wanted to share it with you in case someone is looking for it. Feel free to share your idea about improving the code. Here is the gist.

Spring Boot

1 min read

Pageable and Sort in Webflux
Pageable and Sort in Webflux
Spring Boot

1 min read

Navid Ghahremani

Navid Ghahremani

28 Followers

Technical Leader / Senior Software Engineer

Following
  • Barack Obama

    Barack Obama

  • Daniel Bryant

    Daniel Bryant

  • Hossein Abbasi

    Hossein Abbasi

  • Skyscanner Engineering

    Skyscanner Engineering

  • billydharmawan

    billydharmawan

See all (55)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech

Teams