Creare una web application con Spring Boot, MongoDB, Angular 4 e TypeScript e deployarla in cloud come Microsoft Azure Webapp – Parte 2

Qui la parte precedente dell’articolo: Creare una web application con Spring Boot, MongoDB, Angular 4 e TypeScript e deployarla in cloud come Microsoft Azure Webapp – Parte 1

Creare una View

Ora ci spostiamo nel folder “templates” e creiamo un nuovo file HTML che chiamiamo “index.html”. Questa… (Read the full article)

Creare una web application con Spring Boot, MongoDB, Angular 4 e TypeScript e deployarla in cloud come Microsoft Azure Webapp – Parte 1

Spring Boot and Angular 4 Web Application Architecture LayersIn questa nuova serie di articoli vedremo come creare una semplice web application utilizzando Spring Boot come framework di accelerazione per lo sviluppo del back-end e dei servizi REST, MongoDB come database NoSQL e Angular 4, con il supporto di TypeScript, come framework javascript per il front-end.… (Read the full article)

MongoDB aggregation framework query: how to transform documents by applying rules from another collection

On StackOverflow, a user posted this question asking for support to create, with the MongoDB Aggregation Framework, the query that returned his expected result.

The scenario consists of two collections: one that contains documents related to some “statistics” and another that contains… (Read the full article)

MongoDB aggregation framework query: trasformare i documenti applicando regole prese da un’altra collection

Su StackOverflow un utente ha postato questa domanda in cui chiedeva supporto per creare, con l’aggregation framework di MongoDB, la query che restituisse il risultato atteso.

Lo scenario è quello in cui ci sono due collection: una che contiene i documenti relativi ad alcune statistiche e … (Read the full article)

EntityFramework code-first: how to use the “-script” option to avoid the timeout of the “update-database” command

By using EntityFramework in the code-first mode to interact with the SQL database and to map on it the entities of our data model, we will necessarily create a migration every time we want to make a modification and to apply it using an update command.
In this case, the need was to change the DbContext by … (Read the full article)

EntityFramework code-first: usare l’opzione -script per evitare il timeout del comando update-database

Utilizzando EntityFramework in modalità code-first per interagire con il database SQL e mappare su di esso le entità del proprio data model ci si ritrova necessariamente a creare una migration ogni volta che si vuole effettuare modifica e ad applicarla tramite un comando di update.
In questo caso … (Read the full article)

Introduzione a MongoDB, parte 1: installazione server e connessione dalla mongo shell

MongoDB è un database non relazionale (NoSQL) in cui gli oggetti che vengono storicizzati sono chiamati documenti e, per questo motivo, si parla anche di database orientato ai documenti. I documenti sono strutture dati composte da una serie di coppie chiave-valore che rappresentano gli attributi… (Read the full article)

How to create a web application from scratch with Java, Eclipse, Tomcat, Hibernate and PostgreSQL – Part #5

This is the fifth in a series of articles. You can find the previous part here: How to create a web application from scratch with Java, Eclipse, Tomcat, Hibernate and PostgreSQL – Part #4

After having analyzed in the preceding article what are the main errors that might occur in case of incorrect configurations… (Read the full article)