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]. For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.
