QUnit is the unit testrunner for the jQuery project. It got promoted to a top-level project in May 2008 to make it easier to use in other projects, with focus on jQuery UI. Every plugin developer can leverage the testsuite to unit test their code.
Schlagwort: jquery
jQuery 1.2.5
Nach einem sehr kurzem Lebenszyklus für jQuery 1.2.4, ist gerstern direkt noch jQuery 1.2.5 erschienen. Die neueste Version fixt hauptsächlich Bugs, keiner davon ist mir allerdings bisher vor die Flinte geraten.
jQuery: Working with Events 2
Bei Learning jQuery gibt’s diesmal alles weitere über Events und was jQuery damit anstellen kann. Teil 1 war hier.
jQuery iPod-style Drilldown Menu
Scott and Maggie created an iPod-style drilldown menu to help users traverse hierarchical data quickly and with control. It’s especially helpful when organizing large data structures that don’t translate well into traditional dropdown or fly-out menus.
What’s Next in jQuery and JavaScript?
Der von mir hoch geschätzte John Resig beantwortet im Video die wichtigsten Fragen nach der Zukunft von jQuery und Javascript. Mann John, Du siehst aber auch ’nen Schwung geeky aus…
Unobstrusive Javascript with jQuery
Simon Willison hat einen hervorragenden Vortrag zum Thema »Unobstrusive Javascript with jQuery« gehalten. 134 Slides sind natürlich schon eine Hausnummer, aber es lohnt sich durchaus. [via]
jQuery Form und UI Tabs spielen zusammen
Mit dem jQuery Plugin “jQuery Form” und den “jQuery UI Tabs” kann man schon recht anspruchsvolle mehrstufige Formulare bauen. Allerdings müsste nochmal am Back-Button geschraubt werden, wie ein Kommentator zu Recht anmerkt.
jQueryUI (in action)
Brian Dillard hat sich jQueryUI ein wenig angesehen, und eine nette Beispielanwendung programmiert [der Pizzabestelldienst ist natürlich in wahrer Klassiker].
Javascript Packer und Security
Was man bei SecureWorks [via] nachlesen kann entspricht genau der Diskussion, die wir vorige Woche mit unseren Serverwächtern zu führen hatten. Tenor, hier wie dort:
While the use of packers is widespread, all have drawbacks. These include:
- The inability to easily verify and audit code
- The administrative overhead of repacking code for each change
- Suboptimal compression
- The increased risk of false negatives which may lead to a site being used to spread malicious code
- The increased risk of false positives, which may lead to a site or some of its functions being blocked by security controls
- Noticeable negative impact on client-side performance.
Site owners, operators, developers and administrators can achieve intended results — typically reducing the number of bytes downloaded from the server — with greater degree of success and fewer side-effects using one or more alternative tactics:
- Not compressing JavaScript code at all
- Reliance on increases in average available bandwidth
- Reliance on local and network caching
- Not using more JavaScript functions than necessary (smaller library „builds“)
- Using only safe whitespace/comment reduction techniques
- Automatic application of safe techniques as a last step in the publishing process
- The use of mod_deflate/mod_gzip for compressing the HTTP response data
- The use of jar files to package JavaScript (these can be cryptographically signed to further enhance authenticity of code, and hence improve security)
OK, das ist einleuchtender, als das Voodoo-Ihr-Programmieraffen-seid-alle-blöd-Zeugs, das ich mir sonst anhören muss. Wir sind auch bereits dazu übergegangen, wieder ungepackten Code zu schicken. Teilweise sofort, teilweise wird es releaseabhängig noch ein wenig dauern.
Ich bin gar nicht so traurig, den Packer zu kicken… der Releasecycle war immer sehr nervig. Zudem bin ich mal wieder völlig leidenschaftslos, zudem ich ja auch selbst immer wieder sage, wie evil eval()
ist. 😉
Zwei kurze jQuery-Links
jQuery.ScrollTo (very nice, via) und jquery-iframe-sizing (ihhh, iframes…).