Continue Reading “Ajax for Beginners” »
Back when blogging was just catching on, a small PHP-based publishing system was quietly released and quickly took the blogging community by storm. WordPress, as the system was known, was an instant hit thanks to its simplicity and open-source license which allowed interested developers to extend and improve the system without hassle.
Today, WordPress powers everything from huge sites like CNN’s Political Tracker to thousands of personal blogs. Thanks to an easy step up process and the widespread availability of web hosts offering one-click WordPress installs, you can start blogging with WordPress in a snap.
In this tutorial, we’ll assume your web host doesn’t have a one-click installer. Maybe you’ve got a bare-bones host, you’ve decided to host your own site, or you’re simply setting up a local installation to see what WordPress can do. At any rate, fear not — getting WordPress working on your server only takes a few minutes. Of course, you’ll need a few skills in the bag first, like a knowledge of PHP and a comfortable working relationship with MySQL databases.
Once your blog is up and running, we’ll take a look at different ways you can customize and extend your blog.
Continue Reading “Get Started With WordPress” »
This code was written based on a template by John Resig. The original can be found at John Resig’s addEvent function website.
Bit depth describes the file size of an image by orders of magnitude.
When wrangling with file size versus image quality, it’s often important to minimize the bit depth of an image while maximizing the number of colors. To calculate the maximum number of colors for an image of a particular bit depth, remember that the number of colors is equal to two to the power of what the bit depth is. For example, a GIF can support up to eight bits per pixel, and therefore can have as a many as 256 colors, since two to the power of eight equals 256.
Events are user interactions with their computer, such as a mouse click or key press.
In the good ol’ days, computers handled user interactions as input of batched data. The user fed a hunk of data in, the computer did something to that data, then produced the results. With the advent of interactive devices like the GUI interface, computers could display answers to computations onscreen. The input for these interactions are events caused by the user, which could be keystrokes, button clicks, or the position of the mouse pointer.
(see Event Handler).