Wednesday 23 November 2016

Web Components @ scale - my topic at the DevFest 2016 conference in Warsaw, Poland

Hi developers.

I'm proud to be a speaker at the DevFest 2016 conference in Warsaw, Poland.
The conference is this Saturday in Praha Cinema. My topic will be about building web applications that scales using web components. I’m going to talk about development workflow with web components, using platform over frameworks and how Polymer 2.0 is shifting from being framework to being support library for web components removing all framework alike functions.


The Advanced REST Client application is now a Polymer - or rather web component - application. For last year I managed to rebuild the app from GWT framework to web components. I have also an experience in other apps build with Polymer. But the case of ARC showed me that wrong architectural approach - even with web components - may end up with building another monolith that just use another framework. But web components are made to be a real building blocks of modular application.

If you are in Poland at the time I strongly encourage you to be at the conference. Many great speakers are managed to be there and many great talks are being prepared. If you will, just say hi to me :)

See you at DevFest!

Wednesday 2 November 2016

PouchDB read optimisation - reducing time of data queries

Recent ARC version has so called API assistant. It's a helper program which queries history data for relevant information when the URL or HTTP method changed. It reads history of requests made to particular method (meaning endpoint and method) and analyse the statistics data about this method like connection time or response size.

Recently I was asked how it will behave when the app stores a lot of data. I mean hundreds of thousands of records. Then it occurred to me that I haven't performed test for this amount of data. It started a series of changes in the code of the assistant which finally allowed me to shorten database query time by 98.52%!

Tuesday 1 November 2016

Variables and environments in the Advanced REST Client

New release of version 8 brings new feature to the app. It's a variables and environments editor. It is an extension to already existing "magic variables" feature introduced in 2012. Earlier you could set a limited number of keywords to generate numbers in any part of the request. Now own variables can be defined  in the app and assigned to environment. During the request the value of the variables will be applied in place where the variable was used.