All posts tagged ‘wiki’

File Under: Glossary

Tabular Data Control


Tabular Data Control is a Microsoft ActiveX control that will sort through a data file, extrapolate the necessary information, and produce that information in specified areas on the web page. This will create output either all at once, in tabular form, or according to user-defined settings (through a scripting language). As a web production tool, the tabular data control can minimize production by allowing a page to be built once and then pouring subsequent information into it as desired. Once the web page is built using the tabular data control, you only have to worry about putting the information in a format the control can easily read.

File Under: CSS, HTML

Imported Stylesheet

If you want to store your stylesheet somewhere on your site as a separate file, you can import it into whatever pages you want to apply it to. Just use this line of code, which goes into the <head> of your HTML document. It can also be hacked into the <body> if need be.

<style>

@import url(http://www.yoursite/stylesheets/acoolstyle.css);

</style>



File Under: UI/UX

Site Optimization Tutorial

Overview

We’re all tired of waiting for web pages to download, aren’t we? To make sure that visitors to your site don’t get frustrated, we rounded up some in-house experts to help you make your pages faster ‘n greased lightning.

Pictures are worth a thousand words — especially on the web, where pages of text can download in the time it takes for a single image to load. Your images may be sub-zero cool, but if they’re too plump, few people will stick around long enough to see them. We’ll dig into tricks and optimizations to speed up your GIF, JPG, and PNG downloads.

Once you’ve learned the basics of shrinking your images, we’ll will walk you through the advantages of using CSS for your page layout. And, if you’re one of those people who insists on using tables, we’ll offer you a few choice hints on how to get those tables slim and streamlined.

After you’ve removed the bloat from your layout code and your images, you’ll learn how to cut needless elements from your pages. Hint: Start with all those links.

The series concludes with wise words about how to come up with benchmarks for speed and how to test your site using nothing but a stopwatch and a pencil.

Get started with with lesson 1


File Under: JavaScript, Programming

JavaScript Tutorial – Lesson 3

In earlier lessons, you’ve learned:

  • How to add JavaScript to your HTML pages
  • How to use dialog boxes and variables to store and utilize user input
  • How to write HTML to a Web page using JavaScript
  • How to let JavaScript make decisions using if-then statements
  • How to make your Web pages react to users’ actions using link events
  • How to do a basic image swap


So far I’ve explained how to do many things, but I haven’t described why they work. In the last lesson, for instance, I showed you that window.document.monkey_image.src = "happy_monkey.gif" will swap happy_monkey.gif into an image named monkey_image . But what is that window.document stuff? And where does the .src come from? Similarly, you’ve seen document.writeln("monkey") . But why is it document.writeln and not just writeln ?

The answer to the above questions can be found in the JavaScript Document Object Model. The DOM is the way JavaScript describes Web pages, and it lies at the heart of all JavaScript programming. This lesson will teach you about the DOM, and the next lesson will teach you the rest of the basics of computer programming. By the end of the next two lessons, you will know all of the major ideas and syntax of JavaScript. All that will be left to learn are details, tricks, and how to avoid snafus.

To start us off along the road to the DOM, let’s learn about how to use JavaScript to open and manipulate new browser windows.
Continue Reading “JavaScript Tutorial – Lesson 3″ »

File Under: Databases

Manage Transactions in MySQL

Overview

In this tell-all tutorial, Jay Greenspan, author of MySQL Weekend Crash Course and co-author of MySQL/PHP Database Applications, starts with a tour of the basics: He answers the age-old Q: “What’s the big deal with Transactions?”; investigates the four properties that a database must have to be considered transaction-capable; takes a closer look at locking mechanisms; and finishes up with a look at MyISAM tables, the lesser cousin of fully transaction-capable tables.

Once you have a taste of the limitations of MyISAM tables, you’ll be hungry for the real deal. In Lesson 2, Jay satiates that hunger with a thorough introduction to MySQL’s different transactional table types: BDB, Gemini, and InnoDB.

Get started: Lesson 1