
React to Python
Description
Alles über E-Books | Antworten auf Fragen rund um E-Books, Kopierschutz und Dateiformate finden Sie in unserem Info- & Hilfebereich.
Learn to create responsive front-end web applications in Python using the React and Material-UI JavaScript libraries without having to program in JavaScript! How is this possible? By using the Transcrypt transpiler that turns your Python code into JavaScript.
Let's face it, JavaScript is the way of the web, and Python doesn't run in a web browser. BUT, just like the popular TypeScript language that gets compiled into JavaScript to run in a web browser, Transcrypt does the same thing for Python. Because of the way Transcrypt maps Python data types and language constructs to JavaScript, your Python code is able to directly utilize the full ecosystem of JavaScript libraries that exist, taking advantage of existing web application technologies rather than trying to replace them.
Using a Python-centric viewpoint, this book outlines the developer tools and software libraries needed to develop front-end web applications with Python, specifically focusing on the popular React library and open-source Material-UI library that includes a collection of React components based on Google's Material Design user interface specification. In addition to chapters covering how to implement specific application features, in a learn-by-doing fashion, the last section of the book walks you through building a fully functional example application from start to finish, giving you an idea of how everything fits together.
While this book isn't necessarily meant for beginning programmers, if you are already familiar with Python and want to create front-end web applications but don't want to have to delve into the complexities of a full JavaScript ecosystem, don't want to have to keep switching back and forth between languages for the same full-stack application, or if you just don't care to program in JavaScript in general, the approach taken in this book gives you another option using Python.
More details
Person
Content
Part 1 - Getting Started
- Introduction
- First Application
- JavaScript Functions
- Sourcemaps
- Intro to React
- React Concepts
- Cleaner Code
- Managing JavaScript Packages
- Package Bundler
Part 2 - Building Blocks
- Text Input
- Lists
- Forms
- React Components
- JavaScript Examples
- CSS
- Material-UI
- Parcel Web Proxy
- Asynchronous Requests
- React Context Hook
- Transcrypt Miscellany
- Application Versioning
- Google Analytics
- Developer Tools
Part 3 - Putting it all Together
- Project Outline
- Environment Setup
- Landing Page
- Modal View
- REST Service
- Books
- Menus
- User Login
- Lookups
- User Context
- Editing Lookups
- Filtering Data
- Editing Books
- SPA Redirect
- Deploying the Application
System requirements
File format: ePUB
Copy protection: Adobe-DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Install the free reader Adobe Digital Editions prior to download (see eBook Help).
- Tablet/smartphone (Android; iOS): Install the free app Adobe Digital Editions or the app PocketBook before downloading (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (not Kindle).
The file format ePub works well for novels and non-fiction books – i.e., „flowing” text without complex layout. On an e-reader or smartphone, line and page breaks automatically adjust to fit the small displays.
This eBook uses Adobe-DRM, a „hard” copy protection. If the necessary requirements are not met, unfortunately you will not be able to open the eBook. You will therefore need to prepare your reading hardware before downloading.
Please note: We strongly recommend that you authorise using your personal Adobe ID after installation of any reading software.
For more information, see our ebook Help page.