Spock is a powerful Groovy-based framework that makes testing applications written in Java (as well as Groovy, Kotlin etc.) a very pleasant experience. Because it’s built on top of good ol’ JUnit, it integrates well with most of the existing test/build tooling. However, making it play nicely with the testing infrastructure of Spring framework (especially Spring Boot) used to be a bit tricky. Luckily, the latest Spock version 1.1 comes with a few improvements that make testing Spring apps (including mocking) easier.
They say a picture is worth a thousand words. I would say that a great talk is worth ten times more than that. Especially if you are a beginner looking for their way into a new topic. One such topic is functional programming, with its endofunctors, lambda calculus and set theory.
Luckily you don’t have to have a PhD in mathematics to approach functional programming, because we selected few talks to get you started. These range from a total beginner to slightly advanced, but all of them explain their topics in a very approachable language. So don’t worry and dig in!
Since the dawn on Android development, there have always been efforts to use some of the alternative JVM languages instead of plain Java. But given the constraints of the mobile world, most of them faced issues that prevented them from receiving large adoption. Kotlin, a new language developed by JetBrains with Android in mind, aims to change this.
Již je tomu několik let, co Amazon v rámci svého cloudového řešení AWS představil DynamoDB. DynamoDB je Amazonem plně spravovaná dokumentová NoSQL databáze. Možná nenabízí zásadně nové věci ve světě NoSQL databází, přesto má některé vlastnosti, kvůli kterým se o ní vyplatí uvažovat (Zvlástě pokud již Amazon AWS aktivně používáte).
Začátkem roku 2014 proběhl průzkum, ve kterém se komunita měla vyjádřit k tomu, co by se mělo stát součástí Java EE 8. Více než 60% respondentů odpovědělo, že Java EE by mělo podrorovat vedle JSF i jinou formu MVC pro webové aplikace [1].
Následně započaly práce na JSR-371 nazvaném MVC: Model-View-Controller API [2]. A právě na nové MVC API se v tomto článku podíváme.
Java nám ve verzi 8 dala částečně přivonět k funkcionálnímu programování - nadšeně jsme tedy přešli z features které nám poskytovala Guava na nativní možnosti. Ale na jak dlouho nám budou stačit? Na poli funkcionálních knihoven se objevil nový, silný hráč - Javaslang.
Je React Native ta správná cesta pro vývoj mobilních aplikací? Pokud to chcete zjistit, přijďte na přednášku.
React JS už je tady delší dobu a osvědčil se jako jedna z možností frontendového vývoje. Jeho mladší bráška Native je tu teprve chvilku, ale vypadá jako celkem zajímavé řešení pro vývoj mobilních aplikací. Na přednášce se na to podíváme více z blízka a budeme rádi pokud taky dorazíte.
24. listopad 17:00-20:00
Krakovská 9, Praha 1
Více informací na Facebooku.
I had a some time this weekend and was exploring the ways we could improve our javascript unit tests. The one thing I do not really like about angular unit testing is too much boilerplate code. Probably you all know something like this:
|
|
It’s not very exciting. Sure, you could create some level of abstraction above it and reuse it in all your tests, but it’s not so trivial and probably need significant amount of time to implement.
And here is a little utility library ng-describe to help.
There is the trend in last years chasing the high application availability. It’s really rare to see our application working in vacuum, more often it’s using another couple of services its depends on, aggregating and transforming their contents. And sloppiness any of these could really hurt performance of the whole. The last thing you want in this situation is to leave your application waiting for response from slow service and waste the valuable cpus cycles and blocking threads. The Java language try hard to provide us with tools of trade: Fork/Join framework was added to Java 7 and Parallel Stream to Java 8. All of them help us to be more productive working in highly concurrent environment by creating the right level of abstraction that makes our work more easy and less error prone. In this article I’ll try to introduce you the new concept of CompletableFuture in Java 8.
Na začátku byla poněkud zvláštní chyba, která se vyskytovala náhodně na různých serverech našeho aplikačního clusteru (cca 10 strojů) v různých časech. Na konci byla funkční instalace Graphite a jednoduchý nástroj pro nahrávání historických dat do Graphite napsaný v Groovy.