Can Python be used for client side web development?
Question:
If yes are there any frameworks/Tutorials/tips/etc recommended?
N00b at Python but I have tons of PHP experience and wanted to expand my skill set.
I know Python is great at server side execution, just wanted to know about client side as well.
Answers:
No. Browsers don’t run Python.
Python isn’t really used for client side, because no major web browsers have Python built in.
However, Javascript has become more and more Python-like as it has evolved. You might want to study Python and Javascript together.
Take a look at https://developer.mozilla.org/en/New_in_JavaScript_1.7 and notice the Python-like nature of the new features. “array comprehensions” are just like Python list comprehensions; iterators and generators are straight out of Python; “destructuring assignments” are a standard Python idiom.
Javascript is kind of like Python with curly braces. It uses a very different inheritance model, but libraries are available that implement a more Python-like class system on top of the built-in system in Javascript.
Python is available for the client: skulpt
If its client side your interested may be worth checking out
Have you seen Skulpt?
Skulpt is an entirely in-browser implementation of Python.
No preprocessing, plugins or server-side support required, just write Python and reload.
You can use pyjamas to convert Python code to JS code that runs in the browser (note that pyjamas also offers much more). So YES, you can use Python for client side web development.
Pyjamas is basically a port of the Google Web Toolkit, which allows you to write client side code in Java.
Silverlight can run IronPython, so you can make Silverlight applications. Which is client-side.
Noone has mentioned it yet, but grail is/was pretty cool
Grail was a free extensible multi-platform web browser written in the Python programming language. The project was started in August 1995, with its first public release in November of that year. [1] The .3 beta contained over 27,000 lines of Python.[1] Its last release was of version 0.6 in 1999, with latest version under development.
On Windows, any language that registers for the Windows Scripting Host can run in IE. At least the ActiveState version of Python could do that; I seem to recall that has been superseded by a more official version these days.
But that solution requires the user to install a python interpreter and run some script or .reg file to put the correct “magic” into the registry for the hooks to work.
If yes are there any frameworks/Tutorials/tips/etc recommended?
N00b at Python but I have tons of PHP experience and wanted to expand my skill set.
I know Python is great at server side execution, just wanted to know about client side as well.
No. Browsers don’t run Python.
Python isn’t really used for client side, because no major web browsers have Python built in.
However, Javascript has become more and more Python-like as it has evolved. You might want to study Python and Javascript together.
Take a look at https://developer.mozilla.org/en/New_in_JavaScript_1.7 and notice the Python-like nature of the new features. “array comprehensions” are just like Python list comprehensions; iterators and generators are straight out of Python; “destructuring assignments” are a standard Python idiom.
Javascript is kind of like Python with curly braces. It uses a very different inheritance model, but libraries are available that implement a more Python-like class system on top of the built-in system in Javascript.
Python is available for the client: skulpt
If its client side your interested may be worth checking out
Have you seen Skulpt?
Skulpt is an entirely in-browser implementation of Python.
No preprocessing, plugins or server-side support required, just write Python and reload.
You can use pyjamas to convert Python code to JS code that runs in the browser (note that pyjamas also offers much more). So YES, you can use Python for client side web development.
Pyjamas is basically a port of the Google Web Toolkit, which allows you to write client side code in Java.
Silverlight can run IronPython, so you can make Silverlight applications. Which is client-side.
Noone has mentioned it yet, but grail is/was pretty cool
Grail was a free extensible multi-platform web browser written in the Python programming language. The project was started in August 1995, with its first public release in November of that year. [1] The .3 beta contained over 27,000 lines of Python.[1] Its last release was of version 0.6 in 1999, with latest version under development.
On Windows, any language that registers for the Windows Scripting Host can run in IE. At least the ActiveState version of Python could do that; I seem to recall that has been superseded by a more official version these days.
But that solution requires the user to install a python interpreter and run some script or .reg file to put the correct “magic” into the registry for the hooks to work.