On Sun, Dec 16, 2012 at 6:39 AM, Massimo Di Pierro
<[email protected]> wrote:
> I was thinking the same. The issue, do we want the conversion done
> client-side (like brython) or server side (like ocl,
> https://github.com/mdipierro/ocl#convert-python-code-into-javascript-code)
>
> I'd prefer brython if it is fast.
>
> Massimo

You had some http://pyjs.org/ examples in the documentation (I think
for JSONRPC or something).

Maybe if you threw in some JavaScript widgets as web2py helper
functions that would suffice?

Thinking to just include the official Twitter Bootstrap widgets, and
depending on their types you either throw a dict or a list into them.
(or the web2py subclasses)

e.g.:

{{=TABS({'foo':URL('index')}, orient='left', style='border: 1px')}}

> On Saturday, 15 December 2012 13:01:16 UTC-6, Mariano Reingart wrote:
>>
>> Brython seems great, it even uses a html helper syntax like web2py!
>>
>> <script type="text/python">
>> t = TABLE()
>> for i in range(10):
>>     t <= TR(TD(i)+TD(i*i))
>> doc <= t
>> </script>
>>
>> I think this should be integrated and included with web2py, teaching
>> basic web development would be even easier, without the javascript
>> complexities.
>>
>> Best regards,
>>
>> Mariano Reingart
>> http://www.sistemasagiles.com.ar
>> http://reingart.blogspot.com
>>
>>
>> On Sat, Dec 15, 2012 at 3:29 AM, ionel <[email protected]> wrote:
>> > http://www.brython.info/index_en.html
>> >
>> > --
>> >
>> >
>> >
>
> --
>
>
>

-- 



Reply via email to