Pyjamas is a "Python-based Web Application Development Framework".
The Python code of Pyjamas application looks like a PyGTK or PyQT
applications but
use the same widgets as the Google GWT. The code is not run but
compiled into
Javascript. When run in a javascript enable browser, the script build
the widgets using the DOM tree,
and the result looks like any running PyGTK or PyQT applications

What about the idea of writing complex widgets and/or forms using the
Pyjamas  way
using only Pure python code instead of mixing python, html and
javascripts
code using the TG way.

Looking at the source of the ToscaWidget Calendar components, I get
the files :

 2955 ./calendars.py
  323 ./templates/calendar.html
 5722 ./static/calendar/calendar-system.css
34337 ./static/calendar/calendar.js
 4919 ./static/calendar/calendar-setup.js

for a total of 42534 bytes (I removed the .css)

Looking at the Pyjamas code

  324 ./library/pyjamas/ui/Calendar.py
15452 ./library/gwt/ui/Calendar.py

for a total of 15776 bytes.

The Pyjamas code is 3 times smaller and written only in python !

Customizing the calendar to highlight legal holiday





-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en.

Reply via email to