1 | | == == |
| 1 | == Why jQuery? == |
| 2 | |
| 3 | jQuery is a modern lightweight library which provides a lot of power to easily do advanced effects. |
| 4 | |
| 5 | It supports 'Unobstrusive Javascript' to provide easier separation of Presentation (Markup) from Code: |
| 6 | * http://en.wikipedia.org/wiki/Unobtrusive_JavaScript |
| 7 | |
| 8 | The fact that Web2Py includes this by default makes it an obvious choice, but it would likely have been chosen even without that. |
| 9 | |
| 10 | There are a lot of plugins available: |
| 11 | * http://plugins.jquery.com/ |
| 12 | |
| 13 | SahanaPy currently uses: |
| 14 | * ClueTip (used for the form field 'Help' popup) |
| 15 | * http://plugins.learningjquery.com/cluetip/ |
| 16 | |
| 17 | * ClockPick (used by Web2Py for Date input) |
| 18 | * http://www.oakcitygraphics.com/jquery/clockpick/trunk/ClockPick.cfm |
| 19 | |
| 20 | * FancyZoom (used by Web2Py's T2 module to display images) |