Tag Archives: jQuery
Yet Another Pretty Date JavaScript
I can’t let this Pretty Date thing go. I decided to use a modification of John Resig’s Pretty Date JavaScript implementation written by Dean Landolt and shared in the comments on John’s page. The script was an obvious choice for the next iteration of Alarmd, which is nearing completion as I type. The more I [...]
Posted in JavaScript, Projects Also tagged Dates
Namespacing outside of the YAHOO Namespace
YAHOO.namespace(). A lovely little utility function subject that I’ve written about before. If you’ve never heard of YAHOO.namespace or aren’t even familiar with namespacing, I’d read that article first. I’ll be honest, using the YAHOO namespace to store my own code makes my bunghole tighten just a little bit. What if I had written code [...]
Posted in JavaScript Also tagged Namespacing, YUI
Using DOM Query Libraries in YUI
Recently, I posted the top 8 things I thought the YUI Library needed to be a top tier JavaScript library again. One of those things included a CSS Selector DOM Querying class. Use one of these babies for awhile, and you’ll never be able to code without it again. They’re amazingly useful and will shorten [...]
Posted in JavaScript Also tagged CSS Selectors, DED|Chain, ExtJS, Packer, YUI
JavaScript Frameworks and JSF
You’re programming a new web application using JSF, maybe with Facelets, maybe without. Which client-side JavaScript framework is going to work with it’s unstandardized method of assigning ID attributes to it’s elements? Here is an example of a JSF file: <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %> <html> <body> <f:view> <h:form id="myForm"> [...]


Architecture Choices: Callbacks and Events in JavaScript