<?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>evølutiøn-515.net &#187; JavaScript</title>
	<atom:link href="http://blog.evolution515.net/article/category/coding/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.evolution515.net</link>
	<description>Chaos ist nur eine andere Bezeichung für steigende Komplexität.</description>
	<lastBuildDate>Wed, 03 Jun 2009 22:55:19 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Uploads via HTTP are still an issue…</title>
		<link>http://blog.evolution515.net/article/uploads-via-http-are-still-an-issue/</link>
		<comments>http://blog.evolution515.net/article/uploads-via-http-are-still-an-issue/#comments</comments>
		<pubDate>Sun, 01 Feb 2009 21:33:05 +0000</pubDate>
		<dc:creator>Blu:RayNe</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[Browser]]></category>
		<category><![CDATA[Coding]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[aurigma]]></category>
		<category><![CDATA[ftp]]></category>
		<category><![CDATA[http]]></category>
		<category><![CDATA[upload]]></category>
		<category><![CDATA[upload applet]]></category>

		<guid isPermaLink="false">http://blog.evolution515.net/?p=408</guid>
		<description><![CDATA[Even in the days of Web 2.0 you encounter many errors when it comes to Uploads via HTTP. The protocol was never made for uploads or better to say: there are still enough bugs in implementations and the protocol itself. 
Very familar, e.g. is the problem of having a meter on upload progress. And i [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Even in the days of Web 2.0 you encounter many errors when it comes to Uploads via HTTP. The protocol was never made for uploads or better to say: there are still enough bugs in implementations and the protocol itself. </strong></p>
<p><strong>Very familar, e.g. is the problem of having a meter on upload </strong><strong>progress</strong><strong>. And i also don&#8217;t want to mention the problems of WebDAV implementation of Windows for now, or the limitations of firewalls or proxies&#8230; </strong></p>
<p><strong>But let&#8217;s have a look on solutions provided today in the Web for Uploads…</strong></p>
<h3><strong>Flash/HTTP</strong></h3>
<p>We have a modified version of R6 running on a webshop with regular uploads of 20-70MB files. If upload goes to fast – like on business lines with upstream ≥3Mb – Flash is likely to throw errors telling the visitor a script is running too slow. Then the customer has to choose „continue“ or to „cancel“, which usually ends up in canceling the job  <img src='http://blog.evolution515.net/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> </p>
<p>This behavior is caused by Flash calling the „onFileChunkComplete“-Event (or something) too often, or let&#8217;s say after every 4096 bytes sent, which can result in many many calls if you have a good upstream bandwidth.</p>
<p>Second, there are also those „unknown errors“ in Flash caused at runtime. The source yet is unknown and it seems to continue with Flash10 and  some little amount of customers smaller than one percent share. Sorry, <em>unknown </em>means <em>unknown </em>and Adobe won&#8217;t give support here! we&#8217;re back to Flash9  <img src='http://blog.evolution515.net/wp-includes/images/smilies/icon_confused.gif' alt=':-?' class='wp-smiley' /> </p>
<p>Yet the same thing happens to JavaScript if update goes too fast and too often, e.g. by using a progress bar constantly being updated (20-50times in the second). Therefore I had to split up the graphical update process to a seperate class that just goes on update intervals calling the <em>current/total-values</em> of the FileUpload-Class.</p>
<p>Well using Flash as upload client is nice, especially with the ability to use real sockets. For Flash9 the HTTP methods don&#8217;t provide the possibility of splitting large files – so you could upload them in seperate chunks. It&#8217;s about  security.</p>
<p>Then Flash10 possibly could do now (by accepting local files), but here we have the issue of having the upload beeing fired from Flash itself &#8211; scripting doesn&#8217;t work anymore, so no <em>hidden</em> flash uploader, that could do the job  <img src='http://blog.evolution515.net/wp-includes/images/smilies/icon_cry.gif' alt=':cry:' class='wp-smiley' /> </p>
<p>But customer complaints still continues… especially form those using MSIE and don&#8217;t get a thing right.</p>
<h3>PHP and APC, for now. HTTP again…</h3>
<p>Okay, usually you gotta think this works now. It&#8217;s out now for long enough.  But fail of proof!</p>
<p>I leeched some script form <a href="http://www.phpriot.com/articles/php-ajax-file-uploads">PHPRiot</a> yesterday by Quentin Zervaas, fixed some bugs (<em>while(1=1) </em>is great idea in JavaScript  <img src='http://blog.evolution515.net/wp-includes/images/smilies/icon_eek.gif' alt='8-O' class='wp-smiley' /> ), added a file limit check and hoped i finally would have something <em>that really works</em>.  But it didn&#8217;t:</p>
<ul>
<li>Multiple file-fields do not work with APC</li>
<li>If file uploaded is greater than far greater than limit, apc throws out 0-values for current and total</li>
<li>Sometimes just seems stop working somehow; but after an apache restart apache it works again  <img src='http://blog.evolution515.net/wp-includes/images/smilies/icon_cry.gif' alt=':cry:' class='wp-smiley' /> </li>
</ul>
<p>I tried so many ‘solutions’ now and somehow it really seems to me, that monitoring the upload by calling a server-side status-script always has some problems. Probably it is really an Apache-issue… we&#8217;ll have too see…</p>
<h3>Sliced HTTP Upload via Plugins &#8211; a solution?</h3>
<p>I already mentioned it in the Flash/HTTP section, and indeed it&#8217;s more safe, because the file chunks are simply smaller!</p>
<p>I did many tests with Apache, and often it just happens that Apache closes a TCP connection on big file uploads. The source is yet unknown to me. Probably it has to do with Apache itself. I didn&#8217;t encounter the problem when using FastCGI and a Perl-Script to handle my upload.</p>
<p>So, i guess doing sliced upload is a good option. But then you could only use Flash10 which has other restrictions or Java. Yep, that thing that only works on 70-80%  of user browsers, MSIE for the rest that reports about having Java supported – true indeed – the other problem is: does it really run on those often misconfigured and compromised customer systems?</p>
<p>Well Flash10 now does, but have some limitations we probably could live with:</p>
<ul>
<li>load() and save() APIs can only be called in response to user interaction (such as a button click).</li>
<li>locations of the loaded and save files are not exposed to ActionScript.</li>
</ul>
<p>Since the API is now asynchronous (non-blocking),</p>
<h3><strong>Final match: HTTP vs. FTP-Uploads in the client<br />
</strong></h3>
<ul>
<li>HTTP was not made for upload!</li>
<li>use more bandwidth than you actually need (base64!)</li>
<li>HTTP is not resumeable (but you could retry on splitted chunks)</li>
</ul>
<p>Let&#8217;s summariuze: You can only monitor what was uplaoded by having control over your client and you can only split files, when you have access on it.</p>
<p>Use a Java-Applet or code a Flash-Client that works over FTP! And use a FTP-Server that is secure and can handle virtual users, like <em>vsftpd</em><strong>. </strong>Then<strong> code some backend,</strong></p>
<h3>Yes! Probably <em>it is</em> a solution. But you still have the problems with users not supperting Java, or who complain about Java „loading“ too long. Here are some other good tries, that usually work:</h3>
<ul>
<li><a href="http://www.aurigma.com/">http://www.aurigma.com/</a></li>
<li><a href="http://www.jupload.biz/">http://www.jupload.biz/</a></li>
<li><a href="http://www.javaatwork.com">http://www.javaatwork.com</a>/</li>
<li><a href="http://upload.thinfile.com/">http://upload.thinfile.com/</a></li>
</ul>
<p>We&#8217;ll see further when the first FTP libraries for Flash 10 are finished.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.evolution515.net/article/uploads-via-http-are-still-an-issue/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>Custom fonts: text replacement via Canvas and VML</title>
		<link>http://blog.evolution515.net/article/custom-fonts-text-replacement-via-canvas-and-vml/</link>
		<comments>http://blog.evolution515.net/article/custom-fonts-text-replacement-via-canvas-and-vml/#comments</comments>
		<pubDate>Tue, 28 Oct 2008 13:29:55 +0000</pubDate>
		<dc:creator>Blu:RayNe</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[@font-face]]></category>
		<category><![CDATA[custom fonts]]></category>
		<category><![CDATA[text replacement]]></category>

		<guid isPermaLink="false">http://blog.evolution515.net/?p=303</guid>
		<description><![CDATA[Still we have to wait until @font-face is ready in all modern browsers. We had text-replacement by Flash, by images created on the server and by half-working SVG so far. Now it&#8217;s time for another approach: text replacement via pure Javascript!
Basically the script draws JSON font outlines converted via a Perl-Script from TTF and uses [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.evolution515.net/media/typeface-js.png"><img class="size-medium wp-image-304 alignright" style="float:right;margin-left:1em" title="CSS supported via typeface.js" src="http://blog.evolution515.net/media/typeface-js-300x202.png" alt="" width="200" height="120" /></a>Still we have to wait until @font-face is ready in all modern browsers. We had text-replacement by Flash, by images created on the server and by half-working SVG so far. Now it&#8217;s time for another approach: text replacement via pure Javascript!</p>
<p>Basically the script draws JSON font outlines converted via a Perl-Script from TTF and uses both VML and Canvas for rendering. Only problem: text cannot be selected and copied to the clipboard anymore.</p>
<div style="clear:both;height:1em"></div>
<blockquote><p><strong>There&#8217;s work left to be done. Planned improvements:</strong></p>
<ul>
<li>Full support for @font-face rules, if possible</li>
<li>Support for hinting (this seems like a viable option)</li>
<li>Speed improvements, especially for IE</li>
<li>Work around Opera&#8217;s getComputedStyle() issues</li>
<li>Possible support for SVG backend</li>
<li>Work around needing to specify &#8216;typeface-js&#8217; as a class name</li>
<li>More CSS support, including :hover and x-height</li>
<li>React to DOMNode* events to support DHTML</li>
</ul>
</blockquote>
<p> </p>
<p><strong>Great job: It&#8217;s working on all major modern and semi-modern browser (MSIE7). I&#8217;ll be using that! Thanks!</strong></p>
<p>More here: <a href="http://typeface.neocracy.org/">http://typeface.neocracy.org/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.evolution515.net/article/custom-fonts-text-replacement-via-canvas-and-vml/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DOJO needs a package managment!</title>
		<link>http://blog.evolution515.net/article/dojo-needs-a-package-managment/</link>
		<comments>http://blog.evolution515.net/article/dojo-needs-a-package-managment/#comments</comments>
		<pubDate>Mon, 25 Feb 2008 13:21:41 +0000</pubDate>
		<dc:creator>Blu:RayNe</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[]]></category>
		<category><![CDATA[dojo]]></category>
		<category><![CDATA[i18n]]></category>
		<category><![CDATA[internationalization]]></category>
		<category><![CDATA[jel]]></category>
		<category><![CDATA[localisation]]></category>

		<guid isPermaLink="false">http://blog.evolution515.net/article/dojo-needs-a-package-managment/</guid>
		<description><![CDATA[I needed some locale date and number parsing fucntion for javascript today. As it goes for what the user sees i do usually do parsing and validation on the server-side. But this time i needed something for an admin interface that does also some javascript-based price calculation on the client-side.
So far i searched via Google [...]]]></description>
			<content:encoded><![CDATA[<p>I needed some locale date and number parsing fucntion for javascript today. As it goes for what the user sees i do usually do parsing and validation on the server-side. But this time i needed something for an admin interface that does also some javascript-based price calculation on the client-side.</p>
<p>So far i searched via Google for Prototype-based Libs on i18n, sprintf and so on. I found&nbsp; <a href="http://jel.mondea.com.au">JEL (JavaScript Enhancement Library)</a>&nbsp; and gave it try, but hardly to say: it is too bloated and the author implemented much english-language based method, but so far no <i>sprintf</i>, which i find is essential. And in overall the lib was ober 200KB for only doing I18n stuff!</p>
<p>Then i found out <a href="http://dojotoolkit.org/">DOJO</a> implements <i>Date.POSI</i>X and also a a <i>String.sprintf</i> that seemed very complete and began browsing the <a href="http://dojotoolkit.org/">DOJO-Website</a>. DOJO so far is IBM-sponsored and it was nice to see it reached a mature stage of development. I don&#8217;t like the namespaced function calls in JavaScript much, but on the server side doing java stuff like in GWT would be nice with that.</p>
<p>Still one big problem remains with DOJO: it just fucking hangs my browser and loads too damn slow!</p>
<p>DOJO has a nice dojo.require() which loads required dependencies on-the-fly. I had my own approach on that via the Prototype-based Postload.js. But the main problem with DOJO is that every class has again it&#8217;s own dependencies. You just have to inlcude one line of javascript in your HTML header, but when you do following require-statements&hellip;</p>
<div class="dean_ch" style="white-space: wrap;">
dojo.<span class="me1">require</span><span class="br0">&#40;</span><span class="st0">&quot;dojo.date.locale&quot;</span><span class="br0">&#41;</span>;<br />
dojo.<span class="me1">require</span><span class="br0">&#40;</span><span class="st0">&quot;dojo.currency&quot;</span><span class="br0">&#41;</span>;<br />
dojo.<span class="me1">require</span><span class="br0">&#40;</span><span class="st0">&quot;dojo.i18n&quot;</span><span class="br0">&#41;</span>;</div>
<p><b>&hellip; it results in firing up about 40 requests on .js-files!&nbsp; That&#8217;s horrible! No wonder, my little Firefox hangs until all files are loaded! So, please, don&#8217;t harm the web, DOJO!</b></p>
<p>I don&#8217;t know if there is any solution out by the DOJO team, so please tell me. My conculusion so far is that for default load process of the website the dependencies should be resolved before the page is even sent to the browser. The browser should have just to load one JavaScript-file that is compressed and contains all default dependencies used by DOJO on the page. So far that can only be done having a little reference of all dependencies, so the haeder can be written accordingly.</p>
<p>If there isn&#8217;t such a thing someone should do that! So far I think think DOJO is a good for my future use, as long as there isn&#8217;t an Prototype- or jQuery-equivalent for i18n.&nbsp;</p>
<p><a href="http://kauriproject.org/wiki/g1/g3/69-kauri.html">KAURI</a> has also a nice <a href="http://kauriproject.org/wiki/g1/g3/69-kauri.html">comparision chart</a> of JavaScript-libraries.</p>
<p><b>UPDATE #1:</b> Probably i could now also check out localisation-support for <a href="http://www.extjs.org">Ext.js</a>&hellip; which seems to miss parse()-functions (or does it automatically). And in overall i don&#8217;t find any great localisation support either <img src='http://blog.evolution515.net/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p><b>UPDATE #2:</b> There seems to be such a thing for DOJO called <a href="http://dojotoolkit.org/book/dojo-book-0-4/part-6-customizing-dojo-builds-better-performance/dojo-build-system/creating-cust">DOJO Build System</a> that uses ant. It could be used as base for automatic server-side file generation in PHP&hellip; great <img src='http://blog.evolution515.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  I just everyone who uses DOJO is also using it, otherwise I am gonig to hate your websites!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.evolution515.net/article/dojo-needs-a-package-managment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Prototip: Now does AJAX with this little Extension.</title>
		<link>http://blog.evolution515.net/article/prototip-new-does-ajax-with-this-ajax-extension/</link>
		<comments>http://blog.evolution515.net/article/prototip-new-does-ajax-with-this-ajax-extension/#comments</comments>
		<pubDate>Fri, 30 Nov 2007 13:37:56 +0000</pubDate>
		<dc:creator>Blu:RayNe</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[dynamic content]]></category>
		<category><![CDATA[prototip]]></category>
		<category><![CDATA[prototype]]></category>

		<guid isPermaLink="false">http://blog.evolution515.net/article/prototip-new-does-ajax-with-this-ajax-extension/</guid>
		<description><![CDATA[Prototip.js is my favorite prototype.js-based tooltip-script at the moment. I&#8217;ve just written this piece in morning because we needed the capability of having dynamic content (or postloading big bits of HTML with images). Enjoy!

/**
&#160;* AjaxTip
&#160;* @version 0.1
&#160;* @desc Extension for prototip.js. Now it supports dynamic loading of content. (http://www.nickstakenburg.com/projects/prototip/)
&#160;* @author Markus Geiger 2007
&#160;* @package AjaxTip
&#160;* [...]]]></description>
			<content:encoded><![CDATA[<p><strong><a href="http://www.nickstakenburg.com/projects/prototip/">Prototip.js</a> is my favorite <a href="http://www.prototypejs.org">prototype.js</a>-based tooltip-script at the moment. I&#8217;ve just written this piece in morning because we needed the capability of having dynamic content (or postloading big bits of HTML with images). Enjoy!</strong></p>
<div class="dean_ch" style="white-space: wrap;">
/**<br />
&nbsp;* AjaxTip<br />
&nbsp;* @version 0.1<br />
&nbsp;* @desc Extension for prototip.js. Now it supports dynamic loading of content. (http://www.nickstakenburg.com/projects/prototip/)<br />
&nbsp;* @author Markus Geiger 2007<br />
&nbsp;* @package AjaxTip<br />
&nbsp;* @license MIT<br />
&nbsp;* @url http://blog.evolution515.net<br />
&nbsp;*/</p>
<p>var AjaxTip = Class.create(Tip, {<br />
&nbsp; &nbsp; hasContentLoaded: false,<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; start: function() {<br />
&nbsp; &nbsp; &nbsp; &nbsp; this.require(&#8216;Tip&#8217;);<br />
&nbsp; &nbsp; },<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; initialize: function(elem, href) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; this.elem = elem;<br />
&nbsp; &nbsp; &nbsp; &nbsp; this.href = href;<br />
&nbsp; &nbsp; &nbsp; &nbsp; this.options = arguments[3] || {};<br />
&nbsp; &nbsp; &nbsp; &nbsp; this.eventMousemove = this.mousemove.bindAsEventListener(this);<br />
&nbsp; &nbsp; &nbsp; &nbsp; elem.observe(&#8216;mousemove&#8217;, this.eventMousemove);<br />
&nbsp; &nbsp; },<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; mousemove: function(e) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; if (this.tip)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return false;</p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; // Initialize Tip<br />
&nbsp; &nbsp; &nbsp; &nbsp; var content = &#8216;&lt;img alt=&quot;&quot; src=&quot;lib/ajaxloader/tooltip.gif&quot; style=&quot;vertical-align: top;&quot; /&gt; Loading&amp;hellip;&#8217;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; this.tip = new Tip(<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; this.elem, <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; content,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; this.options<br />
&nbsp; &nbsp; &nbsp; &nbsp; );</p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; // Make AJAX Request and load content<br />
&nbsp; &nbsp; &nbsp; &nbsp; var tip = this.tip;<br />
&nbsp; &nbsp; &nbsp; &nbsp; this.request = new Ajax.Request(<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; this.href, <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; method: &#8216;get&#8217;,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; onSuccess: function(transport) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tip.content = transport.responseText;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tip.tip.innerHTML = transport.responseText;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; );</p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; this.elem.tip = this.tip;<br />
&nbsp; &nbsp; &nbsp; &nbsp; Event.stopObserving(this.elem, &#8216;mousemove&#8217;, this.eventMousemove);<br />
&nbsp; &nbsp; }<br />
});</div>
<p><strong>And here&#8217;s a replacement for a better default </strong><strong>CSS </strong><strong>style:</strong></p>
<div class="dean_ch" style="white-space: wrap;">
<p><span class="coMULTI">/* Tooltip styles */</span><br />
<span class="re1">.prototip</span> <span class="re1">.default</span> <span class="br0">&#123;</span> <br />
&nbsp; &nbsp; <span class="kw1">width</span>: <span class="re3">150px</span>; <br />
<span class="br0">&#125;</span><br />
<span class="re1">.prototip</span> <span class="re1">.default</span> <span class="re1">.toolbar</span> <span class="br0">&#123;</span> <br />
&nbsp; &nbsp; <span class="kw1">background</span>: <span class="re0">#FFE</span>; <br />
<span class="br0">&#125;</span><br />
<span class="re1">.prototip</span> <span class="re1">.default</span> <span class="re1">.title</span> <span class="br0">&#123;</span> <br />
&nbsp; &nbsp; <span class="kw1">padding</span>: <span class="re3">5px</span>; <br />
<span class="br0">&#125;</span><br />
<span class="re1">.prototip</span> <span class="re1">.default</span> <span class="re1">.content</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; <span class="kw1">background</span>: <span class="re0">#FFE</span>; <br />
&nbsp; &nbsp; <span class="kw1">font-size</span>: <span class="re3">11px</span>;<br />
&nbsp; &nbsp; <span class="kw1">font-family</span>: Arial, <span class="kw2">sans-serif</span>;<br />
&nbsp; &nbsp; <span class="kw1">padding</span>: <span class="re3">6px</span>;<br />
&nbsp; &nbsp; text-align<span class="re2">:left</span>;<br />
&nbsp; &nbsp; min-height<span class="re2">:<span class="re3">1em</span></span>;<br />
&nbsp; &nbsp; width<span class="re2">:<span class="re3">200px</span></span>;<br />
&nbsp; &nbsp; <span class="kw1">color</span>:<span class="re0">#<span class="nu0">000</span></span>;<br />
&nbsp; &nbsp; border<span class="re2">:<span class="re3">1px</span></span> <span class="kw2">solid</span> <span class="re0">#<span class="nu0">999</span></span>;<br />
&nbsp; &nbsp; border-radius<span class="re2">:<span class="re3">5px</span></span>;<br />
&nbsp; &nbsp; -moz-border-radius<span class="re2">:<span class="re3">5px</span></span>;<br />
<span class="br0">&#125;</span><br />
&nbsp;</div>
<p>You can create a neat AJAX-Loader GIF <a href="http://www.ajaxload.info/">here</a>. Use&nbsp; <i>#FFFFDD</i> for background and <i>#999999 </i>for foreground color.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.evolution515.net/article/prototip-new-does-ajax-with-this-ajax-extension/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Post-load your JavaScript and CSS files!</title>
		<link>http://blog.evolution515.net/article/post-load-your-javascript-and-css-files/</link>
		<comments>http://blog.evolution515.net/article/post-load-your-javascript-and-css-files/#comments</comments>
		<pubDate>Wed, 25 Jul 2007 17:45:09 +0000</pubDate>
		<dc:creator>Blu:RayNe</dc:creator>
				<category><![CDATA[Browser]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://blog.evolution515.net/article/post-load-your-javascript-and-css-files/</guid>
		<description><![CDATA[If you look at todays web 2.0 sites you will realize there is often a heavy load on external JavaScript resources, CSS files and probably images. Above compressing and optimizing the files and merging multiple files (also background-images), there is not much room to further optimize the page loading process.
One problem of many modern sites [...]]]></description>
			<content:encoded><![CDATA[<p><img width="200" height="160" alt="" src="http://blog.evolution515.net/media/Image/chick.jpg" style="float: right; margin-left: 0.4em;" class="border image" />If you look at todays web 2.0 sites you will realize there is often a heavy load on external JavaScript resources, CSS files and probably images. Above compressing and optimizing the files and merging multiple files (also background-images), there is not much room to further optimize the page loading process.</p>
<p>One problem of many modern sites is that they often provide optional functions for the user at the price of loading the main libraries all at once ending in a terrible site- and javascript-performance. I&#8217;ve already spoken about that once before and see more and more a good chance for web-applications based on Flex, or a real interface-language or perhaps Java. But we&#8217;re speaking about web-sites here not applications (anyway you could intermix them)!</p>
<p>Imagine a &bdquo;passage-way&ldquo; or &bdquo;pass-by&ldquo; page: How many of your users will use your &ldquo;godly&rdquo; fully featured search-window that you&#8217;ve implemented with Ext or the Prototype Window-Script and that runs inside the page? And what about&nbsp; overall JS and CSS footprint about 150KB? Really needed? And oh, it&#8217;s the only part of the website you&#8217;re using these scripts.</p>
<p>Maybe one of ten users will use your &ldquo;godly&rdquo; feature. The others all have to load the site, the slow JavaScript and you will pay bandwidth.</p>
<p style="border: 1px solid rgb(204, 204, 204); padding: 0.4em; background-color: rgb(255, 255, 238);">So, why don&#8217;t you just simply load the parts of the site when you need them? AJAX &ndash; it&#8217;s all about that but still people are loading tons of libraries on every single site!?</p>
<p><strong>As you might guessed i worked on such a script today.</strong> It works pretty well in Firefox and Opera (not yet Safari and fucking MSIE), and i still have to come up with some issues and heavy testing (especially on older browser that probably don&#8217;t wanna let their DOM injected JavaScript or CSS; so a good wrapper for <em>&lt;script&gt;</em> is necessary). I just wonder why no one didn&#8217;t come up with that idea <em>and a working script</em> before. It saves me about 120KB on a product page. And 50KB on other sites. Now that&#8217;s ok?!
</p>
<h3>Here&#8217;s a little preview of the alpha sourcecode</h3>
<div class="dean_ch" style="white-space: wrap;"><span class="coMULTI">/**<br />
&nbsp;* Post-Load<br />
&nbsp;* @version 0.1a<br />
&nbsp;* @desc Why preload all your scripts? Dynamically them when they are needed!<br />
&nbsp;* @author Markus Geiger 2007<br />
&nbsp;* @package Postload<br />
&nbsp;* @license MIT<br />
&nbsp;* @url http://blog.evolution515.net<br />
&nbsp;*/</span></p>
<p>PostloadJob = <span class="kw2">Class</span>.<span class="me1">create</span><span class="br0">&#40;</span><span class="br0">&#41;</span>;<br />
PostloadJob.<span class="me1">prototype</span> = <span class="br0">&#123;</span><br />
&nbsp; &nbsp; totalFiles: <span class="nu0">0</span>, <span class="co1">// holds number of total file to load</span><br />
&nbsp; &nbsp; loadedFiles: <span class="nu0">0</span>, <span class="co1">// holds number of loaded files</span><br />
&nbsp; &nbsp; completeHandler: <span class="kw2">null</span>, <span class="co1">// function executed on complete loading</span><br />
&nbsp; &nbsp; errorHandler: <span class="kw2">null</span>, <span class="co1">// function executed on error while loading</span><br />
&nbsp; &nbsp; initialize: <span class="kw2">function</span><span class="br0">&#40;</span>input, completeHandler<span class="br0">&#41;</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="co1">// Init the container for our files</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; Postload.<span class="me1">htmlContainer</span> = $<span class="br0">&#40;</span><span class="st0">&#8216;postload&#8217;</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">if</span> <span class="br0">&#40;</span>!Postload.<span class="me1">htmlContainer</span><span class="br0">&#41;</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw2">var</span> elem = document.<span class="me1">createElement</span><span class="br0">&#40;</span><span class="st0">&#8216;div&#8217;</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; elem.<span class="me1">setAttribute</span><span class="br0">&#40;</span><span class="st0">&#8216;id&#8217;</span>, <span class="st0">&#8216;postload&#8217;</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; document.<span class="me1">body</span>.<span class="me1">appendChild</span><span class="br0">&#40;</span>elem<span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Postload.<span class="me1">htmlContainer</span> = $<span class="br0">&#40;</span><span class="st0">&#8216;postload&#8217;</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">if</span> <span class="br0">&#40;</span>input<span class="br0">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">return</span> <span class="kw1">this</span>.<span class="me1">load</span><span class="br0">&#40;</span>input, completeHandler<span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; <span class="br0">&#125;</span>,<br />
&nbsp; &nbsp; load: <span class="kw2">function</span><span class="br0">&#40;</span>input, completeHandler<span class="br0">&#41;</span> <span class="br0">&#123;</span></p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">if</span> <span class="br0">&#40;</span>completeHandler<span class="br0">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">this</span>.<span class="me1">completeHandler</span> = completeHandler;</p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">if</span> <span class="br0">&#40;</span><span class="kw1">typeof</span><span class="br0">&#40;</span>input<span class="br0">&#41;</span>==<span class="st0">&#8216;object&#8217;</span><span class="br0">&#41;</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">this</span>.<span class="me1">totalFiles</span> = input.<span class="me1">length</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span> <span class="kw1">else</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; input = <span class="br0">&#91;</span>input<span class="br0">&#93;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">this</span>.<span class="me1">totalFiles</span> = <span class="nu0">1</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span></p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">for</span> <span class="br0">&#40;</span>i=<span class="nu0">0</span>;i&lt;input.<span class="me1">length</span>;i++<span class="br0">&#41;</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw2">var</span> filename = input<span class="br0">&#91;</span>i<span class="br0">&#93;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">if</span> <span class="br0">&#40;</span>filename.<span class="me1">indexOf</span><span class="br0">&#40;</span><span class="st0">&#8216;.js&#8217;</span><span class="br0">&#41;</span>!=<span class="nu0">-1</span><span class="br0">&#41;</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">this</span>.<span class="me1">loadJS</span><span class="br0">&#40;</span>filename<span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span> <span class="kw1">else</span> <span class="kw1">if</span> <span class="br0">&#40;</span>filename.<span class="me1">indexOf</span><span class="br0">&#40;</span><span class="st0">&#8216;.css&#8217;</span><span class="br0">&#41;</span>!=<span class="nu0">-1</span><span class="br0">&#41;</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">this</span>.<span class="me1">loadCSS</span><span class="br0">&#40;</span>filename<span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span> <span class="kw1">else</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">return</span> <span class="kw2">false</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span></p>
<p>&nbsp; &nbsp; <span class="br0">&#125;</span>,<br />
&nbsp; &nbsp; complete: <span class="kw2">function</span><span class="br0">&#40;</span><span class="br0">&#41;</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">this</span>.<span class="me1">loadedFiles</span>++;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">if</span> <span class="br0">&#40;</span><span class="kw1">this</span>.<span class="me1">loadedFiles</span>!=<span class="kw1">this</span>.<span class="me1">totalFiles</span><span class="br0">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">return</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">if</span> <span class="br0">&#40;</span><span class="kw1">this</span>.<span class="me1">completeHandler</span><span class="br0">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">this</span>.<span class="me1">completeHandler</span><span class="br0">&#40;</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; <span class="br0">&#125;</span>,<br />
&nbsp; &nbsp; loadJS: <span class="kw2">function</span><span class="br0">&#40;</span>filename<span class="br0">&#41;</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw2">var</span> elem = document.<span class="me1">createElement</span><span class="br0">&#40;</span><span class="st0">&#8217;script&#8217;</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; elem.<span class="me1">setAttribute</span><span class="br0">&#40;</span><span class="st0">&#8217;src&#8217;</span>, filename<span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; Event.<span class="me1">observe</span><span class="br0">&#40;</span>elem, <span class="st0">&#8216;load&#8217;</span>, <span class="kw1">this</span>.<span class="me1">complete</span>.<span class="me1">bindAsEventListener</span><span class="br0">&#40;</span><span class="kw1">this</span><span class="br0">&#41;</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; Postload.<span class="me1">htmlContainer</span>.<span class="me1">appendChild</span><span class="br0">&#40;</span>elem<span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; <span class="br0">&#125;</span>,<br />
&nbsp; &nbsp; loadCSS: <span class="kw2">function</span> <span class="br0">&#40;</span>filename<span class="br0">&#41;</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw2">new</span> Ajax.<span class="me1">Request</span><span class="br0">&#40;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; filename,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; method: <span class="st0">&#8216;get&#8217;</span>,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; onSuccess: <span class="kw1">this</span>.<span class="me1">completeCSS</span>.<span class="me1">bindAsEventListener</span><span class="br0">&#40;</span><span class="kw1">this</span><span class="br0">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; <span class="br0">&#125;</span>,<br />
&nbsp; &nbsp; completeCSS: <span class="kw2">function</span><span class="br0">&#40;</span>transport<span class="br0">&#41;</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw2">var</span> elem = document.<span class="me1">createElement</span><span class="br0">&#40;</span><span class="st0">&#8217;style&#8217;</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; elem.<span class="me1">setAttribute</span><span class="br0">&#40;</span><span class="st0">&#8216;type&#8217;</span>, <span class="st0">&#8216;text/css&#8217;</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; elem.<span class="me1">innerHTML</span> = transport.<span class="me1">responseText</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; Postload.<span class="me1">htmlContainer</span>.<span class="me1">appendChild</span><span class="br0">&#40;</span>elem<span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">this</span>.<span class="me1">complete</span><span class="br0">&#40;</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; <span class="br0">&#125;</span><br />
<span class="br0">&#125;</span></p>
<p>
Postload = <span class="kw2">new</span> Object<span class="br0">&#40;</span><span class="br0">&#41;</span>;<br />
Postload.<span class="me1">htmlContainer</span> = <span class="kw2">null</span>;<br />
Postload.<span class="me1">allFiles</span> = <span class="kw2">new</span> Array<span class="br0">&#40;</span><span class="br0">&#41;</span>;<br />
Postload.<span class="me1">require</span> = <span class="kw2">function</span><span class="br0">&#40;</span>input, completeHandler<span class="br0">&#41;</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; <span class="kw2">new</span> PostloadJob<span class="br0">&#40;</span>input, completeHandler<span class="br0">&#41;</span>;<br />
<span class="br0">&#125;</span></div>
<h3>Example usage</h3>
<p>The syntax is very simple. Just use it like require from your PHP or Java language. The only difference is that it handles more than one file and calls a complete-handler when all files have finished loading. So chaining it into your applications should be very easy.</p>
<div class="dean_ch" style="white-space: wrap;">product._openComparisionWindow = <span class="kw2">function</span><span class="br0">&#40;</span><span class="br0">&#41;</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; Postload.<span class="me1">require</span><span class="br0">&#40;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#91;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="st0">&#8216;gz?lib/windows-js/javascripts/effects.js|lib/windows-js/javascripts/window.js&#8217;</span>,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="st0">&#8216;gz?lib/windows-js/themes/default.css|lib/windows-js/themes/alphacube.css&#8217;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#93;</span>,<br />
&nbsp; &nbsp; &nbsp; &nbsp; product.<span class="me1">openComparisionWindow</span><br />
&nbsp; &nbsp; <span class="br0">&#41;</span>;<span class="br0">&#125;</span></div>
]]></content:encoded>
			<wfw:commentRss>http://blog.evolution515.net/article/post-load-your-javascript-and-css-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Interface Elements for jQuery</title>
		<link>http://blog.evolution515.net/article/interface-elements-for-jquery/</link>
		<comments>http://blog.evolution515.net/article/interface-elements-for-jquery/#comments</comments>
		<pubDate>Thu, 24 May 2007 20:18:18 +0000</pubDate>
		<dc:creator>Blu:RayNe</dc:creator>
				<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://blog.evolution515.net/article/interface-elements-for-jquery/</guid>
		<description><![CDATA[Ah schon wieder eine Interface-Library, werden viele rufen. Aber dieses mal wieder eine, dessen Name man sich merken sollte. Die Interface Elements sind f&#252;r jQuery endlich das, was script.aculo.us f&#252;r prototype.js bereits ist. Wahrscheinlich gibt es sie Bald auch in einer Plugin-Distribution f&#252;r Drupal, welches ja mittlerweile jQuery integriert hat. Das ist damit eine sehr [...]]]></description>
			<content:encoded><![CDATA[<p>Ah schon wieder eine Interface-Library, werden viele rufen. Aber dieses mal wieder eine, dessen Name man sich merken sollte. Die <a href="http://interface.eyecon.ro/demos">Interface Elements</a> sind f&uuml;r <a href="http://jquery.com/">jQuery</a> endlich das, was <a href="http://script.aculo.us">script.aculo.us</a> f&uuml;r <a href="http://prototypejs.org">prototype.js</a> bereits ist. Wahrscheinlich gibt es sie Bald auch in einer Plugin-Distribution f&uuml;r <a href="http://drupal.org">Drupal</a>, welches ja mittlerweile jQuery integriert hat. Das ist damit eine sehr feine Bilbliothek, wie ich finde.</p>
<p>Wie sch&ouml;n, dass man mittlerweile so gut wie freie Wahl hat, was die Bibliotheken angeht, oder wie ich finde alles was <a href="http://www.extjs.org">Ext.js</a> unterst&uuml;tzt ist definitiv gut. Ich frage mich nur wie es mit dem <a href="http://dojotoolkit.org/">DOJO-Toolkit</a> nur weitergehen soll&hellip; ohne vern&uuml;nftige Widgets und vor allem ohne endlich mal kleine JS-Scripts, die den Browser nciht aufh&auml;ngen wird&#8217;s bei denen nie etwas!</p>
<p><strong>Nachtrag:</strong> Prototype.js und Scriptaculous gibt es mittlerweile in einer kombinierten Fassung, namens &ndash; tadaaa &ndash; <a href="http://protoculous.wikeo.be/">Protoculous</a>. Wer h&auml;tte das gedacht?</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.evolution515.net/article/interface-elements-for-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>YUI-Ext nun auch als Ext JS mit Unterst&#252;tzung f&#252;r prototype.js und jQuery!</title>
		<link>http://blog.evolution515.net/article/yui-ext-nun-ext-mit-unterstutzung-fur-prototypejs-und-jquery/</link>
		<comments>http://blog.evolution515.net/article/yui-ext-nun-ext-mit-unterstutzung-fur-prototypejs-und-jquery/#comments</comments>
		<pubDate>Tue, 13 Mar 2007 21:29:09 +0000</pubDate>
		<dc:creator>Blu:RayNe</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://blog.evolution515.net/article/yui-ext-nun-ext-mit-unterstutzung-fur-prototypejs-und-jquery/</guid>
		<description><![CDATA[Nachdem es gerade einmal ein paar Wochen etwas stiller um die YUI-Ext geworden ist, meldet sich Jack Slocum mit seinem generellen nun Ext JS genannten Componenten-Paket f&#252;r jQuery und erfreulicherweise auch gleich noch prototype.js zur&#252;ck, was nun in der Beta1 erschienen ist!
Das urspr&#252;nglich f&#252;r die YAHOO UI (kurz YUI) entwickelte Extensions Paket namens YUI-Ext (Calender, [...]]]></description>
			<content:encoded><![CDATA[<p>Nachdem es gerade einmal ein paar Wochen etwas stiller um die YUI-Ext geworden ist, meldet sich <a href="http://www.jackslocum.com">Jack Slocum</a> mit seinem generellen nun <a href="http://www.extjs.com/">Ext JS</a> genannten Componenten-Paket f&uuml;r <a href="http://www.jquery.com">jQuery</a> und erfreulicherweise auch gleich noch <a href="http://www.prototypejs.org">prototype.js</a> zur&uuml;ck, was nun in der <a href="http://www.extjs.com/downloads">Beta1</a> erschienen ist!</p>
<p>Das urspr&uuml;nglich f&uuml;r die <a href="http://developer.yahoo.com/yui">YAHOO UI </a>(kurz YUI) entwickelte Extensions Paket namens <a href="http://www.yui-ext.com">YUI-Ext</a> (Calender, ComboBoxes, EditGrids) wurde auf Anfrage der jQuery-Entwickler jetzt nicht nur f&uuml;r jQuery sondern auch f&uuml;r <em>prototype.js</em> und <em>scrip.aculo.us</em> umgesetzt. Letzgenannten Bibliotheken z&auml;hlen mit der <a href="http://developer.yahoo.com/yui">YUI</a> zu den derzeit beliebtesten und besten JavaScript-Bibliotheken.</p>
<p>Ich finde vor allem die Unterst&uuml;tzung f&uuml;r <a href="http://www.prototypejs.org">prototype.js</a> wirklich super, da mir <a href="http://www.prototypejs.org">prototype.js</a> oft mehr Spa&szlig; macht zu programmieren und eher f&uuml;r kleine Sachen geeignet ist, obwohl ich die YUI auch echt zu lieben gelernt habe. Aber nat&uuml;rlich bracht sich <a href="http://www.jquery.com">jQuery</a>, was jetzt auch mit <a href="http://www.drupal.org">Drupal</a> daherkommt kommt, keinesfalls zu verstecken</p>
<p>Wollen wir mal vermuten das auch Jack Slocum wom&ouml;glich auch hinter den SpeedUps des <a href="http://simon.incutio.com/js/getElementsBySelector.html">Element.getElementsBySelector</a> von <a href="http://www.prototypejs.org">prototype.js</a> in der 1.5.1 RC1 steckt <img src='http://blog.evolution515.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Der Typ mausert sich echt immer mehr zu einem JavaScript-Gott <img src='http://blog.evolution515.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>
<strong>Hier eine Liste der herausragensten Beispiele:<br />
</strong></p>
<ul>
<li><a href="http://www.yui-ext.com/deploy/ext-1.0-alpha3/examples/tree/two-trees.html">zwei TreeControls mit AJAX und Drag&#8217;n'Drop<br />
    </a></li>
<li><a href="http://www.yui-ext.com/deploy/ext-1.0-alpha3/examples/view/chooser.html">ein Image-Selektor-Dialog</a></li>
<li><a href="http://www.yui-ext.com/deploy/ext-1.0-alpha3/examples/menu/menus.html">Men&uuml;s-, Men&uuml;buttons und Men&uuml;leisten<br />
    </a></li>
<li><a href="http://www.yui-ext.com/deploy/ext-1.0-alpha3/examples/layout/feed-viewer.html">Der &bdquo;FeedViewer&ldquo; in Ext-Gewand<br />
    </a></li>
<li><a href="http://www.yui-ext.com/deploy/ext-1.0-alpha3/examples/dialog/msg-box.html">Verschiedene Message- und Confirm-Dialoge<br />
    </a></li>
<li><a href="http://www.yui-ext.com/deploy/ext-1.0-alpha3/examples/dialog/layout.html">Das Layout-Control f&uuml;r WebApplication-Layouts<br />
    </a></li>
<li><a href="http://www.yui-ext.com/deploy/ext-1.0-alpha3/examples/grid/from-markup.html">Grid aus Markup erstellen (somit unobstrusive Websites m&ouml;glich!)<br />
    </a></li>
<li><a href="http://www.yui-ext.com/deploy/ext-1.0-alpha3/examples/grid/paging.html">Paging von Grids mit XML oder JSON-Input (wichtig bei vielen Daten!)<br />
    </a></li>
<li><a href="http://www.yui-ext.com/deploy/ext-1.0-alpha3/examples/grid/edit-grid.html">Editierbares Grid samt Datums- und Combobox-Komponente</a></li>
</ul>
<p><em><br />
</em><strong>Sehr n&uuml;tzlich:</strong></p>
<ul>
<li><a href="http://www.m3nt0r.de/devel/Prototype.chm">Dokumentation zu prototype.js im Windows CHM-Format</a></li>
<li><a href="http://www.yui-ext.com/deploy/yui-ext/docs/">Dokumentation zu YUI-Ext</a></li>
<li><a href="http://developer.yahoo.com/yui/docs/">Dokumentation zu YUI</a>
    </li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.evolution515.net/article/yui-ext-nun-ext-mit-unterstutzung-fur-prototypejs-und-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
