Přeskočit na hlavní obsah

OBJEVTE, PŘIPOJTE SE, ZVĚTŠUJTE SE

Microsoft Reactor

Připojte se k Microsoft Reactoru a živě se obraťte na startupy a vývojáře.

Jste připravení začít s AI? Microsoft Reactor poskytuje akce, školení a komunitní zdroje, které pomáhají začínajícím podnikům, podnikatelům a vývojářům rozvíjet své další podnikání na technologiích AI. Připojte se k nám!

OBJEVTE, PŘIPOJTE SE, ZVĚTŠUJTE SE

Microsoft Reactor

Připojte se k Microsoft Reactoru a živě se obraťte na startupy a vývojáře.

Jste připravení začít s AI? Microsoft Reactor poskytuje akce, školení a komunitní zdroje, které pomáhají začínajícím podnikům, podnikatelům a vývojářům rozvíjet své další podnikání na technologiích AI. Připojte se k nám!

Zpět

Cultivate a Python Flask webserver and bring it to life with Azure! Ep 1

2 srpna, 2022 | 6:00 dop. - 6:30 dop. (UTC) Koordinovaný univerzální čas

  • Formát:
  • alt##LivestreamLivestream

Téma: Kódování, jazyky a architektury (včetně kódování GitHubu a AI)

Jazyk: Angličtina

This month in the Code Garden, Renee will show you how to grow your very own Python Flask webserver and deploy a website with Azure Apps service.

Week 1: Build a webserver with Python Flask! Create routes and serve HTML templates to make a dynamic web experience. Learn about GET requests, and how to serve up personalised sites.

Week 2: Take the Python Flask site we built last week and deploy it on the internet for all to see, with Azure Apps Service. Then make it your own by adding a custom domain.

Week 3: Web Servers are more than a way to serve up sites, you can use them to built your own APIs too! Learn how to use POST requests and see how you can return more than just HTML to make a useful service for yourself or others.

In this episode we'll go through how to get started with Python Flask to make a simple website. I'll talk about when you need a webserver and why (compared to July's static web page series), and give you the Flask tools you need to create routes, and design HTML templates. You'll also get an understanding of GET requests, and how to process and use information in them when serving back webpages.

Chapter Markers
3:22 - Why we need a web server - Learn when GitHub pages or Azure static apps isn’t' enough to create your dynamic site.
8:49 - Today's project demo - See today's Flask ap we'll make - an Acrostic Poem generator
10:04 - Set up our repo - Get ready with a new git repo on GitHub
14:04 - Build a Flask Server - Fast! - Set up your first route in Flask
19:00 - Templates in Flask - Create a template with variables and If statements
26:03 - Query strings - How information is sent in GET requests
33:45 - Adding more routes and for loops for our poem - Add an acrostic poem page that uses a for loop to generate HTML for a list of adjectives.
45:35 - Next week - Deploy your Flask app, next week!

Additional Resources:
https://aka.ms/pythonintallvscode
https://aka.ms/visualstudiocodequickstart
https://aka.ms/learnmodulesvscode

Your speaker:
Renee Noble
Renee is the Regional Cloud Advocate for the Sydney Reactor and the Australia region. She's passionate about technology, education, community, and bringing them all together in-person and online. A self-proclaimed "Jane of all trades", Renee has worked in sectors across tech, outreach, and education. She's worked in ML and web development in the past, dabbles in embedded tech, and is always keen to learn more! Renee is a passionate woman in tech advocate, spending her spare time leading the Girls' Programming Network to support women and girls in tech. She also runs her own business, ConnectEd Code, working to bring exciting coding opportunities to kids and teachers. Beside teaching and tech she loves swing dancing, cats, and having a ridiculous number of plants.

Reproduktory

Související události

Níže uvedené události by vás mohly také zajímat. Nezapomeňte navštívit naše Domovská stránka reaktoru a zobrazit všechny dostupné události.

Pokud máte dotazy, kontaktujte nás na adrese reactor@microsoft.com