Skip to main content

Posts

Showing posts with the label lambda

Insider's Guide to Udacity Android Developer Nanodegree part 7-Full Stack Android

Yes, the final stage of the Capstone and graduation, the endless sense of relief. It was challenging, it was hard, but in the end everything worked out alright and I gained my Android Developer Nanodegree. So what did I think of the whole experience. If you just want to know my final thoughts on a year-long course of study turn to the last page. At the final stage it wasn't just a Capstone project that spanned the narrow boundaries of developing for Android only. It also required work on the infrastructure as the Android app would have to communicate with the backend Digital Ocean VPS hosting the data. So in this final part of the  Insider's Guide To Udacity Android Developer Nanodegree   I'm not just going to go through the building of a mobile app, looking into the topics of Fragments, Loaders, AsyncTasks, Retrofit network calls, GSON parsing and Memory leaks, only.I'm also going to go through the work that took place server side, looking into Web based MVC, H...

Graphcool Eases Your Way Into GraphQL

GraphQL, dubbed by many as REST's successor, is a query language in which you can query database driven, JSON schema-exposed APIs. The problem is that because it is so different from REST, getting the hang of GraphQL when starting out is not that easy. But why go the trouble now that there are cloud-based FaaS (Framework as a Service) services such as Graphcool which take the pain out of the process of setting up, configuring, running and testing your GraphQL backend? Graphcool is a newly established GraphQL backend for mobile and web developers that lives on the AWS cloud: Data is persisted in a high-availability cluster of AWS Aurora databases combined with a Redis-powered caching layer. Files are securely stored in Amazon S3 and can be accessed through a fast CDN. Business Logic is implemented as serverless functions and deployed to AWS Lambda. Website Hosting uses Netlify's CDN. and lowers the entry barrier in getting into GraphQL. With Graphcool you don...

Insider's Guide To Udacity Android Developer Nanodegree Part 2

Continuing the journal charting my progress through Udacity's course for intermediate Java programmers, we come to the second module - the final stage of project Popular Movies. Here we add  functionality to produce a fully featured application that looks and feels natural on the latest Android operating system. But before that, let's do a short recap on what we've accomplished in Stage 1 . Up to this point, our application can : Fetch data from the Internet with theMovieDB API. Use adapters and custom list layouts to populate list views. Incorporate libraries to simplify the amount of code you need to write. Present the user with a grid arrangement of movie posters upon launch. Allow your user to change sort order via a setting; the sort order can be by most popular or by highest-rated. Allow the user to tap on a movie poster and transition to a details screen with additional information such as: original title, movie poster image thumbnail, a plot syno...

Google Goes Serverless with Cloud Functions

The view that serverless is the way of the future is once more reinforced by Google's recent announcement of its Cloud Functions for Firebase. These can be seen as an attempt to catch up with the already established players of the Function-as-a-Service scene, AWS Lambda and Azure Functions. more info on i-programmer

AWS Lambda For The Impatient Part 2

In the first part of the AWS Lambda for the Impatient tutorial series we set to create our very first lambda function and call it through an open, public, unrestricted and unauthenticated endpoint.This time around we add security so that calling our lambdas will require the client to authenticate through an IAM Role and User name. Step 1 - Create a new Lambda function and API Gateway endpoint As happened in the first part, we create a new lambda called lambda_basic_execution_helloWorldNodeJS but with the added suffix of _auth.  So that we can tell it apart, call it lambda_basic_execution_helloWorldNodeJS_auth . Despite the name change, the function's code remains the same as last time: use strict'; exports.handler = (event, context, callback) => {  console.log('Received event:',                  JSON.stringify(event, null, 2));  var inputObj = JSON.parse(event["body"]); ...

Apress "Java Closures and Lambdas" book review

A book that sets out to introduce programmers to the Functional Programming mindset looking through the eyes of Java. What will you get out of it? Although the emphasis is on lambdas, in this book Robert Fischer places them into the wider perspective of Java 8 which revolutionizes Java, adjusting its foundations by shifting from the pure OOP model to incorporate the functional one as well.  Lambdas of course lie at the epicenter of that revolution, responsible for the move from a conservative Java to a more succinct, versatile and performant programming paradigm.  This might be uncharted territory for Java, but not so for other languages, such as Perl. The author himself is a veteran Perl programmer who had long ago discovered Perl's functional programming (FP). His book is therefore a testimony to Perl's clairvoyance and innovative thinking that others re-discover many years, even decades, later. And that is the book's aim, to familiarize the Java programm...