How to implement event driven programming in Spring Boot?
There are several paradigms of programming: Procedural ,Object Oriented , Functional , Event Oriented etc. Each of them comes with their own benefits and disadvantages. Most of the programming done in Java is Object Oriented since the language itself is object oriented. But what if you want to do event driven programming or at the…
How to retrieve values from a Promise in Angular?
I was trying to fetch values from Pouch DB through Angular , based on specific attribute values , say “fetch all records with the name ‘Vijay’”. I faced a difficulty in doing it. Pouch DB has a neat API pouchdb.find() which returns a Promise and not the actual result. It is an asynchronous method. The…