[Tutor] web software applictions
Timo
timomlists at gmail.com
Fri Jun 7 20:32:38 CEST 2013
Op 07-06-13 17:25, Matthew Ngaha schreef:
> Hi all. Im alright with using GUI toolkits and i always thought the
> difference between desktop apps and web apps was that one was an
> application in a browser that had similar widgets to a desktop app.
> Now ive realised this is wrong. A web app is simply a web page, their
> is no program or UI. I wanted to learn how to make some actual
> applications on the web similar to gui toolkits, for instance a
> graphical web calculator with ui specific widgets like buttons etc.
>
> something like this: http://web2.0calc.com/
>
> can the usual python web frameworks design this? if not, is there a
> tool in Python i can use that comes with GUI widgets etc that can
> create these graphical web applications.
Most webpages are just HTML with CSS, this calculator is no exception.
Have a look at the page source and you'll see this (for button "7"):
<tdclass="sl">
<aid="Button7"class="btn num"onmouseup="inactive(this);return
false;"onmousedown="active(this);ins('7',this);return false;">7</a>
</td>
See the stylesheets for the corresponding CSS.
I also notice they are using Twitter Bootstrap, which handles a lot of
things already for you: http://twitter.github.io/bootstrap/
Timo
>
> Thanks
> _______________________________________________
> Tutor maillist - Tutor at python.org
> To unsubscribe or change subscription options:
> http://mail.python.org/mailman/listinfo/tutor
More information about the Tutor
mailing list