9
Go+AngularJS on GCP +

Golang + AngulaJS on GCP

Embed Size (px)

Citation preview

Page 1: Golang + AngulaJS on GCP

Go+AngularJS on GCP

+

Page 2: Golang + AngulaJS on GCP

Go+AngularJS on GCP

GoLang

GoLang è stato rilasciato al pubblico da Google del 2009

"Go is an open source programming language that makes it easy to build simple, reliable, and efficient software." (cit. golang.org)

Go è stato sviluppato per risolvere i problemi di scalabilità di Google

• scalare su un enorme numero di server • i job giornalieri devono girare su migliaia di

macchine• i job devono coordinarsi tra loro• un sacco di cose da fare tutte insieme

Page 3: Golang + AngulaJS on GCP

Go+AngularJS on GCP

AppEngine

AppEngine è una PaaS fornita da Google che permette alle nostre app di struttare le potenzialitàdell’infrastruttura Google, fa parte dei servizi della Google Cloud Platform

"Google App Engine lets you build and run applications on Google’s infrastructure." (cit. google.com)

Linguaggi supportati:• Java • PHP• Python• Go

Page 4: Golang + AngulaJS on GCP

Go+AngularJS on GCP

Cloud Datastore

Cloud Datastore è un servizio di storage NoSQL fornito da Google per tutte le applicazioni che giranosu Google Cloud Platform.

"Cloud Datastore is a highly-scalable NoSQL database for your applications." (cit. google.com)

Caratteristiche:• Gestione automatica delle repliche• Autoscaling• Transizioni ACID• Query in SQL-Style • Fully managed

Page 5: Golang + AngulaJS on GCP

Go+AngularJS on GCP

AnguarJS

AngularJS è un framework JavaScript sviluppato da Google per poter sviluppare più velocementesingle-page applications.

"AngularJS is a toolset for building the framework most suited to your application development. It is fully extensible and works well with other libraries. Every feature can be modified or replaced to suit your unique development workflow and feature needs. Read on to find out how." (cit. angularjs.org)

Page 6: Golang + AngulaJS on GCP

Go+AngularJS on GCP

Android

Android è il sistema operativo per dispositivi mobili, sviluppato da Google e giunto recentemente alla sua sesta reincarnazione con Android 6.0 Marshmallow.

"Android is a mobile operating system (OS) currently developed by Google, based on the Linux kernel and designed primarily for touchscreen mobile devices such as smartphones and tablets." (cit. wikipedia.org)

Page 7: Golang + AngulaJS on GCP

Go+AngularJS on GCP

Demo• Raccolta di post (tipo blog)• Front-end in AnguarJS• Backend in Golang• Dati su Datastore• Utilizzo di AppEngine• Autenticazione tramite User API• Template HTML+AngularJS

+

Applicazione Android che mostra i Post sul nostro dispositivo mobile

Page 8: Golang + AngulaJS on GCP

Go+AngularJS on GCP

Guardiamo il codice!

Page 9: Golang + AngulaJS on GCP

Go+AngularJS on GCP

Grazie per l’attenzione

Email: [email protected]: gabrielebaldoni.altervista.orgTw: @gabry

Gabriele Baldoni

Contatti:

Email: [email protected]: andreabattaglia.altervista.org

Luca Bonaccorsi

Email: [email protected]: www.morpheos.eu

Andrea Battalia