<?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>MakeUseOf &#187; javascript</title>
	<atom:link href="http://www.makeuseof.com/tags/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.makeuseof.com</link>
	<description>Cool Websites, Software and Internet Tips</description>
	<lastBuildDate>Fri, 10 Feb 2012 15:30:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Easily Keep Your New Year&#8217;s Resolution To Learn How To Code [News]</title>
		<link>http://www.makeuseof.com/tag/easily-years-resolution-learn-code-news/</link>
		<comments>http://www.makeuseof.com/tag/easily-years-resolution-learn-code-news/#comments</comments>
		<pubDate>Thu, 05 Jan 2012 02:31:53 +0000</pubDate>
		<dc:creator>Bakari Chavanu</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[learning]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://www.makeuseof.com/?p=96504</guid>
		<description><![CDATA[If you've ever thought about learning computer programming, now might be a good time to start. The developers of Codecademy invite you to make a New Year's resolution to learn coding through their interactive programming lessons, emailed to you each week. So far, over 117,000 have signed up. Their program, called Code Year, is a straightforward, fairly easy to follow three-part course.]]></description>
			<content:encoded><![CDATA[<p><img class="align-right" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2012/01/computerprogramming.png?323f2c" alt="" />If you&#8217;ve ever thought about learning computer programming, now might be a good time to start. The developers of <a href="http://www.codecademy.com">Codecademy</a> invite you to make a New Year&#8217;s resolution to learn coding through their interactive programming lessons, emailed to you each week. So far, over 117,000 have signed up.</p>
<p>Their program, called <a href="http://codeyear.com/">Code Year</a>, is a straightforward, fairly easy to follow three-part course for learning JavaScript, and two separate <a href="http://labs.codecademy.com/">Codecademy Labs</a> for the object-oriented language, Ruby, and Python. You can complete the lessons in the site&#8217;s online text editor, and work at your own pace. The lessons are designed for beginners and those experienced with coding in other languages. And Codecademy says their labs are actually &#8220;<em>designed to create your own programs and share them on Twitter and Facebook, and show your friends what you have learned.</em>&#8221;</p>
<p><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2012/01/codecademy_1.png?323f2c" alt="Codecademy 1" width="580" height="156" border="0" /></p>
<p>As you complete tutorials, you are awarded points and badges designed to show off and track your progress. Learning code is like learning any language &#8211; it takes practice and concentration. Coding will enable you to build intricate websites, online or computer games, and mobile apps.</p>
<p><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2012/01/codecademy_2.png?323f2c" alt="Codecademy 2" width="259" height="182" border="0" /></p>
<p>The Codecademy doesn&#8217;t yet include an online forum for students to troubleshoot lessons, but you can share your progress with friends, on Facebook and Twitter. The difficult part in learning say JavaScript is making sure you&#8217;re using the proper syntax, like surrounding <em>declared</em> names with quotation marks.</p>
<p><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2012/01/codecademy.png?323f2c" alt="Codecademy" width="490" height="226" border="0" /></p>
<p>As writer Douglas Rushkoff contends, &#8220;<em>If we don&#8217;t learn to program, we risk being programmed ourselves…program or be programmed.</em></p>
<p><small>Source: <a href="http://techcrunch.com/2012/01/03/codecademys-codeyear-attracts-100000-aspiring-programmers-in-48-hours" rel="nofollow">Techcrunch</a></small><br />
<small>Image Credit: <a href="http://www.shutterstock.com/pic.mhtml?id=86404090" rel="nofollow">Shutterstock</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://www.makeuseof.com/tag/easily-years-resolution-learn-code-news/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Skype On iOS Has Vulnerability That Lets Others Steal Address Book [News]</title>
		<link>http://www.makeuseof.com/tag/skype-ios-vulnerability-lets-steal-address-book-news/</link>
		<comments>http://www.makeuseof.com/tag/skype-ios-vulnerability-lets-steal-address-book-news/#comments</comments>
		<pubDate>Wed, 21 Sep 2011 18:10:59 +0000</pubDate>
		<dc:creator>Dave LeClair</dc:creator>
				<category><![CDATA[iPhone / iPad / iPod]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[hacking]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[Skype]]></category>
		<category><![CDATA[VoIP]]></category>

		<guid isPermaLink="false">http://www.makeuseof.com/?p=87512</guid>
		<description><![CDATA[For avid Skype users on Apple devices, you need to be careful. There is a vulnerability in the current iOS version of Skype that allows users to get access to your address book. Obviously, this is not the most earth shattering hack, since there isn't too much a hacker can do with just an address book. Still, I don't think you or your contacts would want that information in the hands of hackers.]]></description>
			<content:encoded><![CDATA[<p><img class="align-right" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2011/09/skypethumb.png?323f2c" alt="" />For avid Skype users on Apple devices, you need to be careful. There is a vulnerability in the current iOS version of Skype that allows users to get access to your address book. Obviously, this is not the most earth shattering hack, since there isn&#8217;t too much a hacker can do with just an address book. Still, I don&#8217;t think you or your contacts would want that information in the hands of hackers.</p>
<p>Skype is aware of the exploit, but they don&#8217;t seem too concerned about getting it fixed right away. They said it will be addressed in the next scheduled update, so they don&#8217;t seem to consider this an emergency.</p>
<p>Basically this a JavaScript exploit and according to security expert Phil Purviance:</p>
<blockquote><p><em>Skype uses a locally stored HTML file to display chat messages from other Skype users, but it fails to properly encode the incoming user’s ‘Full Name,’ allowing an attacker to craft malicious JavaScript code that runs when the victim views the message.</em></p></blockquote>
<p><iframe src="http://www.youtube.com/embed/Ou_Iir2SklI" frameborder="0" width="580" height="325"></iframe></p>
<p>So basically, if you open a chat with a malicious person, they can get access to your friends list and do whatever they like with the information, and as I said before, this will not make your friends too happy. Until the update comes out just be careful about what chats you receive and read on your iPhone.</p>
<p><small>Source: <a href="http://www.macworld.com/article/162402/2011/09/skype_ios_vulnerability_allows_access_to_address_book.html#lsrc.rss_main" rel="nofollow">MacWorld</a> via <a href="https://superevr.com/blog/2011/xss-in-skype-for-ios/" rel="nofollow">Superevr</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://www.makeuseof.com/tag/skype-ios-vulnerability-lets-steal-address-book-news/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Create Web Animations Using HTML5, CSS3 &amp; JavaScript With The Help Of Adobe Edge [Windows &amp; Mac]</title>
		<link>http://www.makeuseof.com/tag/create-web-animations-html5-css3-javascript-adobe-edge-windows-mac/</link>
		<comments>http://www.makeuseof.com/tag/create-web-animations-html5-css3-javascript-adobe-edge-windows-mac/#comments</comments>
		<pubDate>Wed, 17 Aug 2011 18:31:14 +0000</pubDate>
		<dc:creator>Jeffry Thurana</dc:creator>
				<category><![CDATA[Cool Software Apps]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[animation]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[html 5]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://www.makeuseof.com/?p=83774</guid>
		<description><![CDATA[Flash used to be the king of web animation, but now it's been slowly abandoned because of the possible future ruler: a combination of HTML5, CSS3, and JavaScript. Even though Adobe is still strongly supporting Flash, it is also beginning to embrace the new alternative. The proof is Edge - the new multi-platform tool from Adobe.]]></description>
			<content:encoded><![CDATA[<p><firstimage="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2011/08/00a_edge_logo.jpg"><img class="align-right" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2011/08/00a_edge_logo.jpg?323f2c" alt="create web animation" /><a href="http://www.makeuseof.com/tags/flash/">Flash</a> used to be the king of web <a href="http://www.makeuseof.com/tags/animation/">animation</a>, but now it&#8217;s been slowly abandoned because of the possible future ruler: a combination of <a href="http://www.makeuseof.com/dir/tag/html5/">HTML5</a>, CSS3, and <a href="http://www.makeuseof.com/dir/tag/javascript/">JavaScript</a>. Even though Adobe is still strongly supporting Flash, it is also beginning to embrace the new alternative.</p>
<p>The proof is <a href="http://labs.adobe.com/technologies/edge/">Edge</a> &#8211; the new multi-platform tool from Adobe that will help users to create web animations using HTML5, CSS3, and JavaScript.</p>
<h2>Get To The Edge</h2>
<p>At the moment, Edge is still in beta and available for free. You can download the application after signing in using your Adobe ID. If you don&#8217;t have one, you can easily create an Adobe Account.</p>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2011/08/00b-Sign-In.jpg?323f2c" alt="create web animation" width="580" height="235" border="0" /></p>
<p>Then download and install the application according to the operating system that you use. Edge comes in two flavors: PC and Mac. The beta version doesn&#8217;t require a serial number, but it will expire within the next 5 months.</p>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2011/08/00b_Edge_install.jpg?323f2c" alt="00b Edge install" width="580" height="411" border="0" /></p>
<p>At the end of the installation process, you&#8217;ll see a notification window stating how many more days are left in the pre-release period. My guess is that the tool will go commercial after the beta period is over, and we all know the pricing range of Adobe&#8217;s professional products. So if you want to try Edge out for free, you&#8217;d better download it as soon as possible.</p>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2011/08/00d_pre_release.jpg?323f2c" alt="javascript web animations" width="494" height="119" border="0" /></p>
<h2>Playing Around With Samples</h2>
<p>To help users understand about its new tools, Adobe provides a &#8220;<em>Get Started With Edge</em>&#8221; video tutorial and several downloadable sample animations. It&#8217;s recommended that you watch the video and play around with the samples.</p>
<p>The video is accessible via the &#8220;<em>Get Started</em>&#8221; pane which will appear when you first open Edge. The pane also gives you access to create a new animation file or open an existing one.</p>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2011/08/01a_get_Started.jpg?323f2c" alt="javascript web animations" width="580" height="370" border="0" /></p>
<p>The interface is divided into several main panes. The &#8220;<em>Properties</em>&#8221; pane on the left shows the composition tools of the selected elements.</p>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2011/08/07a_properties1.jpg?323f2c" alt="javascript web animations" width="580" height="300" border="0" /></p>
<p>The &#8220;<em>Timeline</em>&#8221; pane at the bottom shows the choreography of each animated element related to the timeline.</p>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2011/08/07b_timeline.jpg?323f2c" alt="html5 web animation" width="580" height="240" border="0" /></p>
<p>And the &#8220;<em>Elements</em>&#8221; pane allows you to select one item to edit from all the existing elements.</p>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2011/08/07c_elements.jpg?323f2c" alt="html5 web animation" width="323" height="200" border="0" /></p>
<h2>Create A Simple Text Animation</h2>
<p>The best way to understand any application is to use it. So, let&#8217;s explore Edge by trying to create a simple animated text.</p>
<ul>
<li>Go to the &#8220;<em>File</em>&#8221; menu and choose &#8220;<em>New</em>&#8220;.</li>
</ul>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2011/08/08a_new.jpg?323f2c" alt="html5 web animation" width="320" height="250" border="0" /></p>
<ul>
<li>A &#8220;stage&#8221; will be opened. This is the canvas where you can &#8220;choreograph&#8221; the animation. You can customize its name, size, and the background color from the Properties pane.</li>
</ul>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2011/08/08b_stage-2.jpg?323f2c" alt="08b stage 2" width="580" height="300" border="0" /></p>
<ul>
<li>Next, choose the &#8220;<em>Text</em>&#8221; tool and write something on the stage. Again, you can customize every aspect of the text from the Properties pane.</li>
</ul>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2011/08/08c_text_tool.jpg?323f2c" alt="08c text tool" width="580" height="350" border="0" /></p>
<ul>
<li>To animate the text, go to the timeline pane and modify each element of the text by deciding what changes will happen to it, and when the changes will happen.</li>
</ul>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2011/08/08d_choreographing.jpg?323f2c" alt="08d choreographing" width="580" height="200" border="0" /></p>
<p>Basically, here&#8217;s what you should do :</p>
<ul>
<li>Choose the diamond next to the &#8220;<em>text</em>&#8221; item on the Timeline pane,</li>
<li>Drag it to the position that you want,</li>
<li>Select the text from the stage,</li>
<li>Make the changes you want to the text.</li>
</ul>
<p>You can add more text and other elements such as rectangles and/or rounded rectangles. Rinse and repeat the animating process for the other elements.</p>
<p>The last step is implementing the animation on your website. To do that, you have to save the animation as an HTML file in a folder, open the HTML using a plain text editor, then copy and paste the code to your webpage (or wherever you want the animation to appear). Don&#8217;t forget to put the &#8220;<em>edge_includes</em>&#8221; folder in the same location as the HTML file/code.</p>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2011/08/09c_html_file.jpg?323f2c" alt="create web animation" width="250" height="150" border="0" /></p>
<h2>The Next Move</h2>
<p>Our experiment here is very simple, but you can use the basics to create more elaborate web animations using Edge. The app itself is still in its early stages, and there&#8217;s no doubt that it will have more elaborate features in the future.</p>
<p>At the moment, HTML5 is just making its baby steps into the virtual world and no one can tell when this newcomer will take the throne. But Adobe&#8217;s support for the new standard is surely blowing fresh air into the web.</p>
<p>So what do you think? Are you still supporting Flash or will you stand behind HTML5? Have you tried Edge? Share your opinions in the comments below.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.makeuseof.com/tag/create-web-animations-html5-css3-javascript-adobe-edge-windows-mac/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Quickly &amp; Easily Manipulate HTML5&#8242;s Canvas Element With jCanvas</title>
		<link>http://www.makeuseof.com/tag/quickly-easily-manipulate-html5s-canvas-element-jcanvas/</link>
		<comments>http://www.makeuseof.com/tag/quickly-easily-manipulate-html5s-canvas-element-jcanvas/#comments</comments>
		<pubDate>Sat, 09 Jul 2011 17:31:39 +0000</pubDate>
		<dc:creator>Danny Stieben</dc:creator>
				<category><![CDATA[Web Apps & Internet]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[html 5]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[web design]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[webmaster tools]]></category>

		<guid isPermaLink="false">http://www.makeuseof.com/?p=79743</guid>
		<description><![CDATA[The web as we know it is evolving faster than ever before. As of late, HTML5 is coming into the scene, providing the capability of developing highly interactive web apps without the need for the proprietary Flash. Instead, all a user needs is a supported, modern web browser, and they'll be able to enjoy the best of what the web has to offer.]]></description>
			<content:encoded><![CDATA[<p><firstimage="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2011/07/jcanvas_intro.jpg"><img class="align-right" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2011/07/jcanvas_intro.jpg?323f2c" alt="html 5 canvas tag" />The web as we know it is evolving faster than ever before. As of late, <a href="http://www.makeuseof.com/dir/tag/html5/">HTML5</a> is coming into the scene, providing the capability of developing highly interactive web apps without the need for the proprietary <a href="http://www.makeuseof.com/tags/flash/">Flash</a>. Instead, all a user needs is a supported, modern web browser, and they&#8217;ll be able to enjoy the best of what the web has to offer.</p>
<p>However, creating such interactive content is never as easy as pie, and that rule doesn&#8217;t exclude <a href="http://www.makeuseof.com/tags/html-5">HTML5</a>&#8216;s main element that does all the work: canvas. If you&#8217;ve been following what the latest browsers have to offer, some of them may include a GPU-accelerated experience that makes the canvas element run a lot better. There are frameworks available that try to make the canvas element a little bit easier to develop for, notably <a href="http://jquery.com/">jQuery</a>. But even then, jQuery makes you type quite a bit. Web developers, here&#8217;s something better for you.</p>
<h2>About jCanvas</h2>
<p><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2011/07/jcanvas_simpler.jpg?323f2c" alt="html 5 canvas tag" width="580" height="245" /></p>
<p><a href="http://calebevans.me/projects/jcanvas/index.html">jCanvas</a> is a little jQuery plugin written entirely in JavaScript that makes working with jQuery, and thereby HTML5&#8242;s canvas element, a lot easier. Web developers will get a lot of benefit out of using jCanvas. By using jCanvas, you get to work with much simpler code, in which the plugin will do the work and translate it into the relevant code for jQuery to run.</p>
<h2>Examples of Use</h2>
<p><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2011/07/jcanvas_ellipses.jpg?323f2c" alt="html canvas html" width="580" height="375" /></p>
<p>jCanvas can draw a large number of objects. For example, here we can see an ellipse that is filled in with a gradient. There are plenty of parameters that you can set and still keep the amount of actual code as small as possible. In this example, the gradient parameters were set first (distances, colors, etc.), followed by the drawing of the ellipse itself. For programmers, this should be a very eye-appealing way to write code with no over-the-top syntax.</p>
<p><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2011/07/jcanvas_pixels.jpg?323f2c" alt="html canvas html" width="580" height="375" /></p>
<p>In this example, a regular jpg image is being halfway inverted. The first function (or set of instructions) sets how the inversion takes place, while the second function draws the image and loads the inversion function onto it. When the code runs, you get a halfway-inverted image.</p>
<p><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2011/07/jcanvas_shapes.jpg?323f2c" alt="html 5 canvas tag" width="580" height="379" /></p>
<p>In our final example, different shapes are drawn by means of different functions provided by jCanvas. The green, unfilled rectangle was drawn by a simple function dedicated to rectangles. As always, you can customize your rectangle, even with parameters for the stroke width and corner radius (the amount that the corners should be rounded). The pentagon is drawn by a more generic function that applies to all regular polygons. You can also apply all the same parameters as with the other functions.</p>
<p>The difference is important because you can draw a square with both the rectangle and polygon functions, but you can only draw rectangles with the rectangle function. (Squares are rectangles, but rectangles aren&#8217;t always squares!)</p>
<h2>Other Information &amp; Support</h2>
<p>There&#8217;s a lot more you can do with each function, plus there are many more functions that you can use! You can download jCanvas by going <a href="http://calebevans.me/projects/jcanvas/download.html">here</a>. If you need any help, the full, well-written <a href="http://calebevans.me/projects/jcanvas/docs.html#syntax">Documentation page</a> should clarify most if not all questions. If that still doesn&#8217;t work, you can contact the developer of jCanvas by checking out his information <a href="http://calebevans.me/projects/jcanvas/support.html">here</a>. If you wish to try out jCanvas before playing around with it on your own site, the developer has set up a very cool-looking <a href="http://calebevans.me/projects/jcanvas/sandbox.html#%24%28%22canvas.test%22%29%0A.drawArc%28{%0A%20%20fillStyle%3A%20%27%2389a%27%2C%0A%20%20x%3A%20100%2C%20y%3A%20100%2C%0A%20%20radius%3A%2050%0A}%29%0A">Sandbox page</a> where you can enter code and watch the magic happen.</p>
<p>Finally, if you would like to help contribute to the open source jCanvas project, you are more than welcome to do just that by going <a href="https://github.com/caleb531/jcanvas">here</a>. jCanvas is always being improved by the developer, and new releases are made available every few weeks.</p>
<h2>Conclusion</h2>
<p>jCanvas is a great web tool to use to make your programming experience much simpler, especially if you are a heavy user of the canvas element. Again, some of the highlight features are:</p>
<ul>
<li>Draw shapes, paths, images, and text.</li>
<li>Style these using colors, gradients, patterns, and shadows.</li>
<li>Manipulate the canvas (rotate, scale, etc).</li>
<li>A huge range of options to suit your needs.</li>
</ul>
<p>Internet users will thank you as well for using jCanvas, because you&#8217;ll have more time to completely develop your web app and make sure that it has all the functionality you want it to have while enjoying great performance.</p>
<p>Are you a web developer who is involved in HTML5? Do you think jCanvas will help you with your development? What features would you like to see in jCanvas? (please check the documentation first for what&#8217;s already implemented!).</p>
<p><small>Image Credit: <a rel="nofollow" href="http://www.flickr.com/photos/justinsomnia/513636061/sizes/m/in/photostream/">Just Insomnia</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://www.makeuseof.com/tag/quickly-easily-manipulate-html5s-canvas-element-jcanvas/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create A Webshop Without Databases With SimpleCart(js)</title>
		<link>http://www.makeuseof.com/tag/create-webshop-databases-simplecartjs/</link>
		<comments>http://www.makeuseof.com/tag/create-webshop-databases-simplecartjs/#comments</comments>
		<pubDate>Tue, 12 Oct 2010 18:31:35 +0000</pubDate>
		<dc:creator>Simon Slangen</dc:creator>
				<category><![CDATA[Cool Software Apps]]></category>
		<category><![CDATA[buy & sell]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[shopping]]></category>
		<category><![CDATA[webmaster tools]]></category>

		<guid isPermaLink="false">http://www.makeuseof.com/?p=55484</guid>
		<description><![CDATA[Shopping systems are often slow, bulky systems that can be quite demanding. The exceptions are blog (i.e. WordPress) plug-ins, but even these require advanced control over your webserver and database installs. In short, a lot of work, files and really tough to use with free (limited) webspace. Today, we&#8217;ll discuss an alternative. It&#8217;s free, super [...]]]></description>
			<content:encoded><![CDATA[<p><firstimage="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/10/shutterstock_42706630.jpg" /><img style="border: 0px none;margin-left:20px;float:right;" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/10/shutterstock_42706630.jpg?323f2c" alt="web site shopping cart"/>Shopping systems are often slow, bulky systems that can be quite demanding. The exceptions are blog (i.e. WordPress) plug-ins, but even these require advanced control over your webserver and database installs.</p>
<p>In short, a lot of work, files and really tough to use with free (limited) webspace.</p>
<p>Today, we&#8217;ll discuss an alternative. It&#8217;s free, super lightweight, and just needs a little different approach. That&#8217;s to say, there&#8217;s no graphical user interface for adding shop items with this web site shopping cart. Instead, you need to insert simple tags in your HTML code. Don&#8217;t worry, we&#8217;ll tell you how.</p>
<p><span id="more-55484"></span></p>
<h2><a href="http://simplecartjs.com/">simpleCart(js)</a></h2>
<p>The end-user interface is slick, simple and direct. Products are aligned in this web site shopping cart in a grid, with relatively large icons, product explanation and price. The webmaster can optionally add different options for a product, i.e. small, medium and large T-shirts. Because of the build-up, simpleCart is best used for displaying a smaller and relatively static product arrangement, perfectly suited for amateur sellers.</p>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/10/simpleCart.jpg?323f2c" alt="web site shopping cart" width="580" height="433" /></p>
<p>The cart is usually shown at the bottom of the page, but you can pretty much put it wherever you want. Here the buyer can review the products already selected, change the quantity, or empty the card.</p>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/10/simplecart2.jpg?323f2c" alt="web site shopping cart" width="580" height="192" /></p>
<p>When satisfied, pressing the Checkout button will take the buyer to Paypal or Google Checkout, starting a money transfer to your account. You&#8217;ll receive a notification when you get the money, where after you can ship the products. As simple as that.</p>
<h2>Setting Up SimpleCart On Your Website</h2>
<p>First, make sure you&#8217;ve got a basic website capable of executing JavaScript (which most can) and some little web space for the rest of the files. You can <a href="http://simplecartjs.com/download.html">download simpleCart(js) from the website</a>. It&#8217;s donation ware, so you can choose for yourself if you like it and how much you think it&#8217;s worth.</p>
<p>Unzip the file and upload simpleCart.js to your site directory. The set-up is completed by inserting some little code into your website&#8217;s HTML files. Wherever those snippets of code are inserted, that&#8217;s where the specific simpleCart components will show up.</p>
<p><strong>
<pre>&lt;script type="text/javascript" src="simpleCart.js"&gt;&lt;/script&gt;</pre>
<p></strong></p>
<p>Add this to every page, between the
<pre>&lt;HEAD&gt;</pre>
<p> and
<pre>&lt;/HEAD&gt;</pre>
<p> tags, wherever you want to use simpleCart.</p>
<p><strong>
<pre>&lt;script type="text/javascript"&gt;
simpleCart.checkoutTo = PayPal;
simpleCart.email = "<span style="color: #339966;">you@yours.com</span>";
&lt;/script&gt;</pre>
<p></strong></p>
<p>Add the above to make simpleCart check out using Paypal. You also need to specify your Paypal mail address. Change the elements in green, and paste the entire snippet between the
<pre>&lt;HEAD&gt;</pre>
<p> and
<pre>&lt;/HEAD&gt;</pre>
<p> tags, wherever you want to use the checkout.</p>
<p><strong>
<pre>&lt;script type="text/javascript"&gt;
simpleCart.checkoutTo = GoogleCheckout;
simpleCart.merchantId = "<span style="color: #339966;">111111111111111</span>";
&lt;/script&gt;</pre>
<p></strong></p>
<p>If you instead want to use Google Checkout, paste the above snippet between the
<pre>&lt;HEAD&gt;</pre>
<p> and
<pre>&lt;/HEAD&gt;</pre>
<p> tags, wherever you want to use the checkout. Instead of your email address, swap the green element with your Google Checkout Merchant ID.</p>
<p><strong>
<pre>&lt;div class="simpleCart_shelfItem"&gt;
&lt;h2 class="item_name"&gt; <span style="color: #339966;">Product Name</span> &lt;/h2&gt;
<span style="color: #0000ff;">&lt;select class="item_size"&gt;
&lt;option value="Small"&gt; Small &lt;/option&gt;
&lt;option value="Medium"&gt; Medium &lt;/option&gt;
&lt;option value="Large"&gt; Large &lt;/option&gt;
&lt;/select&gt;</span>
</pre>
<p></strong><strong>
<pre>&lt;span class="item_price"&gt;<span style="color: #339966;">$35.99</span>&lt;/span&gt;</pre>
<p></strong><strong>
<pre>
</pre>
<p></strong><strong>
<pre>&lt;input value="1" type="text"&gt;</pre>
<p></strong><br />
<strong>
<pre> &lt;a href="javascript:;" class="item_add"&gt; Add to Cart &lt;/a&gt;
&lt;/div&gt;</pre>
<p></strong></p>
<p>The code snippet above is used to add an item to your shelf. Change the item name and price, show in green. The select class, shown in blue, is entirely optional. If there are no subclasses in your product, you can leave it out. Paste it between the
<pre>&lt;BODY&gt;</pre>
<p> and
<pre>&lt;/BODY&gt;</pre>
<p> tags, wherever you want to show it on your page.</p>
<p><strong>
<pre>&lt;div class="simpleCart_items"&gt;&lt;/div&gt;</pre>
<p></strong></p>
<p>Paste this between the
<pre>&lt;BODY&gt;</pre>
<p> and
<pre>&lt;/BODY&gt;</pre>
<p> tags, where you want to display the entire web site shopping cart.</p>
<p><strong>
<pre>You have &lt;span class="simpleCart_quantity"&gt;&lt;/span&gt; items in your Cart.
Cart total: &lt;div class="simpleCart_total"&gt;&lt;/div&gt;</pre>
<p></strong><br />
<strong>
<pre>&lt;a href="javascript:;" class="simpleCart_checkout"&gt;Checkout&lt;/a&gt;
&lt;a href="javascript:;" class="simpleCart_empty"&gt;Empty&lt;/a&gt;</pre>
<p></strong></p>
<p>The above elements will respectively display the amount of items in your cart, the cart total, a checkout link and an empty cart link. Each element can exist independently.</p>
<p>Take a look at <a href="http://simplecartjs.com/documentation.html">the documentation</a> for more advanced settings, including currency options, tax rates, shipping, and changing the cart formatting.</p>
<p>What do you think about simpleCart(js)? Have you ever sold anything online on your own site, and how did it go? Let us know in the comments!</p>
<p><small>Image credit: <a rel="nofollow" href="http://www.shutterstock.com/pic-42706630/stock-photo-computer-keyboard-with-blue-shopping-key-internet-concept.html">Shutterstock</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://www.makeuseof.com/tag/create-webshop-databases-simplecartjs/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>How To Add Cool Javascript Rollover Effects To Images</title>
		<link>http://www.makeuseof.com/tag/add-cool-javascript-rollover-effects-images/</link>
		<comments>http://www.makeuseof.com/tag/add-cool-javascript-rollover-effects-images/#comments</comments>
		<pubDate>Mon, 21 Jun 2010 18:31:29 +0000</pubDate>
		<dc:creator>Steve Campbell</dc:creator>
				<category><![CDATA[How-To Articles]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[image effects]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[webmaster tools]]></category>

		<guid isPermaLink="false">http://www.makeuseof.com/?p=46679</guid>
		<description><![CDATA[Javascript image rollovers are used to bring interactivity to webpages. The use of the rollover is one of the most popular forms of Javascript on the web. Javascript rollovers (or mouse-over effects) are fairly common on today&#8217;s websites and can be used very creatively. You&#8217;ve seen them. Images that have been constructed this way change [...]]]></description>
			<content:encoded><![CDATA[<p><firstimage="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/06/JS-intro.jpg"><img class="align-left" style="border: 0px none; margin-left: 20px; margin-top: 5px; float: right;" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/06/JS-intro.jpg?323f2c" alt="javascript rollovers" />Javascript image rollovers are used to bring interactivity to webpages. The use of the rollover is one of the most popular forms of Javascript on the web. Javascript rollovers (or mouse-over effects) are fairly common on today&#8217;s websites and can be used very creatively.</p>
<p>You&#8217;ve seen them. Images that have been constructed this way change when you drag your mouse over them and change back when you remove the cursor. Mouse-over effects are very easy to create and they can really add life to your images or website.</p>
<p>In this article I&#8217;m going to show you how to add cool Javascript rollover effects to images on your website.</p>
<p><span id="more-46679"></span><br />
Have no idea what I&#8217;m talking about? If you want to become more familiar with Javascript, I invite you to check out the article Varun composed last week entitled <a href="http://www.makeuseof.com/tag/what-is-javascript-how-works/">What is JavaScript and How Does It Work?</a>. Also, you can <a href="http://www.makeuseof.com/tag/2-quick-ways-check-running-javascript-enabled-browser/">Quickly Check If You&#8217;re Running A JavaScript Enabled Browser</a>.</p>
<p>Now that you&#8217;re feeling a little more confident we can begin.</p>
<h2>Step 1: Create Two Images</h2>
<p>In order for this effect to work properly, you need to create two images. Ideally, these should have the same dimensions (height and width) and should reside in the same directory. It&#8217;s important that you can remember and differentiate between the names of the images, so don&#8217;t name them anything too long or difficult.</p>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/06/JS-images-1.jpg?323f2c" alt="javascript rollovers" width="532" height="182" /></p>
<p>For this example I have named my images <em>testbox1.gif </em>and <em>testbox2.gif</em>.</p>
<h2>Step 2: Create An HTML Document</h2>
<p>After creating the images, it&#8217;s time to create the code. In Notepad, start typing up a simple HTML file.  We will insert our Javascript after the &lt;head&gt; tag.</p>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/06/javascript1.png?323f2c" alt="javascript rollovers" width="368" height="295" /></p>
<p>All we are doing here is defining the images. Although my code has <em>testbox1</em> and <em>testbox2</em> you can change these to the names of your two images.</p>
<p>The &lt;body&gt; tag is where we&#8217;ll insert our call to action. Within the &lt;body&gt; tag, insert the image source code the way you would any other HTML image, except in this case we have to add the mouseover and mouseout functions to the code to achieve the rollover effect.</p>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/06/javascript2.png?323f2c" alt="javascript image rollovers" width="494" height="383" /></p>
<p>When finished, save the file as a &#8216;.html&#8217; file. You can double click the file and it should open up in your web browser with your images and rollover effect working properly. Now that you&#8217;ve tested your code you can add it to your website and begin amazing people with your flashy Javascript.</p>
<p>To see it in action, <a href="http://www.socialbrandingblog.com/makeuseof/test2.html">click here</a> and mouse over the image to see what we have just created.</p>
<h2>Conclusion</h2>
<p>This code should be all you will need to utilize any rollovers you want on the webpage. The &#8216;over&#8217; and &#8216;out&#8217; functions are what will be doing all the work here. They call the images when the mouse is moved over them and off of them.</p>
<p>For the image source, you only need to type the name of the image, so long as the HTML file is saved in the same folder the images are. If they are not, you need only to point to the images&#8217; location like you would any other image in HTML.</p>
<p>Was this article helpful for you? Will you be utilizing JavaScript rollovers on your website? I would love to hear your thoughts and ideas in the comment section below!</p>
<p><small>Image Credit: <a rel="nofollow" href="http://www.flickr.com/photos/26325011@N00/4532907271/">Noah Sussman</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://www.makeuseof.com/tag/add-cool-javascript-rollover-effects-images/feed/</wfw:commentRss>
		<slash:comments>67</slash:comments>
		</item>
		<item>
		<title>How To Quickly Check If You&#8217;re Running A Javascript Enabled Browser</title>
		<link>http://www.makeuseof.com/tag/2-quick-ways-check-running-javascript-enabled-browser/</link>
		<comments>http://www.makeuseof.com/tag/2-quick-ways-check-running-javascript-enabled-browser/#comments</comments>
		<pubDate>Wed, 16 Jun 2010 15:31:08 +0000</pubDate>
		<dc:creator>Karl L. Gechlik</dc:creator>
				<category><![CDATA[Browser Tips & Tricks]]></category>
		<category><![CDATA[How-To Articles]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[webmaster tools]]></category>

		<guid isPermaLink="false">http://www.makeuseof.com/?p=46237</guid>
		<description><![CDATA[Javascript is an integral part of web browsing and a lot of websites use Javascript for web applications and functions. A question I get at AskTheAdmin.com often is how I can tell if I am using a Javascript enabled browser. I have two quick methods to tell if the browser you are using does or [...]]]></description>
			<content:encoded><![CDATA[<p><firstimage="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/06/javaHead1.png"><img class="align-left" style="border: 0px none; margin-left: 20px; margin-top: 5px; float: right;" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/06/javaHead1.png?323f2c" border="0" alt="javascript enabled browser" /><a href="http://www.makeuseof.com/tag/what-is-javascript-how-works">Javascript</a> is an integral part of web browsing and a lot of websites use Javascript for web applications and functions. A question I get at AskTheAdmin.com often is how I can tell if I am using a Javascript enabled browser. I have two quick methods to tell if the browser you are using does or does not support Javascript.</p>
<p>The first thing I recommend is browsing over to a special Java test website called <a href="http://www.javatester.org/enabled.html">JavaTester</a>. There is code on this page that will tell you if you can run <a href="http://www.makeuseof.com/tag/wonder-beauty-java-applets">Java Applets</a> and if Javascript is enabled and supported by your browser. The answers will be shown to you on the webpage once it is completed loading.</p>
<p><span id="more-46237"></span><br />
My favorite part about this site is that it also gives you the HTML code that they used to create the tests. This allows you to add this code to your website to display the results.</p>
<p>When we get to the site this is what we will see:</p>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/06/java1.png?323f2c" border="0" alt="javascript enabled browser" width="584" height="611" /></p>
<p>You will be able to tell at a glance what your browser can and cannot do. For Javascript scroll down to the 3rd bulleted point and after it says: <em>Is Java enabled?</em>, you will either see true or false. True will let you know that you are using a Javascript enabled browser. If it says false you will need to see if Java is installed and if not, <a href="http://java.com">install it</a> and enable it.</p>
<p>The Java test website goes on to explain that Java and Javascript are two very different programming languages and pretty much only share the first four letters of their name. To learn the difference between the two languages you can check out these two Wikipedia pages <a href="http://en.wikipedia.org/wiki/JavaScript">here</a> and <a href="http://en.wikipedia.org/wiki/Java">here</a> to read about Javascript and Java respectively.</p>
<p>But they have another easy to use <a href="http://www.javatester.org/javascript.html">JavaScript test</a> :</p>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/06/java2.png?323f2c" border="0" alt="javascript enabled browser" width="402" height="176" /></p>
<p>If you are looking for the easiest and quickest test possible the one above is it. But if you also need some more information regarding your browser&#8217;s capabilities you can check out this <a href="http://www.cyscape.com/showbrow.aspx?bhcp=1">browser capability test website.</a> This is a web application called Browser Hawk.</p>
<p>You can see the output from my FireFox 3.6.3 below:</p>
<p style="text-align: center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/06/java0.png?323f2c" border="0" alt="enable javascript in browser" width="408" height="693" /></p>
<p>All three of these web tests will be able to quickly tell you if your browser is actually Javascript enabled. If you have to send a user to a website to test their browser I would send them to the second one from JavaTester as it is the easiest one to see the results on.</p>
<p>If you are a programmer you can easily integrate the code from these pages to create your own test sites on your local intranet or website. If you do code up your own snazzy pages we would love to see them so hit us with the links in the comments.</p>
<p>If you are looking for a Java test website you <a href="http://www.java.com/en/download/help/testvm.xml">can check this one out.</a> It will work with all operating systems and Internet Explorer, Firefox, Mozilla and Netscape.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.makeuseof.com/tag/2-quick-ways-check-running-javascript-enabled-browser/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>5 Extensive JavaScript Code Library Options For Developers</title>
		<link>http://www.makeuseof.com/tag/5-extensive-javascript-code-library-options/</link>
		<comments>http://www.makeuseof.com/tag/5-extensive-javascript-code-library-options/#comments</comments>
		<pubDate>Mon, 14 Jun 2010 16:30:04 +0000</pubDate>
		<dc:creator>Varun Kashyap</dc:creator>
				<category><![CDATA[Web Apps & Internet]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[library]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[web development]]></category>

		<guid isPermaLink="false">http://www.makeuseof.com/?p=46073</guid>
		<description><![CDATA[Yesterday, I wrote about what JavaScript is and how it works. Building on the immense popularity of JavaScript these days on the web, a number of libraries have come up to the forefront. So what exactly is a library and why would you want to use one for JavaScript when you can do just about [...]]]></description>
			<content:encoded><![CDATA[<p><firstimage="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/06/jslogo.png" /><img style="border: 0px none;margin-left:20px;float:right;" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/06/jslogo.png?323f2c" alt="javascript code library"/>Yesterday, I wrote about <a href="http://www.makeuseof.com/tag/what-is-javascript-how-works/">what JavaScript is and how it works</a>. Building on the immense popularity of JavaScript these days on the web, a number of libraries have come up to the forefront. </p>
<p>So what exactly is a library and why would you want to use one for JavaScript when you can do just about anything without including another file in your code? Glad you asked. Let&#8217;s try and answer that, and also have a look at some of the top JavaScript code library options available out there.</p>
<p><span id="more-46073"></span></p>
<h2>Libraries</h2>
<p>When talking in terms of programming and computers, libraries generally refer to <em>collection of re-usable code</em> that aids you in developing your code for a particular job. JavaScript libraries in particular, provide you with a host of useful utility functions that make development a lot easier. In addition, a JavaScript code library takes care of the cross-browser issues allowing you to focus on your application&#8217;s logic rather than resolving discrepancies amongst the various browsers. Here is a quick rundown of 5 most popular JavaScript Libraries:</p>
<h2><a href="http://jquery.com/">jQuery</a></h2>
<p style="text-align:center"><img src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/06/jqueryplugins.png?323f2c" width="440" height="291" alt="javascript code library"/></p>
<p>Arguably the most popular JavaScript code library out there. jQuery is called the &#8220;write less, do more&#8221; JavaScript library. One of the reasons for this is the concise syntax and one-liners that allow you to perform complex tasks, that would normally require a fair amount of code.</p>
<p>$(&#8216;#toc&#8217;).children(&#8216;li&#8217;).addClass(&#8216;highlight&#8217;).show(&#8216;slow&#8217;)</p>
<p>This is a typical jQuery one-liner that looks for a DOM element with id &quot;toc&quot; and then traverses its children for any &quot;li&quot; elements, adds a class highlight to them and unhides them while animating them slowly. Try doing that in a single line of crude JavaScript!</p>
<p>Greatest strength of jQuery is DOM traversal and manipulation. These have been made so easy with jQuery that one often tends to slack off when writing markup, thinking how easy it is to manipulate it using jQuery. In addition, jQuery also has excellent list of plugins and jQuery UI which is great for extending the capabilities of jQuery and designing awesome user interfaces.</p>
<h2><a href="http://www.mootools.net">Moo Tools</a></h2>
<p style="text-align:center"><img src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/06/mootoolseffect.png?323f2c" width="415" height="318" alt="javascript code library" /></p>
<p>Moo Tools offers similar capabilities as well. Both jQuery and Moo Tools offers similar capabilities and differ slightly in syntax. Moo Tools is slightly more inclined towards writing Object Oriented JavaScript. While nothing stops you from doing so with jQuery, Moo Tools actually facilitates writing re-usable Object Oriented Code. jQuery is focused more towards getting things done easily while, Moo Tools is for the intermediate to advanced JavaScript developer who wants to writes components to use them later.</p>
<p>Moo Tools has a plugin directory of its own, it may not be as rich as jQuery&#8217;s plugin directory but it is certainly one you can turn to when in need. The documentation is good and there are books that focus on Moo Tools so you can get started and be up to speed easily.</p>
<h2><a href="http://www.dojotoolkit.org">Dojo Toolkit</a></h2>
<p style="text-align:center"><img src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/06/dojodocs.png?323f2c" width="489" height="368" alt="javascript libraries"/></p>
<p>As the name says, it is a toolkit. As such it offers a powerful API that lets you perform complex tasks like DOM manipulation, traversal and animation easily via CSS selectors as do most other JavaScript frameworks and libraries. Where Dojo excels is the performance front. Dojo along with jQuery are the two best libraries in terms of execution speeds (although at the end comparing JS frameworks in terms of speed is sometimes like comparing apples to oranges). </p>
<p>Dojo Toolkit also offers rich UI widgets that you can use to enhance the user interface of your application. Dojo supports all the popular browsers and the documentation is good along with a number of books that you can buy to learn the ins and outs of Dojo Toolkit.</p>
<h2><a href="http://www.extjs.com">Ext JS</a></h2>
<p style="text-align:center"><img src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/06/extjs.png?323f2c" width="540" height="238" /></p>
<p>If it is the user interface you are focusing on, when developing your web app, Ext JS is perhaps one of the best solutions out there. Ext JS provides a comprehensive set of widgets which give your web app a desktop application like look and feel. The UI widgets are rich in functionality as well, capable of fetching data via a variety of methods and displaying them exactly like you want.</p>
<p>There are tabs panels, trees, accordions, grids and a whole lot more. These can be combined with one another by means of layouts (a la Java Swings) to design a complex layout that can put desktop applications to shame. You can look at some of the <a href="http://www.extjs.com/deploy/dev/examples/feed-viewer/view.html">demo apps over at Ext JS site</a> to see what the javascript code library is capable of. Recently they have also released the Ext Designer, which allows you to create UI&#8217;s using simple drag-and-drop operations and then gives you the code for UI.</p>
<h2><a href="http://developer.yahoo.com/yui/">YUI</a></h2>
<p style="text-align:center"><img src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/06/yuishot.png?323f2c" width="540" height="322" alt="javascript libraries" /></p>
<p>YUI or the Yahoo! User Interface library is the same library that powers the Yahoo! homepage. YUI is a robust, feature rich JavaScript Library developed by engineers at Yahoo and now includes code from contributors from around the world.</p>
<p>The library features number of UI widgets, utilities to take care of animation, drag and drop, AJAX calls and the likes. Contrary to other popular libraries, YUI actually lets you choose just the features you want to use, which keeps your application lightweight. You can find a lot of examples and tutorials, along with excellent documentation to help you along.</p>
<p>There a host of other JavaScript libraries that didn&#8217;t find a mention above. <a href="http://www.prototypejs.org/">Prototype</a>, <a href="http://script.aculo.us/">Scriptaculous</a>, <a href="http://mochikit.com/">Mochikit</a>, <a href="http://qooxdoo.org/">Qooxdoo</a>, <a href="http://openrico.org/">Open Rico</a> to mention a few. All the libraries bring something extra to the table. There has never been nor there will ever be a clear winner. The one you choose is the one you are most comfortable with and the one that suits the needs of what you are trying to build.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.makeuseof.com/tag/5-extensive-javascript-code-library-options/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>What is JavaScript and How Does It Work? [Technology Explained]</title>
		<link>http://www.makeuseof.com/tag/what-is-javascript-how-works/</link>
		<comments>http://www.makeuseof.com/tag/what-is-javascript-how-works/#comments</comments>
		<pubDate>Sun, 13 Jun 2010 22:30:19 +0000</pubDate>
		<dc:creator>Varun Kashyap</dc:creator>
				<category><![CDATA[MakeUseOf Explains]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[scripts]]></category>
		<category><![CDATA[technology explained]]></category>

		<guid isPermaLink="false">http://www.makeuseof.com/?p=46009</guid>
		<description><![CDATA[JavaScript has an interesting bit of history. Originally developed at Netscape as Mocha, it came to the forefront with official announcement in 1995. It was then developed independently by different parties, most notable of which was JScript by Microsoft. Obviously a standardized implementation was needed, which led to its submission to ECMA international. Thus ECMAScript [...]]]></description>
			<content:encoded><![CDATA[<p><firstimage="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/06/browserlogojs.jpg" /><img style="border: 0px none;margin-left:20px;float:right;" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/06/browserlogojs.jpg?323f2c" alt="what is javascript"/>JavaScript has an interesting bit of history. Originally developed at Netscape as Mocha, it came to the forefront with official announcement in 1995. It was then developed independently by different parties, most notable of which was JScript by Microsoft. </p>
<p>Obviously a standardized implementation was needed, which led to its submission to ECMA international. Thus ECMAScript was formed. These days, most browsers support <a href="http://www.ecma-international.org/publications/standards/Ecma-262.htm">ECMA-262</a> which is also more commonly (and often vaguely) known as <em>JavaScript</em>.</p>
<p><span id="more-46009"></span><br />
What is Javascript? Javascript is rightly called the language of the Web. Each newer browser version pushes the bar higher in terms of JavaScript execution speeds. This is an important performance parameter these days as sites make extensive use of JavaScript. JavaScript led the Web 2.0 revolution with AJAX. Using JavaScript, sites can send HTTP requests behind the scenes and customize or update certain sections of the site, tailored to a particular user&#8217;s needs. This does away with complete page refreshes and makes the user interface a lot more powerful and user friendly.</p>
<h2>Hello World of JavaScript</h2>
<p>The Hello World example is almost customary to include when talking about programming languages. So here we go</p>
<p>&lt;script&gt;<br />
document.write(&quot;Hello, World!&quot;);<br />
&lt;/script&gt;</p>
<p>You can also pop alert boxes just as easily with:<br />
&lt;script&gt;<br />
document.alert(&quot;Hello, World!&quot;);<br />
&lt;/script&gt;</p>
<p style="text-align:center"><img style="border: 0pt none;" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/06/popup.png?323f2c" alt="what is javascript"/></p>
<p>Yeah, that is all you need. No need to include any file or import any packages. Everything that is needed to execute JavaScript is provided by the browser (or the client) so it is also called <strong>Client Side Scripting Language</strong>. Why client side? To answer this question, you would have to look into how JavaScript works.</p>
<h2>How It Works</h2>
<p>The browser fetches a page which might have embedded JavaScript as we saw above, or refers to a separate JavaScript file in which case that file is also fetched by the browser.</p>
<p style="text-align:center"><img style="border: 0pt none;" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/06/fetchjs.png?323f2c" width="481" height="182" alt="what is javascript"/></p>
<p>Next up, depending upon what you want your JavaScript code to do and how you structured it, it will either execute as soon as the file loads or wait for a triggering event (like a click, or load).</p>
<p style="text-align:center"><img style="border: 0pt none;" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/06/somecode.png?323f2c" width="540" height="82" alt="javascript"/></p>
<p>Finally, when it&#8217;s all good, the code is executed line by line. JavaScript is an interpreted language, which means you don&#8217;t need to compile the code into another form to execute it. All of the changes you make, instantly take effect.</p>
<h2>Comparing Other Programming Languages</h2>
<p>Contrary to what the name might suggest, JavaScript is actually very different to Java. There are some similarities in the syntax, but that&#8217;s about it. JavaScript is loosely typed (you don&#8217;t have to define the datatype of variables) while Java is not. JavaScript is mainly executed in a browser, where as Java can be used to create stand alone applications. Java has a much wider area of application as compared to JavaScript which largely lives inside the browser.</p>
<p>JavaScript is Object Oriented but unlike other programming language that implement inheritance via classes, JavaScript does so via <a href="http://www.javascriptkit.com/javatutors/proto.shtml">prototypes</a>. JavaScript also has the largest install base (arguably) since it is bundled with all the major web browsers these days.</p>
<p>I have merely scratched the surface when you consider that it is a full blown programming language, and that it has all the buzz and develop going for it these days. There are plenty of JavaScript libraries, <a href="http://en.wikipedia.org/wiki/Server-side_JavaScript">server side JavaScript</a> and other <a href="http://taffydb.com/">projects</a> that push the realms and applications of JavaScript to a whole new level. If you are starting out on JavaScript there are <a href="http://www.w3schools.com/js/default.asp">few</a> <a href="http://www.tizag.com/javascriptT/">tutorials</a> that will help you along. Once you are up to speed and enjoy what you are doing, you can pick up <a href="http://oreilly.com/catalog/9780596101992">The Rhino Book</a> and enhance your JavaScript skills even further.</p>
<p>Have you ever tried to program with JavaScript? How was the experience?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.makeuseof.com/tag/what-is-javascript-how-works/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Turning Any Web App Into Desktop App with Fluid [Mac]</title>
		<link>http://www.makeuseof.com/tag/turning-web-app-into-a-site-specific-browser-app-with-fluid-mac/</link>
		<comments>http://www.makeuseof.com/tag/turning-web-app-into-a-site-specific-browser-app-with-fluid-mac/#comments</comments>
		<pubDate>Wed, 27 Jan 2010 19:30:57 +0000</pubDate>
		<dc:creator>Jeffry Thurana</dc:creator>
				<category><![CDATA[Cool Mac Apps & Tips]]></category>
		<category><![CDATA[browser tips]]></category>
		<category><![CDATA[browsers]]></category>
		<category><![CDATA[desktop client]]></category>
		<category><![CDATA[desktop enhancements]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://www.makeuseof.com/?p=34222</guid>
		<description><![CDATA[You don&#8217;t need to be an expert in the technology industry to be able to see where the trend is heading: the cloud. More and more web-based applications are available, substituting their desktop-based counterpart. While this is a good idea, the trend brings up some inconveniences. One of them is the unavoidable clutter of the [...]]]></description>
			<content:encoded><![CDATA[<p><firstimage="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/01/00-Fluid-logo.jpg" /><img class="align-left" style="margin-right:20px" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/01/00-Fluid-logo.jpg?323f2c" border="0" alt="" vspace="5" />You don&#8217;t need to be an expert in the technology industry to be able to see where the trend is heading: the cloud. More and more web-based applications are available, substituting their desktop-based counterpart.</p>
<p>While this is a good idea, the trend brings up some inconveniences. One of them is the unavoidable clutter of the browser tabs. It seems that the concept of opening only one tab at a time is alien to modern day people. If you are similar to most people, you&#8217;ll have many open many tabs simultaneously.<br />
<span id="more-34222"></span></p>
<h3><strong>Terror of the tabs</strong></h3>
<p>All of these open tabs, which consist of the regulars (the ones that we always open) and the passersby (the occasional browse), will eventually choke your browser and drain your system resources.</p>
<p style="text-align:center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/01/05-There-are-more-open-tabs.jpg?323f2c" border="0" alt="05 There are more open tabs.jpg" width="443" height="373" /></p>
<p>But the worst part is the time when you have to re-open your browser &#8211; along with all the tabs. Even if you are lucky enough to have the<em> last opened tabs</em> remembered by the browser, the process will still take time and bandwidth.</p>
<p>What if you&#8217;ve quit your browser, but you need to check your inbox in GMail? Do you need to open all the tabs for the sake of only one?</p>
<p>It would be nice if the important links &#8211; the one that we often visit &#8211; could be opened independently in a site specific browser. Beside reducing the clutters, this method will also lighten up the burden for your system.</p>
<p>To be able to do that on Mac, you need the help from <a href="http://fluidapp.com/">Fluid</a>.</p>
<h3><strong>The turn and the tune</strong></h3>
<p>Fluid is an application that will help you build Site Specific Browsers (SSBs). Translation: you can create a dedicated browser for each of your favorite web address. Every browser instances is an independent application by itself.</p>
<p>Jackson discussed Fluid <a href="http://www.makeuseof.com/tag/site-specific-browsing-with-fluid-mac-only/">back in 2008</a>, please refer to the article for more information and the background story. But there have been many improvements since then. So, let&#8217;s have another look, shall we?</p>
<p>To create a new SSB, tell Fluid the site address. Don&#8217;t forget to give name to it. By default, Fluid will put the end result in the Applications folder and use the web&#8217;s favicon as the app&#8217;s icon (even though the icon fetching action is not always successful). Click create to start the building process.</p>
<p style="text-align:center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/01/01a-Start-Fluid.jpg?323f2c" border="0" alt="01a Start Fluid.jpg" width="515" height="283" /></p>
<p>Several seconds later, your dinner is served.</p>
<p style="text-align:center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/01/01b-Fluid-Success.jpg?323f2c" border="0" alt="01b Fluid Success.jpg" width="511" height="153" /></p>
<p>Launching the new app will open the main page (or the address that you provide).</p>
<p style="text-align:center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/01/01c-MakeUseOf-result.jpg?323f2c" border="0" alt="01c MakeUseOf result.jpg" width="550" height="377" /></p>
<p>The interface is deliberately set to be clean and simple. But should you need the standard browser interface, you could do so via &#8220;<em>View</em>&#8221; menu.</p>
<p style="text-align:center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/01/02-Show-Toolbar.jpg?323f2c" border="0" alt="02 Show Toolbar.jpg" width="476" height="281" /></p>
<p>You can adjust many behaviors of created SSB from the Preferences menu. There are many categories there, but we&#8217;ll just look into some of the most important.</p>
<p>First, the General Preferences. This is the place to assign shortcut keys and change the application icon.</p>
<p style="text-align:center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/01/03a-General-Preferences.jpg?323f2c" border="0" alt="03a General Preferences.jpg" width="550" height="371" /></p>
<p>You can also adjust the general look to your liking from the Appearance Preference.</p>
<p style="text-align:center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/01/03b-Appearance-Preferences.jpg?323f2c" border="0" alt="03b Appearance Preferences.jpg" width="550" height="360" /></p>
<p>The Userstyles Preferences pane is the &#8220;dreams come true&#8221; tab for most of creative people out there. You can assign CSS codes to alter the appearance of SSB&#8217;s sites and pages. After clicking the &#8220;Plus&#8221; (+) button, write down the specific address in the &#8220;<em>URL Pattern&#8221;</em> box and check the box. While selecting one of the URL Pattern, you add lines of the CSS codes inside the box below.</p>
<p style="text-align:center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/01/03c-Userstyles-Preferences.jpg?323f2c" border="0" alt="03c Userstyles Preferences.jpg" width="550" height="320" /></p>
<p>There is a short video explaining this feature <a href="http://fluidapp.com/blog/2008/08/12/fluid-093-released-with-userstyles/">in the developer&#8217;s blog</a>.</p>
<p>And for those who aren&#8217;t into CSS, there are a lot of ready-made userstyles for Fluid. Each of them was usually written for a specific site/web service. All you need to do is search for them. <a href="http://userstyles.org/">Userstyles.org</a> is a good place to start.</p>
<p>To get ideas on how far you can go with the customization, you could visit <a href="http://www.peterkrantz.com/2008/twitter-client-with-fluid-and-jquery/">this site</a>.</p>
<p style="text-align:center;"><img class="aligncenter size-full wp-image-34224" title="06 twoot-hud" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/01/06-twoot-hud.png?323f2c" alt="06 twoot-hud" width="242" height="427" /></p>
<p>As the name suggests, SSB will only allow you to go around a specific site. But the strict rule could easily be bent by going to the Advanced Preferences. You could add more URL patterns &#8211; the open areas that could be visited &#8211; or you could just bypass the rule by choosing &#8220;<em>Allow browsing to any URL</em>&#8221; radio button.</p>
<p style="text-align:center;"><img class="aligncenter" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2010/01/03d-Advanced-Preferences.jpg?323f2c" border="0" alt="03d Advanced Preferences.jpg" width="550" height="382" /></p>
<h3><strong>(Almost) unlimited possibilities</strong></h3>
<p>Fluid and its ability to be customized really open up the door for possibilites. You could go from just creating simple SSBs of your favorite sites to building your own desktop clients made up of web services. Few of the popular web services among Fluid users are: Digg, Twitter, GMail, Remember the Milk, Google Docs and Facebook. While my personal favorite usage is to build specific blogging clients of the sites where I contribute.</p>
<p>The availability of bookmarks bar also allows you to add bookmarklets to enhance the ablility of the SSBs.</p>
<p>As a standalone applications, you could also add your SSBs to the startup list (System Preferences &gt; Accounts &gt; Login Items) so they will always be available every time you restart your system.</p>
<p>Have you ever tried <a href="http://fluidapp.com/">Fluid</a>? Do you have other ideas of using Fluid? Do you know cool customizations for Fluid&#8217;s SSBs? Share using the comment below.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.makeuseof.com/tag/turning-web-app-into-a-site-specific-browser-app-with-fluid-mac/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached (Requested URI is rejected)
Database Caching 1/42 queries in 0.059 seconds using apc
Object Caching 745/837 objects using disk: basic
Content Delivery Network via main.makeuseoflimited.netdna-cdn.com

Served from: www.makeuseof.com @ 2012-02-10 15:48:40 -->
