<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Nerdpress.org &#187; JS</title>
	<atom:link href="http://www.nerdpress.org/category/js/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nerdpress.org</link>
	<description>^__^</description>
	<lastBuildDate>Thu, 03 May 2012 15:03:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Hosting multiple Express (node.js) apps on port 80</title>
		<link>http://www.nerdpress.org/2012/04/20/hosting-multiple-express-node-js-apps-on-port-80/</link>
		<comments>http://www.nerdpress.org/2012/04/20/hosting-multiple-express-node-js-apps-on-port-80/#comments</comments>
		<pubDate>Fri, 20 Apr 2012 03:40:31 +0000</pubDate>
		<dc:creator>Max Girkens</dc:creator>
				<category><![CDATA[Admin]]></category>
		<category><![CDATA[Express]]></category>
		<category><![CDATA[node.js]]></category>
		<category><![CDATA[socket.io]]></category>
		<category><![CDATA[vServer]]></category>
		<category><![CDATA[express]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[proxy]]></category>
		<category><![CDATA[sockets]]></category>

		<guid isPermaLink="false">http://nerdpress.org/?p=2144</guid>
		<description><![CDATA[In the last days, i was trying to find a solution hosting multiple Express apps on my vServer the same Server. Starting with Apache and mod_proxy, i ended up with a plain node solution, which i really like. Let&#8217;s take a quick look on some different approaches out there: &#8212;1&#8212; Using apache on port 80 [...]]]></description>
			<content:encoded><![CDATA[
<!-- google_ad_section_start -->
<p>In the last days, i was trying to find a solution hosting multiple <a href="http://expressjs.com/">Express</a> apps on <del datetime="2012-04-19T00:40:35+00:00">my vServer </del>the same Server.</p>
<p>Starting with <a href="http://www.apache.org/">Apache</a> and <a href="http://httpd.apache.org/docs/2.0/mod/mod_proxy.html">mod_proxy</a>, i ended up with a plain node solution, which i really like.<span id="more-2144"></span></p>
<p><a href="http://nerdpress.org/wp-content/uploads/2012/04/node-http-proxy-haz-colors.png" rel="lightbox[post-2144]" title=""><img class="alignnone size-full wp-image-2146" src="http://nerdpress.org/wp-content/uploads/2012/04/node-http-proxy-haz-colors.png" alt="Node-http-proxy-haz-colors in " width="527" height="106" /></a></p>
<p>Let&#8217;s take a quick look on some different approaches out there:</p>
<p><strong>&#8212;1&#8212;</strong></p>
<p>Using apache on port 80 as a proxy</p>
<pre class="brush: bash; title: ; notranslate">
ProxyPass /nodeurls/ http://localhost:9000/
ProxyPassReverse /nodeurls/ http://localhost:9000/
</pre>
<p>via <a href="http://stackoverflow.com/questions/6109089/how-do-i-run-node-js-on-port-80">stackoverflow</a></p>
<p>&#8211; no websockets<br />
++ probably the easiest way to integrate with your running AMPP-stack</p>
<p><strong>&#8212;2&#8212;</strong></p>
<p>Using a node.js app on port 80 as a Wrapper for other node apps.</p>
<pre class="brush: jscript; title: ; notranslate">
express.createServer()
  .use(express.vhost('hostname1.com', require('/path/to/hostname1').app)
  .use(express.vhost('hostname2.com', require('/path/to/hostname2').app)
.listen(80)
</pre>
<p>via <a href="http://stackoverflow.com/questions/9332865/how-should-i-organize-multiple-express-servers-on-the-same-system">stackoverflow</a></p>
<p>++ you can use websockets on port 80<br />
&#8211; apps crash/restart/stop globally<br />
&#8211;what about your apache or the like?</p>
<p><strong>&#8212;3&#8212;</strong></p>
<p>Using node.js with node-http-proxy on port 80</p>
<pre class="brush: jscript; title: ; notranslate">
var http = require('http')
, httpProxy = require('http-proxy');

httpProxy.createServer({
  hostnameOnly: true,
  router: {
    //web-development.cc
    'www.my-domain.com': '127.0.0.1:3001',
    'www.my-other-domain.de' : '127.0.0.1:3002'
  }
}).listen(80);
</pre>
<p>++ proxy websockets to any port<br />
&#8211; you might need to move your old web server to another port</p>
<p>The really cool thing about using node-http-proxy is its capability of proxying websockets.<br />
So you can have your apps running independtly on different ports while serving everything to the user over port 80 and use stuff like <a href="http://socket.io/">socket.io</a>.</p>
<p>Since i&#8217;m new to node.js and miles away from beeing a admin, any feedback is highly appreciated :)</p>
<!-- google_ad_section_end -->
]]></content:encoded>
			<wfw:commentRss>http://www.nerdpress.org/2012/04/20/hosting-multiple-express-node-js-apps-on-port-80/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>javascript benchmarking with jsperf</title>
		<link>http://www.nerdpress.org/2012/04/11/javascript-benchmarking-with-jsperf/</link>
		<comments>http://www.nerdpress.org/2012/04/11/javascript-benchmarking-with-jsperf/#comments</comments>
		<pubDate>Wed, 11 Apr 2012 15:18:31 +0000</pubDate>
		<dc:creator>Ivo Bathke</dc:creator>
				<category><![CDATA[JS]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://nerdpress.org/?p=2139</guid>
		<description><![CDATA[I might be a bit late (yeaikno it exist over a year now and a bunch of blogs had it covered) but nevertheless i would like to point out a very helpful online tool i recently ran into: jsPerf Its basically a online benchmark tool for testing different approaches in javascript. It covers some important [...]]]></description>
			<content:encoded><![CDATA[
<!-- google_ad_section_start -->
<p>I might be a bit late <del datetime="2012-04-11T15:12:28+00:00">(yeaikno it exist over a year now and a bunch of blogs had it covered)</del> but nevertheless i would like to point out a very helpful online tool i recently ran into:</p>
<p><a href="http://jsperf.com" target="_blank">jsPerf</a></p>
<p>Its basically a online benchmark tool for testing different approaches in javascript.<br />
It covers some important aspects of benchmarking, that your homemade bench probably wont have like milliseconds accuracy &#038; statistical analysis.<br />
The tests are run on your browser and the results will feed the &#8220;browserscope&#8221;. A graph of the &#8220;highest known results&#8221; for the participating browsers.<br />
So we can see some kind of comparison.<br />
<span id="more-2139"></span><br />
Almost all classic concurrent approaches are covered, my favorites are:</p>
<p><a href="http://jsperf.com/string-concatenation/14" target="_blank">String concatenation</a></p>
<p><a href="http://jsperf.com/javascript-template-engine/3" target="_blank">JavaScript Template Engines</a>, in this revision its: juicer, mustache, ejohn, kissy, nTenjin<br />
( yes it has revisions :) )</p>
<p><a href="http://jsperf.com/switchclass-or-removeclass-and-addclass" target="_blank">switchClass OR removeClass and addClass</a></p>
<p><a href="http://jsperf.com/jquery-remove-class-selector" target="_blank">fastest jQuery selectors to remove class</a></p>
<p>See if you can find some, you struggled with lately:<br />
<a href="http://jsperf.com/browse" target="_blank">http://jsperf.com/browse</a></p>
<p>JsPerf has some further interesting options like<br />
<strong>autorun</strong><br />
<em>append #run to the URL of the test case</em></p>
<p><strong>filters</strong> for the browserscope<br />
<em>filters are: popular, all, desktop, family, major, minor, mobile, prerelease</em></p>
<p><strong>chart types</strong> of browserscope<br />
<em>append #chart=table to the test case’s URL<br />
types are: bar(default), table, column, line, and pie</em></p>
<p>Give it a try, daily!</p>
<!-- google_ad_section_end -->
]]></content:encoded>
			<wfw:commentRss>http://www.nerdpress.org/2012/04/11/javascript-benchmarking-with-jsperf/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tools for jade template development</title>
		<link>http://www.nerdpress.org/2012/04/09/tools-for-jade-template-development/</link>
		<comments>http://www.nerdpress.org/2012/04/09/tools-for-jade-template-development/#comments</comments>
		<pubDate>Mon, 09 Apr 2012 10:12:01 +0000</pubDate>
		<dc:creator>Max Girkens</dc:creator>
				<category><![CDATA[Express]]></category>
		<category><![CDATA[Jade]]></category>
		<category><![CDATA[JS]]></category>
		<category><![CDATA[node.js]]></category>
		<category><![CDATA[express]]></category>
		<category><![CDATA[jade]]></category>

		<guid isPermaLink="false">http://nerdpress.org/?p=2132</guid>
		<description><![CDATA[I recently started digging into node.js and the express framework. One thing i like about it is that it comes with the beautiful jade template engine by default. Here are some things that come real hany when you are working with jade. This one really saved my mental health in more than one case. Just [...]]]></description>
			<content:encoded><![CDATA[
<!-- google_ad_section_start -->
<p>I recently started digging into <a href="http://nodejs.org/">node.js</a> and the <a href="http://expressjs.com/">express framework</a>.<br />
One thing i like about it is that it comes with the beautiful <a href="http://jade-lang.com/">jade template engine</a> by default.</p>
<p>Here are some things that come real hany when you are working with jade.<span id="more-2132"></span></p>
<p>This one really saved my mental health in more than one case.<br />
Just paste your HTML and you get nice and clean jade code:</p>
<p><a href="http://html2jade.aaron-powell.com/">http://html2jade.aaron-powell.com/</a></p>
<p>If you are using Netbeans, make sure you don&#8217;t miss to install the beautifully working plugin for .jade files.</p>
<p><a href="https://github.com/lumenlunae/jade-netbeans-syntax-highlighting">https://github.com/lumenlunae/jade-netbeans-syntax-highlighting</a></p>
<p>If you are developing in PHP and want to check out jade anyway, check this out:</p>
<p><a href="http://nerdpress.org/wp-content/uploads/2012/04/php_jade.jpg" rel="lightbox[post-2132]" title=""><img class="alignnone size-full wp-image-2135" src="http://nerdpress.org/wp-content/uploads/2012/04/php_jade.jpg" alt="Php Jade in " width="293" height="238" /></a></p>
<p>No seriously, check THIS:</p>
<p><a href="https://github.com/everzet/jade.php">https://github.com/everzet/jade.php</a></p>
<!-- google_ad_section_end -->
]]></content:encoded>
			<wfw:commentRss>http://www.nerdpress.org/2012/04/09/tools-for-jade-template-development/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>run JavaScript code in PHP 5.3 with the v8js extension</title>
		<link>http://www.nerdpress.org/2012/03/09/run-javascript-code-in-php-5-3-with-the-v8js-extension/</link>
		<comments>http://www.nerdpress.org/2012/03/09/run-javascript-code-in-php-5-3-with-the-v8js-extension/#comments</comments>
		<pubDate>Thu, 08 Mar 2012 23:14:10 +0000</pubDate>
		<dc:creator>Max Girkens</dc:creator>
				<category><![CDATA[JS]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[homebrew]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[pecl]]></category>
		<category><![CDATA[v8js.so]]></category>

		<guid isPermaLink="false">http://nerdpress.org/?p=2102</guid>
		<description><![CDATA[&#8230;for some reason i needed to get t h i s to work before going to sleep. I&#8217;m running OSX 10.7.3 with macports which usually does the job, but  Google&#8217;s V8 Javascript Engine is not available as a port yet. So&#8230; homebrew to the rescue: installed it: and installed v8 wait, this seems too easy. [...]]]></description>
			<content:encoded><![CDATA[
<!-- google_ad_section_start -->
<p>&#8230;for some reason i needed to get <strong><a href="http://php.net/manual/en/book.v8js.php">t h i s</a></strong> to work before going to sleep.</p>
<p>I&#8217;m running OSX 10.7.3 with <a href="http://www.macports.org/">macports</a> which usually does the job, but  <a href="http://code.google.com/p/v8/">Google&#8217;s V8 Javascript Engine</a> is not available as a port yet.<span id="more-2102"></span></p>
<p>So&#8230; <a href="http://mxcl.github.com/homebrew/">homebrew</a> to the rescue:</p>
<p>installed it:</p>
<pre class="brush: bash; title: ; notranslate">
/usr/bin/ruby -e &quot;$(/usr/bin/curl -fsSL https://raw.github.com/gist/323731)&quot;
</pre>
<p>and installed v8</p>
<pre class="brush: bash; title: ; notranslate">
brew install v8
</pre>
<p>wait, this seems <a href="http://www.youtube.com/watch?v=jWI8w9kLAks">too easy</a>.</p>
<p>PECL installed some beta version of the PHP extension.</p>
<pre class="brush: bash; title: ; notranslate">
sudo pecl install channel://pecl.php.net/v8js-0.1.2
</pre>
<p>added</p>
<pre class="brush: bash; title: ; notranslate">extension=v8js.so</pre>
<p>to the php.ini file.</p>
<p>und bitteschön:</p>
<pre class="brush: php; title: ; notranslate">

$v8 = new V8Js();
var_dump($v8-&gt;executeString(&quot;

//hey i'm Javascript Code

//INSIDE PHP !

//wow.
var hello = 'Hallo';

function helloWorld( string ){
return hello + ' ' + string;
}

helloWorld('World');

&quot;));
</pre>
<p>Such things might come in handy one day, <a href="https://plus.google.com/115423703838305233565/posts/VtskgWhB3kV">you know</a>.</p>
<!-- google_ad_section_end -->
]]></content:encoded>
			<wfw:commentRss>http://www.nerdpress.org/2012/03/09/run-javascript-code-in-php-5-3-with-the-v8js-extension/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sending invalid Unicode via socket.io</title>
		<link>http://www.nerdpress.org/2011/11/16/sending-invalid-unicode-via-socket-io/</link>
		<comments>http://www.nerdpress.org/2011/11/16/sending-invalid-unicode-via-socket-io/#comments</comments>
		<pubDate>Wed, 16 Nov 2011 14:48:54 +0000</pubDate>
		<dc:creator>Ivo Bathke</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[socket.io]]></category>

		<guid isPermaLink="false">http://nerdpress.org/?p=1971</guid>
		<description><![CDATA[Well you can try to, but it will end up almost probably in an disconnect which is caused by the browser. As i have learned here. Given you have a string which contains invalid unicode like: This will trouble the browser and the socket connection. If you prepare your json with PHP and  json_encode the [...]]]></description>
			<content:encoded><![CDATA[
<!-- google_ad_section_start -->
<p>Well you can try to, but it will end up almost probably in an disconnect which is caused by the browser.<br />
As i have learned <a href="https://github.com/LearnBoost/socket.io/issues/572">here</a>.</p>
<p>Given you have a string which contains invalid unicode like:</p>
<p><a href="http://nerdpress.org/wp-content/uploads/2011/11/invalid_unicode.png" rel="lightbox[post-1971]" title=""><img class="alignnone size-medium wp-image-1976" src="http://nerdpress.org/wp-content/uploads/2011/11/invalid_unicode-300x29.png" alt="Invalid Unicode-300x29 in " width="300" height="29" /></a><br />
This will trouble the browser and the socket connection.</p>
<p>If you prepare your json with PHP and  <em>json_encode</em> the Unicode will be escaped to some strings like these:</p>
<p><code>\ud83d\ude31\ud83d\ude31\ud83d\ude04\ud83d\ude04\ud83d\udc9c\ud83d\udc9c\ud83d\udc4a</code></p>
<p>But on clientside it will still result in invalid Unicode.<br />
<span id="more-1971"></span></p>
<p>So after a lot of recherche i found <a href="http://stackoverflow.com/questions/410704/cyrillic-characters-in-phps-json-encode">this</a> and used the <em>decodeUnicodeString</em> function from Zend to convert the escaped Unicode characters again to their unescaped representation. (dont forget the replacement as described in the post at stackoverflow if you extract it from Zend)<br />
If the character is invalid it will be replaced by a question mark &#8216;?&#8217;.<br />
This is at least what i asume.<br />
The ? went through fine and the socket connection stays alive.</p>
<p>Ok the downside is you loose weird signs for an &#8216;?&#8217;, but i can live with that.<br />
But im not really convinced with that solution, so if anybody knows another way to detect invalid Unicode sequences, let me know!</p>
<!-- google_ad_section_end -->
]]></content:encoded>
			<wfw:commentRss>http://www.nerdpress.org/2011/11/16/sending-invalid-unicode-via-socket-io/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[Symfony 2] AsseticBundle, Less CSS &amp; YUI Compressor unter OSX installieren</title>
		<link>http://www.nerdpress.org/2011/08/25/symfony-2-asseticbundle-less-css-yui-compressor-unter-osx-installieren/</link>
		<comments>http://www.nerdpress.org/2011/08/25/symfony-2-asseticbundle-less-css-yui-compressor-unter-osx-installieren/#comments</comments>
		<pubDate>Thu, 25 Aug 2011 16:55:02 +0000</pubDate>
		<dc:creator>Johannes Heinen</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[JS]]></category>
		<category><![CDATA[node.js]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Symfony]]></category>
		<category><![CDATA[Assetic]]></category>
		<category><![CDATA[filter]]></category>
		<category><![CDATA[less]]></category>
		<category><![CDATA[symfony 2]]></category>
		<category><![CDATA[Twig]]></category>
		<category><![CDATA[yui-compressor]]></category>

		<guid isPermaLink="false">http://nerdpress.org/?p=1600</guid>
		<description><![CDATA[Less CSS und YUI-Compressor mit Assetic unter OSX installieren und innerhalb Symfony 2 konfigurieren.]]></description>
			<content:encoded><![CDATA[
<!-- google_ad_section_start -->
<p>Das AsseticBundle ist ein Wrapper um <a href="https://github.com/kriswallsmith/assetic">Assetic</a>, ein geniales Tool, um statische Assets für Webprojekte zu verwalten. AsseticBundle ist extrem einfach zu verwenden, einfach die entsprechende Filter-Chain via yaml konfigurieren, um mehr muss man sich nicht kümmern. Natürlich allerdings müssen die zugrundeliegenden Abhängigkeiten im Vorfeld installiert sein. In unserem Falle benötigen wir den <a href="http://developer.yahoo.com/yui/compressor/">Yui-Compressor</a> als jar-File und <a href="http://lesscss.org/">Less CSS</a>. Less ist ein <a href="http://nodejs.org/">node.js</a> Modul, was bedingt, dass wir zuvor node.js installieren müssen.<br />
<span id="more-1600"></span></p>
<p>Also node.js via macports holen:</p>
<pre class="brush: bash; title: ; notranslate">
$ sudo port install nodejs
</pre>
<p>Und den node.js-eigenen Package-Manager:</p>
<pre class="brush: bash; title: ; notranslate">
$ sudo port install npm
</pre>
<p>Mit diesem installieren wir als nächsts less, und zwar &#8220;global&#8221; (via -g)-Flag (&#8220;global&#8221; bedeutet, dass das Modul unter $nodejs_lib_path/../node_modules abgelegt wird, ansonsten wird es im aktuellen Arbeitsverzeichnis unter ./node_modules installiert):</p>
<pre class="brush: bash; title: ; notranslate">
$ sudo npm install -g less
</pre>
<p>Damit haben wir alles, um unsere less CSS Stylesheets kompilieren zu können.</p>
<p>Als nächstes holen wir uns den Yui-Kompressor, diesen habe ich mir einfach aus dem Netz gezogen und unter app/java/yuicompressor-2.4.6.jar abgelegt (Die Binary findet ihr unter <a href="http://developer.yahoo.com/yui/compressor/">http://developer.yahoo.com/yui/compressor/</a>).</p>
<p>Nun die Konfiguration:</p>
<p>app/config.yml:</p>
<pre class="brush: python; title: ; notranslate">
# Assetic Configuration
assetic:
    debug:          %kernel.debug%
    use_controller: false
    filters:
        cssrewrite: ~
        less:
          node: /opt/local/bin/node
          node_paths: [/opt/local/lib/node, /opt/local/lib/node_modules]
        yui_css:
          jar: %kernel.root_dir%/java/yuicompressor-2.4.6.jar
</pre>
<p>Zu beachten sind die &#8220;node_paths&#8221;. Der node.js-Modulpfad muss explizit angegeben werden, sonst kann node.js die require()-Statements nicht auflösen (das sind sozusagen die node.js-&#8221;Classpaths&#8221;). /opt/local/lib/node zeigt auf Core-Module, in /opt/local/lib/node_modules liegt unser less.</p>
<p>Um den Yui-Kompressor zu aktivieren, reicht der simple Pfad zur .jar-Datei.</p>
<p>Nun müssen wir nur noch unser Twig-Layout anpassen:</p>
<p>src/Nerdpress/DemoBundle/Resources/views/layout.html.twig:</p>
<pre class="brush: xml; title: ; notranslate">
&lt;!DOCTYPE html&gt;
&lt;html&gt;
    &lt;head&gt;
        &lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot; /&gt;
        {% stylesheets
                '@NerdpressDemoBundle/Resources/public/css/main.css'
                '@NerdpressDemoBundle/Resources/public/css/layout.css'
        	filter='less,?yui_css'
                combine=true
        %}
          &lt;link rel=&quot;stylesheet&quot; href=&quot;{{ asset_url }}&quot; type=&quot;text/css&quot; media=&quot;all&quot; /&gt;
        {% endstylesheets %}
</pre>
<p>Das &#8220;?&#8221; vor dem Filter &#8220;yui_css&#8221; bedingt, dass die CSS-Compression nur angeschaltet wird, wenn der Debug-Parameter auf false steht. &#8220;Combine&#8221; bedeutet, dass alle CSS-Dateien in einer einzigen, großen Datei zusammengefügt werden, und &#8220;less&#8221; bedeutet letztlich, dass alle CSS-Dateien mittels less CSS precompiled werden.</p>
<p>That´s it. Die Seite im Browser öffnen und das Ergebnis bewundern. Viel Spaß! Symfony ist schon was feines&#8230;</p>
<!-- google_ad_section_end -->
]]></content:encoded>
			<wfw:commentRss>http://www.nerdpress.org/2011/08/25/symfony-2-asseticbundle-less-css-yui-compressor-unter-osx-installieren/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>jquery pump effect</title>
		<link>http://www.nerdpress.org/2011/07/25/jquery-pump-effect/</link>
		<comments>http://www.nerdpress.org/2011/07/25/jquery-pump-effect/#comments</comments>
		<pubDate>Mon, 25 Jul 2011 16:02:25 +0000</pubDate>
		<dc:creator>Ivo Bathke</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[JS]]></category>
		<category><![CDATA[Jquery]]></category>

		<guid isPermaLink="false">http://nerdpress.org/?p=1546</guid>
		<description><![CDATA[some new loader effect? this is a small jquery plugin that renders something like a pump or glow effect by switching two css classes with jquery UI transitions in an endless loop. the loop can be stopped by applying a stop class to the element. watch the demo on this almost autogenerated github page: Demo [...]]]></description>
			<content:encoded><![CDATA[
<!-- google_ad_section_start -->
<p>some new loader effect?<br />
this is a small jquery plugin that renders something like a pump or glow effect by switching two css classes with jquery UI transitions in an endless loop.<br />
the loop can be stopped by applying a stop class to the element.</p>
<p>watch the demo on this <em>almost autogenerated</em> github page:<br />
<a href="http://ivoba.github.com/jquery-pump/">Demo</a></p>
<p><span id="more-1546"></span></p>
<p>Usage is like this:</p>
<pre class="brush: jscript; title: ; notranslate">
 $('.status').pump({normal: 'normal',
                    pump: 'pumpup',
                    interval: 400,
                    stop: 'statusDone'});
</pre>
<!-- google_ad_section_end -->
]]></content:encoded>
			<wfw:commentRss>http://www.nerdpress.org/2011/07/25/jquery-pump-effect/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Ajax Deeplinks mit jQuery Address</title>
		<link>http://www.nerdpress.org/2011/04/04/ajax-deeplinks-mit-jquery-address/</link>
		<comments>http://www.nerdpress.org/2011/04/04/ajax-deeplinks-mit-jquery-address/#comments</comments>
		<pubDate>Mon, 04 Apr 2011 12:49:38 +0000</pubDate>
		<dc:creator>Ivo Bathke</dc:creator>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[JS]]></category>
		<category><![CDATA[Ajax]]></category>
		<category><![CDATA[Jquery]]></category>

		<guid isPermaLink="false">http://nerdpress.org/?p=1443</guid>
		<description><![CDATA[Aus der Reihe: feine jQuery Plugins, um nicht zu sagen essentielle jQuery Plugins, heute: jQuery Address Damit kann man sehr einfach Deeplinks in Ajax getriebenen Seiten realisieren. So lassen sich zum Beispiel verschiedene Zustände in einer Ajax Seite navigierbar machen, wie zum Beispiel einzelne Tabs via Link öffnen oder auch Akkordion Zustände. Oder man kann [...]]]></description>
			<content:encoded><![CDATA[
<!-- google_ad_section_start -->
<p>Aus der Reihe: feine jQuery Plugins, um nicht zu sagen essentielle jQuery Plugins, heute:<br />
<a href="https://github.com/asual/jquery-address">jQuery Address</a></p>
<p>Damit kann man sehr einfach Deeplinks in Ajax getriebenen Seiten realisieren.</p>
<p>So lassen sich zum Beispiel verschiedene Zustände in einer Ajax Seite navigierbar machen, wie zum Beispiel einzelne Tabs via Link öffnen oder auch Akkordion Zustände.<br />
Oder man kann Ajax Bereiche SEO technisch erfassbar machen.</p>
<p><span id="more-1443"></span></p>
<p>Das Plugin nutzt auch die HTML5 History API, damit werden Ajax Zustände in die Browser History geschrieben, womit sich der Zurück Button dann auch damit nutzen läßt ohne die Seite neu laden zu müssen.<br />
Auch kann man einfach die Url im Address Bar ändern.</p>
<p>Am besten schaut man sich mal die Beispiele auf der <a href="http://www.asual.com/jquery/address/samples/">Demo Seite</a> an.</p>
<p>Tolle Sache.  </p>
<!-- google_ad_section_end -->
]]></content:encoded>
			<wfw:commentRss>http://www.nerdpress.org/2011/04/04/ajax-deeplinks-mit-jquery-address/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>reload CSS in Firefox 4.0</title>
		<link>http://www.nerdpress.org/2011/03/23/reload-css-in-firefox-4-0/</link>
		<comments>http://www.nerdpress.org/2011/03/23/reload-css-in-firefox-4-0/#comments</comments>
		<pubDate>Wed, 23 Mar 2011 10:09:14 +0000</pubDate>
		<dc:creator>Max Girkens</dc:creator>
				<category><![CDATA[JS]]></category>
		<category><![CDATA[bookmarklet]]></category>
		<category><![CDATA[firefox4]]></category>
		<category><![CDATA[reload css]]></category>

		<guid isPermaLink="false">http://nerdpress.org/?p=1432</guid>
		<description><![CDATA[Firefox 4 ist ja nun draussen: http://www.mozilla-europe.org/de/ Die Addons Firebug und der JSON Viewer sind ja zum Glück auch schon kompatibel. Mein anderes Lieblingsaddon, der CSS reloader leider noch nicht. Coolerweise gibt es aber dieses Bookmarklet: http://david.dojotoolkit.org/recss.html dass genau das tut. Supersache!]]></description>
			<content:encoded><![CDATA[
<!-- google_ad_section_start -->
<p>Firefox 4 ist ja nun draussen:<br />
<a href="http://www.mozilla-europe.org/de/">http://www.mozilla-europe.org/de/</a></p>
<p>Die Addons Firebug und der JSON Viewer sind ja zum Glück auch schon kompatibel.<br />
Mein anderes Lieblingsaddon, der <a href="http://nerdpress.org/2009/11/21/kleines-addon-grose-wirkung/">CSS reloader</a> leider noch nicht.</p>
<p>Coolerweise gibt es aber dieses <a href="http://de.wikipedia.org/wiki/Bookmarklet">Bookmarklet</a>:<br />
<a href="http://david.dojotoolkit.org/recss.html">http://david.dojotoolkit.org/recss.html</a><br />
dass genau das tut.<br />
Supersache!</p>
<!-- google_ad_section_end -->
]]></content:encoded>
			<wfw:commentRss>http://www.nerdpress.org/2011/03/23/reload-css-in-firefox-4-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Debuggin JSON mit JSON Views</title>
		<link>http://www.nerdpress.org/2010/11/17/debuggin-json-mit-json-views/</link>
		<comments>http://www.nerdpress.org/2010/11/17/debuggin-json-mit-json-views/#comments</comments>
		<pubDate>Wed, 17 Nov 2010 15:37:32 +0000</pubDate>
		<dc:creator>Ivo Bathke</dc:creator>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Firebug]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Json]]></category>

		<guid isPermaLink="false">http://nerdpress.org/?p=1214</guid>
		<description><![CDATA[Wer kennt das nicht: man entwickelt mit JSON, will die AJAX Rückgabe kontrollieren und macht, wie gewohnt, im Firefox den Firebug auf und checkt unter Console den AJAX Request und sieht folgendes: Nicht sehr erhellend! Total unübersichtlich! Nicht gut! Wird JSON mit dem richtigen Header ausgeliefert, unter PHP geht der so: Dann kann man ein [...]]]></description>
			<content:encoded><![CDATA[
<!-- google_ad_section_start -->
<p>Wer kennt das nicht: man entwickelt mit JSON, will die AJAX Rückgabe kontrollieren und macht, wie gewohnt, im Firefox den Firebug auf und checkt unter Console den AJAX Request und sieht folgendes:<br />
<a href="http://nerdpress.org/wp-content/uploads/2010/11/json_firebug_raw.png" rel="lightbox[post-1214]" title=""><img src="http://nerdpress.org/wp-content/uploads/2010/11/json_firebug_raw-300x70.png" alt="Json Firebug Raw-300x70 in " width="300" height="70" class="alignnone size-medium wp-image-1215" /></a><br />
Nicht sehr erhellend! Total unübersichtlich! Nicht gut!</p>
<p>Wird JSON mit dem richtigen Header ausgeliefert, unter PHP geht der so:</p>
<pre class="brush: php; title: ; notranslate">
header('Content-type: application/json');
</pre>
<p><span id="more-1214"></span></p>
<p>Dann kann man ein feines Feature von Firebug nutzen:<br />
den JSON View, dieser versteckt sich unter der Response als JSON Tab.<br />
<a href="http://nerdpress.org/wp-content/uploads/2010/11/Json_view_firebug.png" rel="lightbox[post-1214]" title=""><img src="http://nerdpress.org/wp-content/uploads/2010/11/Json_view_firebug-300x141.png" alt="Json View Firebug-300x141 in " width="300" height="141" class="alignnone size-medium wp-image-1216" /></a></p>
<p>Ja schon besser! Aber, ich wiederhole, nur mit dem richtigen Header, mit <em>text/html</em> o.ä. ist dieser Tab nicht zu sehen.</p>
<p>Nun gut, trotzdem ein bißchen eng da alles in der FireBug Hülle.<br />
Ich mach ja ganz gerne den Ajax Call in einem neuen Tab auf, um zu sehen ob alles drin ist.<br />
Dann empfiehlt sich ein Firefox AddOn: <a href="https://addons.mozilla.org/de/firefox/addon/10869/">JSONView</a></p>
<p>Dies rendered das JSON schön im Firefox, wenn , Ihr habts erraten, der Header stimmt: <strong>application/json</strong> !<br />
<a href="http://nerdpress.org/wp-content/uploads/2010/11/JSONViewer.png" rel="lightbox[post-1214]" title=""><img src="http://nerdpress.org/wp-content/uploads/2010/11/JSONViewer-300x183.png" alt="JSONViewer-300x183 in " width="300" height="183" class="alignnone size-medium wp-image-1217" /></a><br />
So ist gut!</p>
<!-- google_ad_section_end -->
]]></content:encoded>
			<wfw:commentRss>http://www.nerdpress.org/2010/11/17/debuggin-json-mit-json-views/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

