Premium Content


Premium Content articles are the very best articles from the world's leading internet technology, subject-matter experts. We have many categories of content below on a wide variety of subjects that have all been commissioned from big name authors.

Explore the Premium Content

Scripting the Select and Option Array: Real-world JavaScript

More on how to manipulate the OPTION array within the SELECT object, abstracting functions, good coding practices, usability and the TABINDEX. Tom walks you through defining a function that 'moves' bookmarks up or down in a user-defined list using JavaScript, and then abstracts the function so that it acts like a black box for you and other users, even doing its own error checking.

Read More

Page layout with CSS - Layers and CSS Positioning

In this article we will look at simple CSS positioning techniques, using absolute positioning and float to create a simple layout. We will take as a starting point the "Layer" functionality in Dreamweaver MX but move on to look at CSS positioning in an external style sheet, using a combination of the tools within Dreamweaver and handcoding to explore CSS layout techniques.

This article is suitable for those who have done some CSS within Dreamweaver or by hand for styling text and who want to explore CSS for layout, or who have used "Layers" in the past and would like to learn how to convert these into CSS in an external style sheet and still be able to work in Dreamweaver. Read More

The Right Index for the right Job

Along with database design, Indexes are the backbone of optimal database performance. It requires specialist knowledge to ensure that you have the right indexes for the right job and this article will provide you with enough knowledge to make the right choices - and to know when to use an index and when not.

We will also take a look at the different types of indexes that exist (clustered, non-clustered, covering indexes and indexing views), what each does and any restrictions on the use of that index.

Read More

Better Living through Pleasantry: A Dreamweaver user's guide to effective technical communication

Many of those Web professionals coming into prominence today learned their skills through visual editors like Dreamweaver. Many of the 'older hands' in the Web team will not have used Dreamweaver.

So what's the problem? The Same word can mean one thing for DW users and something totally different for those without the DW background.

This article looks at the confusion that can arise, and points out some common differences between the Dreamweaver terms and the W3C terms which will make communication in a project team smoother - and therefore, more productive.

Read More

Preventing SQL Injection Hacks

How can you guard against hacks if you host with an ISP? What are the most common hacks? What is SQL Injection - and why is it even more damaging if you use SQL Server? How can you avoid paying $99 for the Macromedia PHP User Authentification Behavior, yet get the same level of security?

Allan points out that, even if you're not running a huge e-commerce site, there are still hackers who will simply hack into your site, deface it, and leave their mark, like a dog that needs to get neutered. By deliberately building a bad PHP log-in script, deconstructing it, then repairing it, this article shows you how to neuter the dog and protect your work. Read More

Scripting the Select: Moving Things Around

Tom shows you how to script the select box using a real-world example of a site that allows a user to keep track of his or her own bookmarks. They will need to be able to add or remove entries, as well as edit them, move them up and down in a list to change the order, and view the list either by URL or by the description. The code is provided for practice or use in your own pages. Read More

Creating a Custom Database Class

The DMX Server Behaviors make it easy for new users to connect to a database and perform various operations, without them having to know how to create the code themselves. However, they are general purpose as they have to work in a range of different situations. The code created is complex, inefficient, and makes it extremely difficult to perform a range of different database operations on a single page.

In this 11 page article, Gareth shows you how to create a custom Database class, which makes it easy to perform Database Operations from your own code, and which can be used to replace the Dreamweaver MX Server Behaviors. Read More

Building and Validating the Front End

Matt takes the prototype Artist's showcase site that he mocked up in Fireworks, and uses it as a template for his CSS, then builds the front-end showing step-by-step how to ensure Accessibility - and how to cater for Netscape 4 if you need to. He shows how to force IE6 into Standards Mode and how to Page: 1 prevent the Internet Explorer CSS flash bug.

Finally, he demonstrates how to validate your work.

This is a great article for visual designers looking to get up to speed with the hows and whys of building future-proof mark-up based on a visual template.

Read More

MySQL Security

Most people think about security as an afterthought - or not at all. Allan shows how to configure your MySQL database so that the hackers move on to softer targets - like those used by developers who don't read this article.

Allans tells you why, and shows you how to
1. Change the root password
2. Remove the anonymous users
3. Remove anonymous access to the test database
4. Disable TCP connections
5. Create secure users that only have rights within single databases Read More

Beginning JavaScript: Scripting The Select Object

The Select object brings one word to mind: confusion. Beginning scripters generally look at this object and throw up their hands in despair. The select object can be very confusing because the select is made up of both the select object itself and its best friend, the option object. The two together create the drop down and multiple select lists of which we are so fond. This is generally where confusion sets in. When dealing with a select you are really dealing with two elements, not one. This can make references to the particular objects get long and confusing.

Luckily, it's not nearly as hard as it may seem. In this article I'll explain how to get at the select with a script, and we'll write a useful script that we can add to the script library.

Read More

Building your first extension!

In this part of George's articles you will get to learn some advanced stuff about writing extensions. George will explain in detail how to make advanced user interfaces for your extensions, as well dive in the JavaScript needed to build a scrolling marquee extension. He will also explain the hidden power of the standard Macromedia libraries. Also a detailed explanation is included about the Dreamweaver configuration folder – its place and purpose. And last but not least you will find cool samples for messages for your answering machine.

Read More

Tables to CSS: Taking CSS Further

In my last article for DMXZone I looked at how we could take a standard tables based layout and trim it down - using CSS for text styling and to create navigation button effects.

 
In this article we will look more deeply into CSS. We will discover how to take our tables based layout down to a very basic one-table structure - removing all the nesting that makes the pages harder to maintain and in complicated pages can cause accessibility problems, and we will look at some of things that CSS can do over and above simply replacing HTML attributes. We will also look at a way of creating a navigation menu without using a table - by styling an html list with CSS.

Read More
Newer articles Older articles