Profile cover photo
Profile photo
Alex Staveley
63 followers
63 followers
About
Posts

Post has attachment
OAUTH 2.0 Authorisation Code Grant
OAuth 2.0 provides a number of security flows (or grant types) to allow an application access user's data in another application.  In this blog, we will look at the OAuth 2.0 grant: Authorisation Code Grant. Firstly, a number of definitions: Client : The ap...
Add a comment...

Post has attachment
Java Lambda Streams and Groovy Clouses Comparisons
This Blog post will look at some proverbial operations on List data structure and make some comparison between Java 8/9 and Groovy syntax.  So firstly, the datastructure.  It's just a simple Rugby player who has name and a rating. Java class RugbyPlayer {
...
Add a comment...

Post has attachment
Scala Syntax: 7 points
A few years back I dipped into some Scala as a hobby language.
Recently, in order to get a quick overview of Spark I did
'Big Data Analysis with Scala and Spark' from Coursera It's a great course. But, one aspect I found challenging was just getting my h...
Add a comment...

Post has attachment
And some more REST tips
In previous blog posts I have covered some ideas and tips for achieving a REST architecture. In this post, I cover a few more ideas and tips. Caching Caching is a big part of the original dissertation.  See section 5.1.4  Strategies include validation ( cl...
Add a comment...

Post has attachment
REST: Useing a Controller endpoint?
In general REST architectures, the fundamental concept is a Resource.  After Resources, the next thing is to develop a Uniform Interface to these resources, which in HTTP land usually means: Create is POST  Read is GET  Update is PUT (or PATCH for Partial U...
Add a comment...

Post has attachment
Testing your code with Spock
Spock is a testing and specification framework for Java and Groovy applications. 
Spock is: Extremely expressive  Facilitates the Given / When / Then (https://martinfowler.com/bliki/GivenWhenThen.html) syntax for your tests  compatible with most IDEs, build...
Testing your code with Spock
Testing your code with Spock
dublintech.blogspot.com
Add a comment...

Post has attachment
When a REST Resource should get its own Address?
Background  Author's note:  In a purist REST approach, all endpoints (except the starting endpoint) are opaque and their various details shouldn't need to be published.  Even if this approach is being used, the points in this article are relevant as Server ...
Add a comment...

Post has attachment
Are you forgetting your Agile values?
A while back I wrote why sometimes Agile will fail.  In this post, I will focus on the specific misunderstandings of Agile values.   When people ask if you're Agile, they basically think: Do you have stand ups? Do you have retrospectives? Do you have storie...
Add a comment...

Post has attachment
More Fail early - Java 8
Fail fast or Fail early is software engineering concept that tries to prevent complex problems by stopping executing as soon as something that shouldn't happen, happens.   In a previous blog post and presentation I go more into detail about this idea, in th...
Add a comment...

Post has attachment
Book Review: RESTful Web Clients
Another great book from O'Reilly ref: REST.  RESTful Web Clients is written by guru Mike Amundsen who amongst other things co-authored RESTful Web APIs with REST guru Leonard Richardson and Sam Ruby . The book's primary focus is on the hypermedia aspect of ...
Add a comment...
Wait while more posts are being loaded