Big Blog

Arts & Culture
Biological Science
Blog Watch
Computer Games
Computer Security
Cricket
Data Privacy
Developer
Domain Names
E-commerce
Gadgets
General Science
Handhelds
IP & Patents
Java
Linux
MP3
Nanotech
Online Auctions
Online Legal Issues
Open Source
Personal Finance
Photography
Quirky
Robotics
Search Engines
Space Science
Top Internet
Top Stories
Top Tech
Video Games
Web Developer
Webmaster Tips
XML & Metadata
{Home}



JavaScript and HTML Tricks: related news

JavaScript and HTML Tricks

Here are some of my favorite JavaScript and HTML tricks. There are a wide variety of options: from storing and using hidden data to making HTML forms and lists look great. Each topic has a brief introduction showing you how it will improve your Web site. Then I'll go into each technique in detail.

Protecting against evil code fragments with HTML Purifier

HTML Purifier is a project that helps you ensure that HTML is valid and does not contain cross-site scripting attempts or other nasty attacks. With HTML Purifier you can allow users to post HTML content without letting them insert nasty code that will run in the browser of anyone viewing that HTML. An assortment of plugins let you use HTML Purifier with CodeIgniter, Drupal, MODx, Phorum, Joomla!, and WordPress. To get an idea of the cleanups that HTML Purifier can perform, head over to the demo page.

Firefox Gets Massive JavaScript Performance Boost

monkeymonkey writes "Mozilla has integrated tracing optimization into SpiderMonkey, the JavaScript interpreter in Firefox. This improvement has boosted JavaScript performance by a factor of 20 to 40 in certain contexts. Ars Technica interviewed Mozilla CTO Brendan Eich (the original creator of JavaScript) and Mozilla's vice president of engineering, Mike Shaver. They say that tracing optimization will 'take JavaScript performance into the next tier' and 'get people thinking about JavaScript as a more general-purpose language.' The eventual goal is to make JavaScript run as fast as C code. Ars reports: 'Mozilla is leveraging an impressive new optimization technique to bring a big performance boost to the Firefox JavaScript engine. ...They aim to improve execution speed so that it is comparable to that of native code.

Cocoa-Like JavaScript Framework Announced

TwilightSentry writes "Ars Technica reports that a group of developers has created an Objective-C-like extension to JavaScript along with a class library mirroring Cocoa. They've used these to release an impressive demo app called 280 Slides. The article notes, 'Whereas SproutCore seeks to "embrace the platform" by giving a Cocoa-like development model for developers already using HTML, CSS, and JavaScript to make a web app, Cappuccino and Objective-J take an entirely different approach. "Since Cappuccino runs entirely on the client, at run time, we're never actually generating HTML or CSS," says Boucher. "When you build an application in Cappuccino, you don't need to ever deal with HTML or CSS. All of your interface is designed in Objective-J and Cappuccino.

Firefox Javascript Performance To Get A Shot In The Arm

If you are anything like me, then websites which make heavy use of Javascript may get slightly frustrating at times, slowing down pages that would otherwise be responsive. The good news is that Mozilla has been working on some new optimization to greatly increase the performance of Firefox's Javascript engine. The optimization tactic called 'tracing' has seen performance increases of between 20 and 40 fold in some cases, and believe the work being put down will pave the way for developers to use Javascript for writing full applications. It should also increase Firefox performance in general, as a number of components and extensions are coded in Javascript. The code should see inclusion in the next update to Firefox (3.1), and it is worth noting that Apple have also been implementing performance improvements, which are due to find their wa

Is knowing HTML important for Web designers?

I was reading a blog post on Disassociated.com and they said that they've worked with art directors on a design team who don't even know what HTML stands for - let alone how to do it. On the other hand, Tony Patton on Builder.au says that it's not possible. He points out that HTML is very easy to learn, and I completely agree. While I do think that it's possible to create nice looking pages without knowing HTML, if you want to be a truly proficient Web designer and developer, then you need to learn HTML and learn CSS.

Performance Optimizations for High Speed JavaScript

In this article, we look at how important JavaScript optimizations are analyzed. These will be explained, including using local function variables, avoiding references to objects or object properties, avoiding adding short strings to long strings, and finally, using buffering to process data in optimal sizes. These general-purpose JavaScript optimization techniques are designed for JavaScript on all browsers. Detailed graphs of all the performance results are given after each optimization. You will be amazed at the incredible speed improvements in JavaScript!

JavaScript and HTML Tricks

eBook: A storage network is any network that's designed to transport block-level storage protocols. But understanding the ins and outs of networked storage takes you deep into several of protocols. This guide covers SANs, Fibre Channels, Disk Arrays, Fabric, and IP Storage. »

