The final day of Google I/O 18 consisted of a few talks including Node.js, Server less deployment, Tensorflow, Android Security, etc. It’s been an amazing three days of awesomeness with a lot of announcements and new kits for developers to build amazing products. Let’s get to the highlights from Day 3 at Google I/O 2018.
Deploying Serverless Node.js Microservices
Myles Borins and Steren Giannini gave a talk on Deploying Serverless Node.js microservices.
They announced that in a couple of weeks, Node.js will start running on Google App Engine. Developers would be able to deploy a Node.js app easily to Google Cloud. The Node.js app would simply have an app.yaml file that specifies the runtime. And then the developer can run gcloud app deploy. That’s it!
TensorFlow without a PhD
This talk gave techniques about deep reinforcement learning with TensorFlow. There was a demo of a pong game driven by a neural network. There was also a demo of an animation character that learned how to move and jump via machine learning exposed by TensorFlow.
The tools for the demo included were :
- TensorFlow for the models
- Google ML engine for the training
- Tensorboard Visualization Kit
Search Friendly JavaScript-powered Websites
Several tips for building search-friendly JavaScript-powered websites were given in this talk. Tools such as Puppeteer and Rendertron were recommended for dynamic rendering. The rendering of JavaScript-powered websites in Google search is deferred until Googlebot has resources available to process that content.
The Key Tips
- Add a robot.txt to the top level domain of the site which specifies the URLs to crawl and not to.
- Use good URLs such as example.com/about rather than fragmented URLs such as example.com/#home.
- Use consistent URLs for the same page.
- Add the critical metadata such as canonical links, viewport, title and description of each page, etc.
- Use href elements when linking between pages. Don’t use non-semantic elements such as <div onclick=goTo(‘/contact’)></div> if you don’t have to!
With Google I/O 2018 coming to an end we are stoked for all the great things that will be rolled out in the coming months.
Knowledge thats worth delivered in your inbox