Software Alternatives & Reviews

Brython VS PHP

Compare Brython VS PHP and see what are their differences

Brython logo Brython

Brython's goal is to replace Javascript with Python, as the scripting language for web browsers.

PHP logo PHP

A popular general-purpose scripting language that is especially suited to web development
  • Brython Landing page
    Landing page //
    2023-04-19
  • PHP Landing page
    Landing page //
    2022-07-21

We recommend LibHunt PHP for discovery and comparisons of trending PHP projects.

Brython videos

كورس python تطوير الويب - باستخدام brython بديل JavaScript

More videos:

  • Review - Mensahe Ni Elloraine sa Asawang Si Brython Lamb, Ano ang Kahulugan Nito?

PHP videos

Is PHP a SCAM? Watch this VIDEO Before You Join!

More videos:

  • Review - For PHP Agents - Advice On Making The Most Of Your Insurance Sales Career

Category Popularity

0-100% (relative to Brython and PHP)
Programming Language
41 41%
59% 59
OOP
37 37%
63% 63
Generic Programming Language
Developer Tools
100 100%
0% 0

User comments

Share your experience with using Brython and PHP. For example, how are they different and which one is better?
Log in or Post with

Reviews

These are some of the external sources and on-site user reviews we've used to compare Brython and PHP

Brython Reviews

We have no reviews of Brython yet.
Be the first one to post

PHP Reviews

Top 10 Rust Alternatives
PHP is another general purpose-based computing language. This language is mostly found in HTML. It is usually used for the management of content that is based on dynamic information.
Top 20 Javascript Libraries
As the name suggests, JsPHP is a Javascript library for PHP API to be available in the JS environment. It is open-source and provides a compelling interface for JS developers who work in PHP. JsPHP can work in tandem with other libraries in an application. JsPHP supports PHP functions, including regular expressions, date-time evaluations, JSON, error handling, object...
Source: hackr.io
The 10 Best Programming Languages to Learn Today
What kind of development projects do you want to work on? If career flexibility is a priority, learning Python or C++ will allow you to work across different types of programming. If your passion is web development, learning JavaScript or PHP is a smart choice.
Source: ict.gov.ge

Social recommendations and mentions

PHP might be a bit more popular than Brython. We know about 53 links to it since March 2021 and only 42 links to Brython. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

Brython mentions (42)

  • Reviving PyMiniRacer: A Python <> JavaScript Bridge
    On a related note, Brython lets you run Python in the browser through JavaScript. You can even see Python in the HTML with “text/python” SCRIPT tags. https://brython.info/. - Source: Hacker News / about 1 month ago
  • Is Python a better alternative for JavaScript??
    For frontend there is Brython. It is a Python interpreter written in JavaScript that allows embedding Python scripts in to HTML much like you would with JavaScript. Source: 5 months ago
  • WASM: Big Deal or Little Deal?
    I'm rooting for WASM to win. One of the things that discouraged me from Front-end Web Development is JavaScript weirdness. It just has too many pitfalls and it's very hard to debug for a newcomer unless you study a proper JS course that tells you precisely all of these traps before you get burned. I've never found a programming language that didn't behave like I expected it on first touch, except for JS. I am... - Source: Hacker News / 8 months ago
  • How does PyScript actually work?
    This is the primary difference between Pyodide and projects like Transcrypt or Brython: rather than transpiling to JavaScript, you get the real-deal CPython interpreter running client-side in the user's browser. There are a few things that don't work out of the box, since CPython usually runs on a computer and the Browser environment has some unique restrictions (lack of low-level access to networking, for one),... Source: 10 months ago
  • Is Python a bad programming language?
    Web frontend is doable. See Brython. Still a bit of a performance hit though. The big standard library is a burden if you have to download it. Source: 12 months ago
View more

PHP mentions (53)

  • Using named arguments in php8 and up
    That's the first I've heard of it, and I like it! I can't tell you the number of trips to php.net to look at argument order for a function. Is it haystack/needle, or needle/haystack? Of course it could turn into the same thing w/ argument names (is it whole_name or full_name?), but I'm going to use it. Source: 10 months ago
  • How to display results from multiple SQL queries in the same table cell?
    Prepare to spend a fair bit of time reading and going back to phptherightway.com and php.net. I've also found this Tutorial from Envato Tuts+ to be quite good. Source: 11 months ago
  • Beginner searching for set up resources
    All I want to do with php is to have a recurring navbar on a website. I don't know what to do next. So far I've tried php.net's manual, w3scchool's tutorial and the set up part of first five recommended php tutorials on youtube. I have also spent hours on stackoverflow, which got me even more confused. The more I read, the less nothing makes sense to me and I don't know where the problem is. Source: 11 months ago
  • date_format crashing on NULL values after upgrade to PHP 8.x
    I tried looking at the upgrade from 7.4 to 8.0 docs on php.net but I don't see anything regarding any changes to this function. Any ideas? Source: 12 months ago
  • Myra & php.net
    Does anyone else have trouble getting into php.net without some human verification page popping up first? Source: 12 months ago
View more

What are some alternatives?

When comparing Brython and PHP, you can also consider the following products

Skulpt - Skulpt is an entirely in-browser implementation of Python.

Python - Python is a clear and powerful object-oriented programming language, comparable to Perl, Ruby, Scheme, or Java.

Transcrypt - Transcrypt is a Python to JavaScript transpiler.

JavaScript - Lightweight, interpreted, object-oriented language with first-class functions

Java - A concurrent, class-based, object-oriented, language specifically designed to have as few implementation dependencies as possible

Pyjs - pyjs is a Rich Internet Application (RIA) Development Platform for both Web and Desktop.