Let's build a BeeWare app that uses Django with Cheuk Ting Ho

Learn how to build a BeeWare app using Django, Toga, and Briefcase. Create a GUI application with text inputs, buttons, and web views, and deploy it on mobile devices.

Key takeaways
  • Toga is a Python native GUI toolkit that allows you to build a web browser using Django.
  • You can build an application using Toga and deploy it on mobile devices using Briefcase.
  • Briefcase is a tool that allows you to package and deploy your application on different platforms.
  • You can use Toga to create a web page and add elements such as text boxes and buttons.
  • Django is used as the backend for the application.
  • You can use the briefcase dev command to run the application in a development mode.
  • The application can be deployed on mobile devices using the briefcase build command.
  • You can use the pager command to run the application on a simulator or physical device.
  • Toga provides a way to style the application using CSS-like syntax.
  • You can use the toga.box class to create a box widget that is configurable.
  • The application can be customized by adding rows and columns to the box widget.
  • You can use the toga.text_input class to create a text input field.
  • You can use the toga.button class to create a button widget.
  • The application can be packaged using the briefcase package command.
  • You can deploy the application on different platforms using the briefcase deploy command.
  • Toga provides a way to add web views to the application using the toga.webview class.
  • You can use the toga.webview class to create a web view widget that can display a webpage.
  • The application can be configured to use a specific URL by setting the url property.
  • You can use the toga.webview class to create a web view that can handle POST requests.
  • The application can be customized by adding event handlers to the web view widget.
  • Toga provides a way to add a title to the application using the toga.title class.
  • You can use the toga.title class to create a title widget that can display a title.
  • The application can be customized by adding a title to the widget.
  • Toga provides a way to add a url to the application using the toga.url class.
  • You can use the toga.url class to create a url widget that can display a URL.
  • The application can be customized by adding a URL to the widget.

Note: The talk is more focused on the Toga and Briefcase tools and less about Django, so the key takeaways are more geared towards those tools.