React to Python: Creating React Front-End Web Applications with Python
by: John Sheehan
Publisher finelybook 出版社: JennaSys (May 5,2021)
Language 语言: English
Print Length 页数: 418 pages
ISBN-10: 1736574701
ISBN-13: 9781736574706
Book Description
By finelybook
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