All posts tagged ‘wiki’

File Under: CSS, Fonts, UI/UX

Web Typography Tutorial – Lesson 2

Ask any web designer about the use of typographic design on web pages and they’ll tell you the same truth: The web is a harsh, uninviting environment for the delicateness of fine typography. Along with the usual web culprit of platform inconsistency, the extreme low resolution of even the best current screens means type online can only allude to the geometry of the typefaces you’ve so carefully chosen and specified.

Continue Reading “Web Typography Tutorial – Lesson 2″ »

JavaScript Tutorial – Lesson 5

Now that you’ve mastered the basics of computer programming, it’s time to refocus on the Document Object Model (DOM). We’ve already seen that the DOM hierarchy starts with a Window object. Inside each Window object is a Document object. We’ll be spending this lesson going through the Document object and seeing how it can be used to get all kinds of information from your users and to dynamically present new information.


Continue Reading “JavaScript Tutorial – Lesson 5″ »
File Under: JavaScript, Programming

Debug JavaScript With Venkman

In the first part of our JavaScript debugging tutorial, we talked about debugging methods that work in just about any web browser. These techniques are useful when you’re trying to get your script to work in a particularly troublesome browser. More often, however, you’re faced with some code that just plain doesn’t work, and you’re not sure why.

With a script debugger, you can pop the hood and study exactly how things work — the catch being that the only really robust debuggers exist only for Internet Explorer and the Mozilla family of browsers. But that’s OK. You don’t really care about browser compatibility yet; you just want the darn thing to work.

In today’s lesson, I’m going to show you how to use Venkman, Mozilla’s script debugger. It’s not really any better or worse than Microsoft’s Script Debugger, but it has the advantage on running on Windows, Linux, Unix, and Mac OS X. You can download it from Mozilla’s site. As with all extensions, you’ll need to restart your browser after installation. Once you restart, you should see a menu item named JavaScript Debugger under the Tools menu. Make sure to click on this menu item after you’ve loaded the page you want to debug. It also is a good idea to close any extraneous tabs before you start debugging.

Continue Reading “Debug JavaScript With Venkman” »
File Under: Databases

Manage Transactions in MySQL – Lesson 2

In Lesson 1 of this tutorial, you leaned how to approximate transaction-like behavior with MyISAM tables. In this lesson, you’ll see how you can achieve real transactions with each of MySQL’s three transactional table types: BDB, InnoDB, and Gemini. But before I get to specifics surrounding each table, I need to revisit the notion of locking.

Remember that MyISAM supports only table-level locks of two types: read locks and write locks. The transactional tables types offer more granular locking mechanisms: They can place locks on specific subsets of data. You’ll read more about each table’s locking mechanisms as I get to them in the following pages.


Continue Reading “Manage Transactions in MySQL – Lesson 2″ »
File Under: APIs, Location

Get Started With the Yahoo HTTP Geocoder API

Since the major search engines have opened up their mapping tools to programmers, geocoding has become an essential step in the process of building many a mashup.

Geocoding is the process of converting human-readable place data — a city name, ZIP code, or address — to latitude and longitude points that can be easily plotted on a map.

Yahoo’s HTTP Geocoder API is easy to use, and its output is easy to incorporate into your applications. This article will describe its features and show some examples of how to access the results.


Continue Reading “Get Started With the Yahoo HTTP Geocoder API” »