Angular and Go Navneet Karnani Mandrake Technologies
Prerequisites - Audience is smart and understands programming - Ability to use Google - Audience is looking for takeaways to be things not found on blogs
Scope • Understand the concepts behind building web applications with Go • Understand the building blocks for Angular
Strategy • Continue with the Multiplication table example from the previous presentation “The Go Way” • Keep it Simple and Stupid • Use Go 1.6 and Angular 1.5 ( both in production )
What are we building - Go based Web Server • Understand hosting a web server • Understand Request Handlers • Define REST APIs • No Parameters • Parameters in URL • Session state
What are we building – Angular Client • Single Page Application • Use published APIs • Demonstrate • Templates with single values • Navigation with static routes • Templates with Tables / Loops • Navigation with dynamic routes
code
STEP 1 : http.handler interface
STEP 2: using the default handler
STEP 3: return JSON values
STEP 4: build the api
STEP 5: Angular
STEP 6: Angular - HTTP
STEP 7: Angular – FORM, Navigation
https://github.com/navneetkarnani/Presen tation-TheGoWay Code
Thank You Navneet Karnani, navneet@mandraketech.in, @maakhansingh

App using golang indicthreads

Editor's Notes

  • #3 Rune maps to a Unicode character