Stoppt die Vorratsdatenspeicherung! Jetzt klicken &handeln! Willst du auch an der Aktion teilnehmen? Hier findest du alle relevanten Infos und Materialien:

Archived entries for Javascript

JavaScript Minification

Nicholas C. Zakas gibt Tips wie man JavaScript schreiben sollte um das meiste aus dem YUI Compressor zu holen.

This article emphasizes what you should do to take advantage of YUI Compressor’s best feature for minification: local variable name replacement. (…) When deploying JavaScript out into production, your only consumer is the browser, and the browser couldn’t care less about variable names. For that reason, the YUI Compressor replaces these variable names with shorter versions. (…) While the YUI Compressor can perform variable replacement on local variables, there is nothing it can do about properties. Since property names are defined on the object itself, there is no way to safely detect or replace them. That means code that accesses many properties will end up larger than code that doesn’t.

CSS Extender

Das JavaScript eCSStender erlaubt es CSS3 Anweisungen ohne Vendor Prefixes zu schreiben. Das Script ließt das CSS und fügt die benötigten Anweisungen selbst hinzu.

Say goodbye to the browser-specific properties and hacks cluttering your files and say hello to lean, mean CSS. With eCSStender, when you write the rules, browsers pay attention. Extensions built with eCSStender greatly simplify the design process because you can author modern CSS using advanced selectors, properties such as border-radius, or custom font faces and rest assured that your design will work… even in IE6.

CSS pre-processor Less.js

LESS erweitert CSS um Variablen, verschachelte Regeln und Berechnungen und mit Less.js braucht es keinen Serverseitigen Code mehr:

Less.js is a JavaScript implementation of LESS that’s run by your web browser. As any JavaScript, you include a link to the script in your HTML, and…that’s that. LESS is now going to process LESS code so instead of including a link to a CSS file, you’ll include a link directly to your LESS code. That’s right, no CSS pre-processing, LESS will handle it live.

Allerdings funktionieren die Seiten dann natürlich nur noch mit JavaScript, was ich persönlich inakzeptabel finde.

daily links

daily links

  • Views SimpleSpy | drupal.org
    This module creates a view style which allows you to present your content using the simpleSpy effect. An example of this effect can be found on http://jqueryfordesigners.com/simple-jquery-spy-effect/
  • JavaScript Magazine Blog for JSMag » Blog Archive » News: AppengineJS, Node.Net, Tracer
    You can now run Javascript applications on Google’s App Engine platform thanks to the new AppengineJS project. The project is based on Rhino, the Java-based Javascript runtime, which is why it can run on Google’s Java- and Python-only platform. Where AppengineJS stands out is in giving you easy access to many of the App Engine API’s (e.g. storage, memcache, OAuth, etc.). The library wraps the Python APIs to make them more friendly to Javascript developers.
  • Managing Drupal Multisite Releases with SVN
    Multisite is nothing new for Drupal old-timers. A lot of organizations use it to great success. There is one "problem" when using multisite, however: since the code for all sites is under a subfolder of the same "sites" folder, how do you separate releases for each website? Usually each site on the platform should have an independent release cycle. Just because you need to release code for site1, does not mean that you are ready to also release code for site2. Similarly, you should not have to tie "platform" releases with the releases of the individual sites in a multisite setup. However, if you deploy code from a version control (usually a good idea, since you can keep history of changes) having code with different release cycles in one place, in version control, can cause problems.
  • Alternative solution to Organic Groups | NodeOne
  • Correctly accessing CCK fields in SQL queries | drewish.com
  • New Queue and Menu Examples for Examples Project | RandyFay.com
    The Examples for Developers Project aims to provide high-quality, well-documented API examples for a broad range of Drupal core functionality. You can download the code from the project page, view it on api.drupal.org, or experience it (for several of them) at drupalexamples.info.
  • What’s new in Joomla 1.6 - Joomla! Documentation
  • Views hierarchy | drupal.org
    This provides a style plugin for Views which shows the result items in a hierarchical list.
    The parent data is set in the plugin options, so for example, you can show a tree of taxonomy terms, or if your nodes are related to one another by something such as a nodereference field, you can use that.
  • Amazon Relational Database Service (Amazon RDS)
    Amazon Relational Database Service (Amazon RDS) ist eine Web-Service zum einfachen Einrichten, Betreiben und Skalieren einer relationalen Datenbank in der Cloud. Dieser Dienst stellt kosteneffiziente und individuell anpassbare Kapazitäten zur Verfügung und erledigt gleichzeitig zeitraubende Datenbank-Verwaltungsaufgaben, sodass Sie sich stärker auf Ihre Anwendungen und Ihr Unternehmen konzentrieren können.


Copyright © 2004–2009. All rights reserved. – Impressum

RSS Feed. This blog is proudly powered by Wordpress and uses Modern Clix, a theme by Rodrigo Galindez.