Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

what is the relationship between Ring and Pedestal - do I need to know Ring to use Pedestal?

I was led to believe that Pedestal is a replacement for Ring however from all the examples I see that Pedestal actually uses Ring. This is most confusing! Do I need to know and understand how Ring works in order to use Pedestal effectively. In essence, does Pedestal 'stand on the shoulders of Ring' or is it intended to replace it completely?

like image 877
Zuriar Avatar asked Apr 07 '16 15:04

Zuriar


1 Answers

According to crossclj.info (search for ring/) ring/core is a dependency of pedestal.service - therefor I'd say to:

relationship between Ring and Pedestal ?

ring/core is a dependency of io.pedestal/pedestal.service


Specificly it seems to use ring for its interceptors and on pedestals' doc it mentions The ability to utilize Ring Middleware as Pedestal Interceptors.

Imagine you have some ring handlers already, you can use them as Pedestal Interceptors, but if you do not, you a free to not use them.

(Disclaimer: I neither used Ring nor Pedestal - just perused the doc)

like image 72
birdspider Avatar answered Sep 22 '22 11:09

birdspider