Diez B. Roggisch wrote: > But also (and as you say yourself) it does not rid you of knowing JS. >
I think the most common reason given (by programmers) for not using javascript is its perceived quirkness and the scarcity of features in the "standard library". As one bright Python developer wrote, "it seems to me like writing in assembler again". And he's right; a typo can easily grow undefined values that make grown men cry. Fortunately, well-behaved usage patterns are there and help immensely, but have to get used to. So, if the target is letting non-programmers write ajax application, by all means use KSS and friends. But if the target is programmers, I would try and learn to use a full-featured and well written library before deciding. I wrote my last js-rich application for firefox only -- never tested with anything else before it was done -- and got compatibility with konqueror, safari, IE7 and opera for free :-) Barry Hart wrote: > Thanks for the suggestions. I do think a higher level of abstraction > is possible - even with some of the nice libraries, JavaScript somehow > feels more verbose than the Python I write on the server side. I was > just reviewing some code I wrote which makes an Ajax request and when > it returns, creates or updates a chart with the data. 40 lines of > code! If I build a chart in Excel, it updates automatically when the > data changes and I don't have to write *any* code. :-) YUI 2.5 has flash-based charts with auto-update from a local or remote datasource. Just like Excel I suppose. -- This e-mail (and any attachment(s)) is strictly confidential and for use only by intended recipient(s). Any use, distribution, reproduction or disclosure by any other person is strictly prohibited. The content of this e-mail does not constitute a commitment by the Company except where provided for in a written agreement between this e-mail addressee and the Company. If you are not an intended recipient(s), please notify the sender promptly and destroy this message and its attachments without reading or saving it in any manner. Any non authorized use of the content of this message constitutes a violation of the obligation to abstain from learning of the correspondence among other subjects, except for more serious offence, and exposes the person responsible to the relevant consequences. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

