In today’s post we are going to open our mind, step away from traditional Java EE / Java SE JPA-based stack (which I think is great) and take a refreshing look on how to access database in your Java applications using the new kid on the block: Slick 2.1 from Typesafe. So if JPA is so great, why bother? Well, sometimes you need to do very simple things and there is no need to bring the complete, well modeled persistence layer for that. In here Slick shines.
A system of record is the authoritative data source when information is scattered among various data providers. When we introduce a caching solution, we automatically duplicate our data. To avoid inconsistent reads and data integrity issues, it’s very important to synchronize the database and the cache (whenever a change occurs into the system).
There are various ways to keep the cache and the underlying database in sync and this article will present some of the most common cache synchronization strategies.
- Why choose Gulp?
- Goals of a good Angular build
- A working build and sample App
- Why use a CSS pre-processor, and why Sass
- The build-css task
- Why use a module system
- Why CommonJs is appealing
- Angular now officially supports browserify
- The build-js Gulp task
- Pre-populating the Angular template cache
- Reducing the number of HTTP requests using sprites
- Why use cache busting?
- Implementing cache busting with gulp-cachebust
- Running tests with Karma
- Code quality with JsHint
- A development web server
Starting an AngularJs project also means choosing a whole toolchain that goes along with Angular. In this blog post we will propose a set of tools that a new Angular project will likely need, and present a simple Gulp build that provides those features. Let’s go over the following topics:
As a long time Eclipse user, I want to give a more serious look to IntelliJ IDEA. The people from JetBrains were very nice and granted me an open source license for the Podcastpedia.org and Codingpedia.org projects. In the post I listed some of the things I use often in Eclipse and their equivalent in IntelliJ. I wrote this post so I can bookmark it and come back to, whenever I forget something, and if it helps others the better.
- Keyboard shortcuts
- Link to editor
- What I really like about IntelliJ
- What I miss from Eclipse