Yan Cui's blog articles

0
comment
on 7/30/2022 2:41 PM
I recently rebuilt the landing page for both AppSync Masterclass and Production-Ready Serverless. The sites were hosted on Shifter (think serverless WordPress) and Wix respectively. In both cases, the performance of the sites (especially on mobile) left a lot to be desired. A large portion of the user traffics to these sites comes from mobile. … 10 performance optimization tips I learned after rebuilding two course landing pages Read More » The post 10 performance optimization tips I learned after rebuil[...]
>> Read the full article
.
0
comment
on 7/30/2022 1:31 AM
As I rebuild the landing page for the AppSync Masterclass I wanted to give this boring “about me” section a facelift. After taking inspiration from other landing pages, I decided to go with something like this. Notice the gradient effect towards the bottom of each image? It provides a nice backdrop and contrast for the … How to add a subtle gradient on top of an image using CSS Read More » The post How to add a subtle gradient on top of an image using CSS appeared first on theburningmonk.com.
>> Read the full article
.
0
comment
on 9/18/2021 3:58 PM
AWS AppSync added support for Lambda authorizers on 30th July 2021 and it made it much easier to implement group-based authorization with 3rd party identity services. Group-based auth with AppSync and Cognito I previously wrote about how you can secure multi-tenant applications with AppSync and Cognito. Where you can use custom attributes to capture the tenant … Group-based auth with AppSync Lambda authoriser Read More » Liked this article? Support me on Patreon and get direct help from me via a private[...]
>> Read the full article
.
0
comment
on 6/6/2021 6:29 PM
With API Gateway and Lambda, you can handle client errors gracefully by returning a 4xx response. module.exports.handler = async (event) => { // run validation logic return { statusCode: 400 } } This way, we can communicate clearly to the client that there’s a problem with its request. It also lets the Lambda invocation complete … How to handle client errors gracefully with AppSync and Lambda Read More » Liked this article? Support me on Patreon and get direct help from me via a private Slack channel or[...]
>> Read the full article
.
0
comment
on 5/8/2021 10:27 AM
It’s been two years since I last wrote about Lambda layer and when you should use it. Most of the problem I discussed in that original post still stands: It makes it harder to test your functions locally. You will still need those dependencies to execute your function code locally as part of your tests. … Lambda layer: not a package manager, but a deployment optimization Read More » Liked this article? Support me on Patreon and get direct help from me via a private Slack channel or 1-2-1 mentoring. [...]
>> Read the full article
.
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper