+ 1

Python in Web and HTML5

How can I use Python language in web application? I used to JavaScript and HTML5 before that. Algorithms were on client side. I had one page application for counting engineering ventilation systems with JPG graphics.

8th Jan 2017, 9:51 AM
Vladimir
Vladimir - avatar
9 odpowiedzi
+ 5
In web BROWSERS, there's ONLY html+css ( and js ) to implement GUI in web pages ( in a MVC -- Model View Controler -- html+css are the handler for the view, js/code is in charge od the rest )... At standalone applications, meaning without a web browser, you can communicate with internet network, and call it web application, as for a web 'page' application: then, html+css are not the simplest choice to implement ( but can remain the most useful for not learnings anothers languages/specificities and not need a big work to adapt an existing base in html ;) )
8th Jan 2017, 1:16 PM
visph
visph - avatar
+ 4
@vladimir Do you know about Django and Flask? They're Python web application frameworks.
9th Jan 2017, 2:17 PM
Winfred Selwyn Ooh
Winfred Selwyn Ooh - avatar
+ 4
To run Python in your browser, you can use Transcrypt (http://www.transcrypt.org). Disclaimer: I am the originator of the project.
9th Jan 2017, 6:23 PM
Jacques de Hooge
Jacques de Hooge - avatar
+ 3
You can't use Python on client side in a browser: you need to still handle client side with JS... On the other hand, you can use Python on server side, instead of classicly Php ^^ or make Python app which can communicate with internet as well as browsers ( but they are stand-alone script, and Html isn't the most usefull way to implement the graphic user interface ;) )
8th Jan 2017, 9:58 AM
visph
visph - avatar
+ 3
I couldn't... because I haven't some examples. But browsers are not the only way to access internet ( sending request and receiving responses ) on which is based the "web". All the information you can provide-use with a client-serveur architecture can be doing with browsers, but not only, even if browsers and html facilities with evolution of javascript and increas in data rates and so on... have favored a cloud concept mostly handled by web pages ^^ So, no: standalone application is meaning outside browsers, doesn't run into...
8th Jan 2017, 2:24 PM
visph
visph - avatar
0
@visph Are where any different ways to inplement GUI, instead of HTML in Web? Because now I have only CSS formatted <img> and it is a problem because of many .jpg files.
8th Jan 2017, 12:28 PM
Vladimir
Vladimir - avatar
0
@visph Okay, I know about MVC model. Could you give me some examples about stand-alone app? How does it communicate with Web? Does it run into browser? Sorry for so many questuions, but I am really interested in my app's simplicity. Here it is: http://www.driverengi.ru/main.php
8th Jan 2017, 1:58 PM
Vladimir
Vladimir - avatar
0
@Winfred Selwyn I have read about Django just today! Thank you, I will try to study it.
9th Jan 2017, 4:08 PM
Vladimir
Vladimir - avatar
0
@Jacques de Hooge Thanks, very interesting project!
9th Jan 2017, 6:30 PM
Vladimir
Vladimir - avatar