Profile cover photo
Profile photo
Andrea Gazzarini
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live
About
Posts

Post has attachment
Add a comment...

Post has attachment
Add a comment...

Post has attachment
Composing and reusing request handlers: the "Invisible Queries Request Handler"
Here is an extract of an old article [1] on Lucidworks.com by Grant Ingersoll: " It is often necessary in many applications to execute more than one query for any given user query.  For instance, in applications that require very high precision (only good r...
Add a comment...

Post has attachment

Post has attachment

Post has attachment
Randomizing top-n results in Solr
So, after shuffling a bit [1] the top-n search results returned by Solr, you may want to effectively randomize them in a non-repeatable way. Why? I don't know...I'm just enjoying some coding experiment while I'm travelling :) What I want to do is: run a q...
Add a comment...

Post has attachment
Add a comment...

Post has attachment
Shuffling top results with query re-ranking
You built a cool e-commerce portal on top of Apache Solr; brands and shops are sending you their data in CSV and you index everything with a little effort, just a matter of few commands (more than one as the content of each CSV slightly changes between sour...
Add a comment...

Post has shared content
Building a Realtime AngularJS Dashboard Application using Spring Rest and MongoDB

In this multi-post series we will show you how to build a RESTful web service using Spring MVC 4.0.6, Spring Data for MongoDB 1.6.1 so that we can integrate our Realtime Dashboard Web Application with a highly efficient datastore (MongoDB 3.0). This tutorial will be making extensive use of the SIGAR libraries to gather system statistics from the host operating system where the services reside.  Additionally, this tutorial we will walk you through building the web service and NoSQL database backend and illustrate you how to implement some of the CRUD operations.

I will be using AngularJS for the front end, and will be using the Polling Technique or Periodic Refresh Pattern to get statistics from the Web Service via REST calls.  This will be achieved using Angular's $interval service.  More on that later on... 

To further enhance the user experience, we will use AngularJS, jQuery and several different Javascript Charting and Graphing Libraries (Sparkline, NVD3, ChartJS, JustGage, and CanvGuage) to create a visually appealing user interface that is highly efficient and easy to navigate and use.  

http://avaldes.com/building-a-realtime-angularjs-dashboard-using-spring-rest-and-mongodb-part-1/
Add a comment...

Post has shared content
Wait while more posts are being loaded