Brython: Real Python

 


Brython stands for 'Browser Python' and is Python's implementation of JavaScript. In a way, Brython is a Python-to-JavaScript compiler. It lets you write client-side code in native Python and compiles it out to HTML, CSS, and JavaScript for you. To work with Brython, you don't need to know JavaScript.

When developing web applications - we commonly use several technologies, and languages. A back-end can easily be built in Java (Spring Boot), Python (Django or Flask), or JavaScript (Node.js), though the front-end is more commonly done in JavaScript (React, Angular, etc). Sometimes, we even take the hybrid approach of having server-side rendered pages, with final touchups done in front-end frameworks such as React.

Through the years, given its prevalence on the web - the JavaScript community expanded the original functionality to enable JavaScript-powered back-ends, including front-ends. The most common way to code web applications in JavaScript is to use the MEAN stack. A MongoDB database, Node.js with Express.js for the back-end, and Angular (or more recently, React) for the front-end.

But what if you really prefer to develop your apps using Python? While being strictly focused on one programming language isn't advisable - languages are tools, and being fixated on one tool makes you less flexible - there is still space for single-language applications.

So, do not stick to one try for new and get best.

Want to know more about MIT College of Railway Engineering and Research Barshi, MH. 

Comments

Popular posts from this blog

Railway Engineering: A Beginner’s Perspective – Introduction

The Barsi Light Railway

Indian Railways Toilet System