JavaScript: The Good Parts

Anita Kuno writes "JavaScript: The Good Parts is about the good parts of JavaScript and how to use them. This book takes a realistic look at the strengths and weaknesses of JavaScript and tells you how to use it to its best advantage. The code samples deal with the language and its merits — creating web pages is not discussed. How to understand the language, to execute the operations you want, is the focus of the book, not how to make rounded corners. The author, Douglas Crockford says, 'My microwave oven has tons of features, but the only ones I use are cook and the clock. And setting the clock is a struggle. We cope with the complexity of feature-driven design by finding and sticking with the good parts.'" Keep reading for the rest of Anita's review.

HTML or XHTML: Does It Really Matter?

James Edwards James (aka brothercake) is a freelance web developer based in Australia, specializing in advanced JavaScript programming and accessible web site development. He is an outspoken advocate of standards-based development, and co-author of SitePoint's The JavaScript Anthology: 101 Essential Tips, Tricks & Hacks.

E4X: JavaScript on steroids: Process XML efficiently with JavaScript E4X

Learn to use ECMAScript (aka JavaScriptâ„¢) for XML (E4X), and discover the capabilities of the E4X enhancement, which was designed to facilitate simple and easy parsing, calculating, editing, and related activities on XML data.

HTML 5, WebSocket, and Comet - The Future of the Web

There are several innovations within the HTML 5 specification that will forever change the direction of the Web, and one in particular - WebSocket - that will revolutionize the way we develop and deploy Web applications. Until now, bi-directional browser communication has been an elusive goal of the Comet community, usually achieved with an assortment of hacks. However, with recent updates to the HTML 5 specification, developers can now use a full-duplex communications channel that operates over a single socket.

Dynamic HTML Editor 4.2.49

Powerful HTML Editor that permits you to create your site in a WYSIWYG environment using a combination of either CSS or tabled layouts. Dynamic HTML Editor's design emphasizes simplicity and ease of use. You'll find that you can create great looking websites almost instantly with virtually no learning curve. If you are a developer and understand how to work with code, it is also great for creating server pages.

Find the HTML tag you were looking for

There are so many HTML tags available it's no wonder many Web designers succumb to divitis. After all, it's a lot easier to just use a div than to figure out which tag is right for the job. But with the About.com HTML Tag and XHTML Element Library you can look up tags in many different ways and find just the right tag for what you're trying to mark up. And you can make sure that you're using your tags correctly including what browsers support the tags.

Which Importante Of Links.html?

Create a page of links (links.html, links01.html,... ) or put reciprocal links in my content with related pages of their site?

Mozilla Speeds Up JavaScript with TraceMonkey

Mozilla has revved up its SpiderMonkey JavaScript engine with a new just-in-time compiler. The TraceMonkey project boosts JavaScript performance by an order of magnitude. TraceMonkey is slated for release in Firefox 3.1 and is expected to also boost Canvas development.

Thwarting New JavaScript Malware Obfuscation

I Don't Believe in Imaginary Property writes "Malware writers have been obfuscating their JavaScript exploit code for a long time now and SANS is reporting that they've come up with some new tricks. While early obfuscations were easy enough to undo by changing eval() to alert(), they soon shifted to clever use of arguments.callee() in a simple cipher to block it. Worse, now they're using document.referrer, document.location, and location.href to make site-specific versions, too. But SANS managed to stop all that with an 8-line patch to SpiderMonkey that prints out any arguments to eval() before executing them. It seems that malware writers still haven't internalized the lesson of DRM — if my computer can access something in plaintext, I can too.

Visual Studio 2008 simplifies JavaScript debugging

One of the more cumbersome development tasks is debugging client-side JavaScript code. Tools such as Firebug are helpful, but in the case of Firebug, you're forced to use Firefox. Thankfully, Visual Studio 2008 provides a robust and developer-friendly environment for debugging JavaScript.

Book Review: Head First JavaScript

If you're like a lot of people I've met over on the WebDeveloper.com forums, you've learned HTML and CSS and are now ready to tackle JavaScript. The question is, where to start?. Most of the developers I've encountered tend to learn best by using tutorials and books rather than attending formal classes at a local or online college.

Creating a Database Using HTML Forms

This article is aimed at beginner and intermediate Web developers looking to make the leap into database support of their Web site. The article suggests a new declarative language based on HTML-forms, which is used for development of a database interface. HTML forms can manage not only the creation of a database, but also the execution of requests to the database.


Search News:


Copyright © 2001-2008 Jonathan Hedley