O'Reilly logo

DevOps for Serverless Applications by Shashikant Bangera

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Keep the handler independent of business logic 

It is always advisable to keep business logic outside the handler because this will decouple our business logic from the lambda function runtime environment, reuse the business logic functions, and make it easier to test our written unit test, as we discussed earlier in the chapter. 

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required