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

PHP Custom Web Statistics Part 3

In today's tutorial, Gareth provides and walks through the the code  to collect and display of your site's visitor statistics. We examine ways to select data in MySQL and display different types of hits in PHP. You learn how to identify different browsers, opeating systems, and whether the visitor is a "bot" or not ( robot from a search engine or other web crawler) and, if so, how to identify its origin, in order to display statistics to help you understand who visits your site.

Please note that this article forms part of a chapter in the DMXzone e-book PHP Web Applications for Dreamweaver: Juicy Solutions for the Busy Developer.

Read More

Using ASP.NET List Controls

This tutorial will explain how to correctly use the ASP.NET List Controls. These comprise of three types of control, DropDownList, ListBox and HTMLSelect. During the course of this tutorial you will learn how to bind dynamic data such as Database contents and how these controls can interact with events and other controls on your page. A common problem associated with using these controls in Dreamweaver where the selected item often ends up being the first item in the list after a postback is solved. How to manually insert, delete and pre-select items in a list controls is also shown. Read More

PHP: External Debugging With Sockets

Usually, when debugging a PHP script, the easiest method is using echo statements to write variables to the screen to trace the progress of the program. But imagine you're trying to debug a PHP script that produces an image, Flash file, PDF or some other multimedia; dumping to the screen will break the content that the script is trying to produce!

This tutorial provides a solution that uses sockets to connect to a port on our  machine or another machine, and write debug information out to that. This way we can have the output of our script displayed correctly or incorrectly as the case may be in our web browser, and the information about the variables in the script sent as output somewhere else.

Code is provided for Windows, Mac OS9, OSX, Linux and the RealBasic source.

Read More

ASP/ CSS: Searchable Image Gallery

This tutorial teaches you how to build a dynamically generated Photo gallery. The database stores keywords against each photograph, and then user can search on those keywords and the resulting images are dusplayed, using ASP to query the database and CSS to present the page, and so avoid tables and fixed numbers of columns.

This tutorial is suitable for intermediate-level Dreamweaver users, although no previous ASP knowledge is necessary. All the code is provided.

Read More

Introduction to XML: DTDs and XSL Transformations

XML needn't be scary. In this beginner's introduction to XML, Tom shows how to define a markup langauge using DTDs, and how XML can be styled just like any other "ML" (HTML, XHTML) etc using a regular CSS file. Then he shows you how to use XSL Transformations to produce HTML and CSS from a raw XML file on a client (using IE6).

This tutorial introduces complex concepts in a simple and accessible manner, and is suitable for beginners.

Read More

Creating Terrific Templates

Dreamweaver Templates are a powerful way to speed up development time, ensure visual consistency between pages, and keep markup and scripts organized. Templates allow you to create and draw upon full selections of code that you want to be able to use and modify across your site.

When you create a page using a template, it remains attached to that template and will be affected by any changes to that template until you detach the template. This lets you make changes to the template document and have those changes applied to all the pages that are attached to it, a terrific advantage that saves you time and helps prevent errors.

In this article with the Cornerstone series, you'll learn how to create templates and define regions prior to moving on to integrating them into your daily workflow.

 

 

Read More

PHP Graphing: 3D-Effect Pie Charts

This is the final article in the series on using PHP libraries to produce graphs on-the-fly from dynamic data. We've generated line graphs, bar graphs, pie charts, then coloured the pie charts and exploded them. This final tutorial shows how to produce 3D-style pie charts that can't enhance your sales figures - but can at least make the presentation of them look nicer!

All the code is supplied for you to download, adapt - or just import straight into your PHP pages so you can up and running straight away!

 

Read More

Shape and Typography: Foundations of Web Design Communication

"Content is king", they say. But they also say "presentation is everything". You've got all your database stuff working, your content is written, edited, proofed  .. and yet, somehow, the web page lacks that certain something. Linda helps you add that something special by guiding you through the design considerations of shape and typography - that's the shape of the paragraphs and images, and the shape of the actual letters themselves to lift your great content into the realm of the brilliant. Read More

CSS Layouts: Fixed widths and float

This tutorial will take you through the process of building a modern page design using CSS for layout and bearing in mind best practice in terms of document structure. The layout that we will be building demonstrates two useful techniques in terms of CSS layouts. We are going to design a page with a fixed width, centered layout and we will also be using the float property within this layout – so if you have been wondering how to do a fixed width layout or how float can be used for CSS positioning then this tutorial will hopefully answer some of your questions!

As this is quite a complex tutorial and we skip through some of the things quite quickly that are covered in other tutorials I have included the CSS and XHTML files in the code download, so you can compare your results with mine or use mine as a starting point for experimenting with this layout.

Read More

Draw Layers and DHTML

This article shows you how to set up behaviours and then apply behaviours to draw layers to create dynamic Web pages.  You will learn how to set up draw layers that appear or disappear when clicked, or layers that are draggable and can be repositioned anywhere in the page or within defined limits - it's up to you.  There's no coding necessary - it's all done through Dreamweaver behaviors which combine an event (something that happens on the screen) with an action (what the browser should do when the event is detected). Adding a behavior to a Web page allows visitors to interact with your page and the page to perform important tasks without having to reload the page.

Read More
FREE

ASP.NET Events for Beginners (Free!)

As you are aware in real life an event is when something notable occurs, such an earthquake or somebody walking on the moon, even you getting out of bed this morning could be considered an event! Within an ASP.NET page events are just the same; they mark something notable happening during the page's execution lifecycle and let you know about it when it happens. A prime example of this is Page_Load, this is raised early in the pages lifecycle and you can place your own code into the Page_Load event procedure.

Read More

Rough Guide to CSS Hacks

If you keep hearing about the Box Model Hack, or wondering why your site seems to flash with unstyled content before settling down, or just want to make rollovers using only one image, this tutorial is for you - it's about using the more common CSS hacks, so that your pages will degrade gracefully.

We know that in the real world things aren't perfect, so we go for the best we can, and filter out the incompatible bits with some clever pieces of code that exploit browser glitches or lack of CSS support.

Read More
Newer articles Older articles