{"action":"opened","issue":{"url":"https://api.github.com/repos/sudocurse/reading-list/issues/8645","repository_url":"https://api.github.com/repos/sudocurse/reading-list","labels_url":"https://api.github.com/repos/sudocurse/reading-list/issues/8645/labels{/name}","comments_url":"https://api.github.com/repos/sudocurse/reading-list/issues/8645/comments","events_url":"https://api.github.com/repos/sudocurse/reading-list/issues/8645/events","html_url":"https://github.com/sudocurse/reading-list/issues/8645","id":306972176,"number":8645,"title":"New buzzwords Netlify Embeds Serverless Functionality into Its Web App Development Platform","user":{"login":"sudocurse","id":947518,"avatar_url":"https://avatars3.githubusercontent.com/u/947518?v=4","gravatar_id":"","url":"https://api.github.com/users/sudocurse","html_url":"https://github.com/sudocurse","followers_url":"https://api.github.com/users/sudocurse/followers","following_url":"https://api.github.com/users/sudocurse/following{/other_user}","gists_url":"https://api.github.com/users/sudocurse/gists{/gist_id}","starred_url":"https://api.github.com/users/sudocurse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sudocurse/subscriptions","organizations_url":"https://api.github.com/users/sudocurse/orgs","repos_url":"https://api.github.com/users/sudocurse/repos","events_url":"https://api.github.com/users/sudocurse/events{/privacy}","received_events_url":"https://api.github.com/users/sudocurse/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-20T17:47:18Z","updated_at":"2018-03-20T17:47:18Z","closed_at":null,"author_association":"OWNER","body":"Netlify Embeds Serverless Functionality into Its Web App Development Platform<br>\nhttp://ift.tt/2pvKMFY<br>\n<img width=\"640\" height=\"443\" src=\"https://storage.googleapis.com/cdn.thenewstack.io/media/2018/03/a6345c70-988825c6-netlifylogo.jpg\" class=\"webfeedsFeaturedVisual wp-post-image wp-stateless-item\" style=\"display: block; margin: auto; margin-bottom: 20px;\" data-image-size=\"large\" data-stateless-media-bucket=\"cdn.thenewstack.io\" data-stateless-media-name=\"media/2018/03/a6345c70-988825c6-netlifylogo.jpg\">\n<p>Netlify, the spunky startup <a href=\"https://thenewstack.io/netlify-cms-1-0-production-ready-git-based-non-techie-friendly-content-management-static-sites-single-page-apps/\" class=\"local-link\">built around git-centric workflow</a>, is pushing the envelope once again with the release of Netlify Functions, a tool that makes the deployment of <a href=\"https://aws.amazon.com/lambda/\" class=\"ext-link\" rel=\"external nofollow\">AWS Lambda</a> functions as effortless as adding a file to a project&rsquo;s Git repository. Functions was created to knit together cloud-native microservices and API-driven tools on the back end in an intuitive, front end-friendly way.</p>\n<p>&ldquo;The JAMstack approach, where you have a static front end talking to a dynamic microservices backend, is so powerful and agile &mdash; but the missing piece was always the Lambda or functions integration as an organic part of workflow,&rdquo; said <a href=\"https://twitter.com/chr_bach?lang=en\" class=\"ext-link\" rel=\"external nofollow\">Chris Bach</a>, <a href=\"https://www.netlify.com/\" class=\"ext-link\" rel=\"external nofollow\">Netlify</a> co-founder and chief digital officer, referring to the approach of using JavaScript, APIs and Markup (the &ldquo;JAM&rdquo; in JAMstack) to build dynamic web applications. He explained that the push to create Functions initially came from engineers within the company &mdash; for their own use.</p>\n<p>Netlify decided to focus on AWS Lambda because, he said, they wanted to support an existing system.</p>\n<p>&ldquo;For many devs, Lambda is painful &mdash; setting it up is hard, running it is hard,&rdquo; Bach said. &ldquo;We realized ourselves just how hard it can be after we&rsquo;d decided to use it internally for verification, and our front-end team asked us for that little piece of service.&rdquo;</p>\n<p>Bach implemented a quick Functions prototype for internal use and realized, in the process, that this was, in fact, an essential service lacking in the marketplace. &ldquo;It didn&rsquo;t take very long to get it together, actually,&rdquo; Bach said. &ldquo;What took longer was building the mental model. How it could fit into our service, how to make immutable Lambda that could fit in with API gateways.&rdquo; By October 2017 Netlify Functions was in beta testing, and at work in real life projects for the company &mdash; as well some Netlify clients.</p>\n<p><a href=\"https://www.smashingmagazine.com/\" class=\"ext-link\" rel=\"external nofollow\">Smashing Magazine</a> was one of the first to try Functions, according to <a href=\"http://mathias-biilmann.net/about\" class=\"ext-link\" rel=\"external nofollow\">Matt Biilmann</a>, Netlify&rsquo;s CEO and other co-founder. &ldquo;It&rsquo;s a complex use case &mdash; they lean on <a href=\"https://stripe.com/\" class=\"ext-link\" rel=\"external nofollow\">Stripe</a>&rsquo;s API for subscription payment processing, Mail Chimp&rsquo;s API for marketing and communicating, along with multiple other cloud-based service providers &mdash; but they also needed a little bit of glue to tie their microservices together with our platform,&rdquo; Biilmann said.</p>\n<p>&ldquo;Before Functions, we would still have needed a server-side layer tying this together with custom code, but now all of Smashing&rsquo;s services are united using just 3 different Lambda functions &mdash; across all three, about 600 lines of code,&rdquo; Biilmann continued. &ldquo;Three small independent functions creating a custom backend space. That&rsquo;s it. Everything else is readymade, straight off the shelf.&rdquo;</p>\n<p>Bach jumped back in, visibly excited about the public release of Netlify&rsquo;s Functions service. &ldquo;The real work-life application of serverless event-driven functions is tremendous, and the promise of functions is spreading like wildfire,&rdquo; he said. &ldquo;But all this potential was unreachable until we found a way to make functions integration a simple, even organic, part of the developer workflow.&rdquo;</p>\n<div id=\"attachment_4395074\" class=\"wp-caption aligncenter\">\n<a href=\"https://storage.googleapis.com/cdn.thenewstack.io/media/2018/03/d701109a-netlifyfunctionsscreenshot.jpg\" class=\"ext-image\" rel=\"external nofollow\"><img class=\"size-full wp-image-4395074\" src=\"https://storage.googleapis.com/cdn.thenewstack.io/media/2018/03/d701109a-netlifyfunctionsscreenshot.jpg\" width=\"773\" height=\"624\" data-id=\"4395074\"></a>\n<p class=\"wp-caption-text\">Netlify Functions at work in the dashboard. There&rsquo;s not much more to show, TBH, because the feature is so baked-in and simple.</p>\n</div>\n<p>So in true Netlify fashion, Functions has transformed a previously complicated, even daunting, setup process&hellip;&nbsp;by simply adding a function to a folder in a project&rsquo;s Git repository. Netlify will automatically recognize the function and deploy it along with the rest of the site. Just another folder in your project&rsquo;s git repository pushed from the command line and instantly live (but with complete rollbacks): apparently, the market was more than ready.</p>\n<p>&ldquo;We released the beta and it went through the roof,&rdquo; said Bach. &ldquo;Developer feedback has been tremendous.&rdquo;</p>\n<h3>Conjunction Junction, What&rsquo;s Your Function?</h3>\n<p>Netlify Functions is not the complete developer&rsquo;s fantasy in that it doesn&rsquo;t supply the actual code &mdash; we devs still need to create the AWS Lambda functions themselves, the way we supply Netlify with the client side code. With Functions, Netlify now makes it just as easy to provide dynamic site functionality as it is to spin up a static site through their service: build it, then push from your git repo of choice.</p>\n<p>This means devs without a lot of back end experience can now deploy also Lambda functions. Without the need to interact with AWS&rsquo;s less than friendly UI, struggling to configure API gateways or coordinate deployments. (Actually, you don&rsquo;t even need to set up an AWS account at all &mdash; Netlify even handles that piece, too).</p>\n<p>Asa Smith, a front-end developer in Baltimore, Maryland has previously deployed projects with Netlify and is ready to jump into Functions. &ldquo;I have felt overwhelmed by AWS &mdash; how to set it up, how to access it. The UI is intimidating,&rdquo; he said. Recently, Smith used Google Functions and Firebase to set up a serverless blog project instead &mdash; because &ldquo;It just felt so much easier using Google&rsquo;s interface.&rdquo;</p>\n<p>Smith, who typically builds the client side of his web projects with the <a href=\"https://www.spike.cf/\" class=\"ext-link\" rel=\"external nofollow\">Spike SSG</a>, said he is currently trying to integrate <a href=\"https://www.algolia.com/\" class=\"ext-link\" rel=\"external nofollow\">Algolia</a> search into a client&rsquo;s site. He needs to read the JSON content post-build process, and then write that back to Algolia. &ldquo;The only way I can see to do it with Spike is by using some kind of cloud function unless I want to go learn <a href=\"https://webpack.js.org/\" class=\"ext-link\" rel=\"external nofollow\">Webpack</a> and write my own plugin,&rdquo; he said. &ldquo;I&rsquo;ve been requesting access to Netlify&rsquo;s Functions beta for awhile because it looks like it will do exactly what the project needs, with the ease of use that I need.&rdquo;</p>\n<p>Along with the public release of Functions beta, Netlify is also releasing its <a href=\"https://www.netlify.com/docs/identity/\" class=\"ext-link\" rel=\"external nofollow\">Identity</a> and Forms service out of beta&nbsp; &mdash; two more offerings aimed at easing developers&rsquo; entry into the JAMstack ecosystem.</p>\n<ul>\n<li>Netlify&rsquo;s <a href=\"https://www.netlify.com/docs/identity/\" class=\"ext-link\" rel=\"external nofollow\">Identity</a> feature is a JSON web token (JWT)-based user authentication service that manages sign-ups, logins, password recovery, etc. It can integrate with any service that understands JWTs, and is as simple as writing the JavaScript necessary to wire things up to your site and then turning on Netlify&rsquo;s Identity service. Or you can simply adapt a pre-rolled <a href=\"https://identity.netlify.com/\" class=\"ext-link\" rel=\"external nofollow\">login widget</a> and <a href=\"https://app.netlify.com/start/deploy?repository=https://github.com/netlify-templates/one-click-hugo-cms&amp;stack=cms#_ga=2.109621189.1985692033.1520268158-1359106690.1505249588\" class=\"ext-link\" rel=\"external nofollow\">CMS template</a>, to make things truly turn-key.</li>\n<li>Netlify Forms is a utility for managing forms and other site submissions &mdash; and is dead easy to use. Simply add a netlify attribute to any HTML &lt;form&gt; tag in your site markup, and submissions will be delivered to your Netlify dashboard &mdash; whereupon you&rsquo;ll receive notifications, plus be able to trigger webhooks and redirect submission content to your heart&rsquo;s content.</li>\n</ul>\n<p>Access to all of these features is part of the Netlify platform. Signing up with Netlify takes less than a minute, and you can link your GitHub, GitLab or BitBucket identity instantly. Pricing is tiered, and everything starts out as free. Once a project&rsquo;s usage exceeds the free tier&rsquo;s limits, there is a &ldquo;metered&rdquo; <a href=\"https://www.netlify.com/pricing/\" class=\"ext-link\" rel=\"external nofollow\">pricing system</a> that only charges for what is used.</p>\n<p>&ldquo;We do something we really love, and we want to make the JAMstack as accessible as possible for developers,&rdquo; said Biilmann. Building these new workflows is essential in part, he added, because the front end developer&rsquo;s role is rapidly changing.</p>\n<p>&ldquo;Front-end developers are now moving into backend space with things like approachable functions and microservices. While on the other hand, DevOps is building APIs instead of traditional monolithic backends&hellip;Two ends so far apart once upon a time, now meeting in the middle.&rdquo;</p>\n<p>And, he concluded, Netlify hopes to meet them there, providing that &ldquo;glue layer&rdquo; for fitting all the pieces together.</p>\n<p>The post <a rel=\"nofollow\" href=\"https://thenewstack.io/netlify-embeds-serverless-functionality-web-app-development-platform/\">Netlify Embeds Serverless Functionality into Its Web App Development Platform</a> appeared first on <a rel=\"nofollow\" href=\"https://thenewstack.io\">The New Stack</a>.</p>\n<br>\n<br>\nvia Blog &ndash; The New Stack https://thenewstack.io<br>\nMarch 20, 2018 at 01:20PM"}}
{"actor":{"display_login":"sudocurse"}}