background preloader

JsPerf: JavaScript performance playground

JsPerf: JavaScript performance playground

HTML5 Boilerplate - Um padrão sólido para HTML5 impressionante. Violin: Visualizing JavaScript This is an experiment in instrumenting JavaScript applications. On the right is the Object and Function graph for a simple Backbone app. The app's code has been instrumented to draw and animate the graph as the JavaScript runs without having to modify the app's original code at all (by hand anyway). Hit the button to start the backbone app and interact with it. Metaprogramming rocks :). This experiment is by Philip Roberts. Discussion This is a first attempt at instrumenting a JavaScript application. Instrumenting is performed by recursively iterating over the application's namespace to build the graph, and decorating any functions to trigger events when they are called. Currently the graph shows the Object heirarchy, rather than the prototype hierarchy or all the instantiations of the object, and function nodes on the graph will be triggered when any instantiation of that object calls the function. The code

Tutorial: Debugging This tutorial introduces you to using Google Chrome's built-in Developer Tools to interactively debug an extension. To follow this tutorial, you need the Hello World extension that was featured in Getting Started. In this section, you'll load the extension and take a look at its information in the Extensions page. Load the Hello World extension if it isn't already running. If the extension is running, you'll see the Hello World icon to the right of your browser's address bar. If the Hello World extension isn't already running, find the extension files and load them. As long as your browser is in Developer mode, it's easy to inspect popups. Go to the Extensions page ( and make sure Developer mode is still enabled. The popup remains open as long as the Developer Tools window does. In this section, you'll follow the execution of the popup page as it adds images to itself. Use the buttons next to the play/pause button to step over, into, and out of function calls.

SWF Charts > Introduction XML/SWF Charts is a simple, yet powerful tool to create attractive charts and graphs from XML data. Create an XML source to describe a chart, then pass it to this tool's flash file to generate the chart. The XML source can be prepared manually, or generated dynamically using any scripting language (PHP, ASP, CFML, Perl, etc.) XML/SWF Charts makes the best of both the XML and SWF worlds. Features: Quick generation of charts and graphs from static or dynamic data (any scripting language) Full updates and data streaming without reloading the web page. Testimonials I just wanted to pass along how well your script worked for our stock performance page. Good work! This is amazing software. Just want to thank you for this wonderful upgrade. I purchased your product a couple days ago and first had time to sit down and work with it this morning. Wow, you are the best! Thanks for your great script. I am very excited to have found your product on "hotcripts". You are freaking amazing. THIS ROCKS!

Closure Tools The Closure Tools project is an effort by Google engineers to open source the tools used in many of Google's sites and web applications for use by the wider Web development community. Web applications have evolved from simple HTML pages into rich, interactive applications that provide a great user experience. Today's web apps pose a challenge for developers, however: how do you create and maintain efficient JavaScript code that downloads quickly and works across different browsers? The Closure tools help developers to build rich web applications with web development tools that are both powerful and efficient. The Closure tools include: A JavaScript optimizer The Closure Compiler compiles JavaScript into compact, high-performance code. A comprehensive JavaScript library The Closure Library is a broad, well-tested, modular, and cross-browser JavaScript library. The Closure Library is server-agnostic, and is intended for use with the Closure Compiler. An enhanced stylesheet language

Debugging JavaScript This document is intended to help developers writing JavaScript code in Mozilla, mainly for Mozilla itself, but it may also be useful for web developers. It should give pointers to tools, aids and tricks which make debugging your code easier. Web Console This is the first place to go when you're debugging a web page; open the Web console using the Web Console option in the Web Developer menu. This shows any JavaScript errors in your app, as well as any logging calls from the console API. Browser Console The Browser Console lets you see all JavaScript errors and logging in the browser, including from Firefox code. You can also start the Browser Console when you launch Firefox, by launching Firefox from the command line and passing --jsconsole as a flag: /path/to/firefox --jsconsole Log to the Browser Console using the standard console API after importing Console.jsm: let console = (Cu.import(" {})).console; console.log("Hello from Firefox code");

Javascript Syntax Checking From Vim | Mike Cantelon Syntax checking from vim is handy. By checking your Javascript syntax from vim, rather than the browser, you'll save time and aggravation. To do it, you'll need Spidermonkey, which allows you to run Javascript without a browser, and JsLint, a Javascript syntax-checker writter in Javascript. Installing Spidermonkey Consult the build instructions page for installation instructions for many architectures, or use the quick instructions below for Ubuntu and Centos. Quick install for Ubuntu sudo apt-get install spidermonkey-bin. Once you've installed Spidermonkey you'll be able to enter a Javascript shell by entering the command 'js' (exit with CTRL-d). Setting Up JsLint Next you'll need to download the JsLint Javascript syntax checking library. Download it and put it somewhere handy, for example: wget mv fulljslint.js /home/admin/bin/js Running JsLint For example, I could create a file called runjslint.js like this as /home/admin/bin/js/runjslint.js: cabbr js ! #!

SyntaxHighlighter - Feature Demo <title>SyntaxHighlighter Demo Page - <?= htmlspecialchars($title) ?></title> ** Multiline block comments $stringWithOutUrl = 'hello world'; ob_start("parseOutputBuffer"); // Start Code Buffering session_start(); function parseOutputBuffer($buf) { global $portal_small_code, $portal_gzcompress; global $PHP_SELF, $HTTP_ACCEPT_ENCODING; // cleaning out the code. if($portal_small_code && ! $buf = str_replace(" ", "", $buf); $buf = str_replace("\n", "", $buf); $buf = str_replace(chr(13), "", $buf); Internet Explorer Learning - F12 Developer Tools Internet Explorer 8 fue el primer navegador en proporcionar herramientas de desarrollo integradas para ayudar a los desarrolladores en la creación rápida de prototipos, pruebas y depurar páginas Web y permitirles ver los cambios realizados por ellos, directamente en el navegador. Como novedades en Internet Explorer 9 se incluye la posibilidad de cambiar a versiones anteriores del navegador IE, un inspector de tráfico de red, un analizador de JavaScript mejorado y soporte integrado para los nuevos estándares web con Internet Explorer 9. Tutoriales Volver arriba Videos Circular Memory Leak DetectionEn este vídeo, Matt Hester discute mejoras de administración de memoria de Internet Explorer que reducirá los efectos de pérdidas de memoria creados por referencias circulares entre objetos de Microsoft Jscript y Document Object Model (DOM). Depurar JavaScriptEn este vídeo, Matt Hester muestra las herramientas integradas de Internet Explorer y cómo utilizarlos eficazmente para depurar JavaScript.

25 Handy Freelance Web Designer Tools A freelancer’s job can prove as hectic as any other profession, even more so when you consider all the documents, images, passwords, conversations, instructions etc that the freelancer must store and keep track of. Over the years keeping track of all that goes on within this profession has become somewhat easier with the introduction of a plethora of online tools. Services like Dropbox and Box have made it easier to access documents on the move, and other services such as Plaxo have given us the opportunity to merge all of our contacts from various services and access them on the go through a variety of devices. In this post you'll find a useful list of online tools that you can use to help organise and track your daily freelancing life. Also included are some websites that offer you free downloads such as PSD files, brushes and icons to help speed up the creative process of your work. Communication Tools Finance Tools Blinksale Send invoices and process payments easily with Blinksale.

Meteor on Windows JavaScriptSource.com - Free JavaScripts, Tutorials, Example Code, Reference, Resources, And Help

Related: