Pyjamas is completely HTML5 compliant, supports SVG graphics and the HTML5
canvas.

Whatever you want to do in HTML you still can BTW, just write it in the
HTML(html) function and it will also not be compiled.  Pyjamas uses tables
not divs when it compiles it's own code but Python gives you complete
control over everything in those tables, tables also end up being faster
than div in this manner so it's more "optimized".  This discussion of why it
compiles to tables and not div's is in the documentation (somewhere, read it
a while back).

Also, part of the compilation process involves a stub .html file in which
you can input anything you want precompilation and it will live in the final
product.  Including removing any "table bloat".

You see you can use Pyjamas where ever you see fit and if you do have to
write pure javascript/HTML you can.  You can also write Python code that
uses Javascript libraries and then it all gets compiled to Javascript and
works.

So you do have, 100% control.  Hell, compared to just Javascript/HTML you
have 110% control.

On Thu, Dec 16, 2010 at 6:33 PM, Bruce Wade <[email protected]> wrote:

> I think you missed the point on 100% control, yes you might have complete
> DOM control but I also want optimized HTML without table bloat etc. Plus
> with HTML5 coming strong how would that work with pyjamas?
>
> On Thu, Dec 16, 2010 at 3:27 PM, Felipe De Siqueira <
> [email protected]> wrote:
>
>>  A few things about Pyjamas...
>>
>> Anything you can do in javascript you can do in pyjamas.  Including but
>> not limited to...
>>
>> 1. Importing/using javascript libraries
>> 2. Writing Javascript code inside the Python code (the pure javascript
>> inside the in line Javascript function is simply not compiled)
>> 3. "On the one hand you can use Python on the client side" I'm not trying
>> to nitpick but simply be clear, you don't use Python on the client side you
>> still use javascript HTML.
>>
>> 4. "plus using jQuery instead of pyjamas gives you 100% control over
>> everything including your HTML. Maybe it is just a personal bias or because
>> I come from a C/C++ programming world but I can't stand how some technology
>> tries to automate the UI."
>>
>> Pyjamas gives you complete DOM control, once again anything you can do in
>> Javascript you can do in Pyjamas.  In fact it would probably be more
>> practical in the future to create an RIA framework in Python using pyjamas
>> as it's basis.
>>
>> 5. "I don't think the Pyjamas community is large enough to manage these
>> huge development and maintenance tasks, so you will have to engage deeply in
>> the Pyjamas project and may not have enough time for developing your actual
>> webapp."
>>
>> I can definitely agree here on some level.  Your application will be
>> "Pyjamas dependent" but it's not as bad as you may think.  Pyjamas is 8000
>> or so lines of code and it's API is very well documented, as a matter of
>> fact I would say don't be discouraged by the "Pyjamas book" as I think it
>> could definitely use some love.  Instead look at the codebase/examples
>> themselves, they are FAR more helpful and educational.
>>
>> It's inevitable that you will be depending upon SOME library to complete
>> the task at hand.  I'm much more comfortable depending on an API that is
>> readable, well-documented, open source, and reasonably small.
>>
>> If you understand DOM manipulation in javascript, you will easily grasp
>> the Pyjamas codebase.
>>
>> Pyjamas does not give you "premade automated widgets" but rather gives you
>> the power of Python to express your widgets in a GUI type of development.
>>
>> As for development time.  Python is legendary for it's effect on rapid
>> development and this is no different. Create/inherit widget classes and make
>> your own, assemble them how you want and reuse them in any later project
>> with a simple change of stylesheets.
>>
>> Sometimes I think Pyjamas is so simple that it's benefits elude people.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "pylons-discuss" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected]<pylons-discuss%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/pylons-discuss?hl=en.
>>
>
>
>
> --
> --
> Regards,
> Bruce Wade
> http://ca.linkedin.com/in/brucelwade
> http://www.wadecybertech.com
> http://www.warplydesigned.com
> http://www.fitnessfriendsfinder.com
>
> --
> You received this message because you are subscribed to the Google Groups
> "pylons-discuss" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<pylons-discuss%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/pylons-discuss?hl=en.
>



-- 

Luis De Siqueira
[email protected]
Mobile - (862) 234-9452

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss?hl=en.

Reply via email to