Friday, December 28, 2007

Nanotechnology

Abstract:
Marc Silverman is resigning as director of CTEK's Boulder Venture Center to start a new seed-stage funding group called Mountain Angel Capital, or MAC.

Silverman, a founder and former chief executive of Performance Health Technologies, took over the CTEK position in late May, replacing Jim Pollock, who left to head up a startup in Golden.

Mountain Angel Capital, Silverman said, primarily wants to invest in nanotechnology, software, clean tech and medical devices. It will announce relationships with a local venture capital company, an investment bank and a group of individual investors, all former CEOs who have run their own companies.

The new group plans to incorporate in January, and will make further announcements then.

Friday, December 14, 2007

XML Files

Viewing XML Files

In Firefox and Internet Explorer:

Open the XML file (typically by clicking on a link) - The XML document will be displayed with color-coded root and child elements. A plus (+) or minus sign (-) to the left of the elements can be clicked to expand or collapse the element structure. To view the raw XML source (without the + and - signs), select "View Page Source" or "View Source" from the browser menu.

In Netscape 6:

Open the XML file, then right-click in XML file and select "View Page Source". The XML document will then be displayed with color-coded root and child elements.

In Opera 7 and 8:

In Opera 7: Open the XML file, then right-click in XML file and select "Frame" / "View Source". The XML document will be displayed as plain text. In Opera 8: Open the XML file, then right-click in XML file and select "Source". The XML document will be displayed as plain text.

Viewing XML Files

View a simple XML file (note.xml)
View the same XML file with an error
View an XML CD catalog
View an XML plant catalog
View an XML food menu

Viewing XML files with a dtd

View note.xml with an internal dtd
View note.xml with an external dtd

The Microsoft XML parser

View a simple XML file (xml_note.xml)
Loading the same file into the parser
Traversing the node tree of the file
Loading the same file into HTML

Displaying using JavaScript

View a simple XML file (xml_note.xml)
Format the same file with JavaScript

XML and CSS

View an XML CD catalog
View the corresponding CSS file
Display the CD catalog formatted with the CSS file

XML and XSL

View an XML food menu
View the corresponding XSL stylesheet
Display the food menu styled with the XSL stylesheet (IE6)
Display the food menu styled with the XSL stylesheet (IE5)

Data Binding

View an XML CD catalog
Bind the CD catalog to an HTML table
Add , , elements

Database Output

View XML output from a database

Displayed as HTML

View an XML CD catalog
See how the CD catalog can be displayed inside HTML elements
See how the CD catalog can be displayed inside an HTML table
See how to navigate the CD catalog
A simple CD catalog application

Requesting XML data from a server

Send a request to the server
Communicating with a server using XML

Using the XMLHttpRequest Object

Load an XML file with XML HTTP (JavaScript)
Load an XML file with XML HTTP (VBScript)
Load a textfile into a div element with XML HTTP (JavaScript)
Make a HEAD request with XML HTTP (JavaScript)
Make a specified HEAD request with XML HTTP (JavaScript)

XML Behaviors

XML Behaviors

Sunday, December 9, 2007

Web design

Users Are Scanners

If you think a typical user will read the entire content of your Web pages, you are wrong.

No matter how much useful information you put into a Web page, a visitor will only spend a few seconds scanning it before they decide whether to leave it or to stay.

If you want a visitor to read your text, be sure to make your point in the very first sentence of the page. After that you should try to keep them occupied with short paragraphs and interesting new headers all the way down the page.
Less Is More

Try to keep all sentences as short as possible. Try to keep your paragraphs as short as possible. Try to keep your chapters as short as possible. Try to keep your pages as short as possible.

Use a lot of space between your paragraphs and chapters. Pages overloaded with text will kill your audience.

Don't place too much content on a single page. If you have a lot to say, try to break your information into smaller chunks and place it on different pages. Don't expect any visitor to scroll all the way down to the bottom of a page with thousands of words.
Navigation

Try to create a navigation structure that is common for all the pages in your Web.

Keep the use of hyperlinks inside your text paragraphs to a minimum. Don't use hyperlinks inside text paragraphs to send your visitors to every random page of your Web. That will destroy the feeling of a consistent navigation structure.

If you must use hyperlinks, add them to the bottom of a paragraph or to the navigation menus of your site.
Download Speed

A common mistake made by many web designers is to develop a site on a local machine with direct access to the data, or to develop the site over a high-speed Internet connection. Sometimes developers are not aware of the fact that some of their pages take a long time to download.

Internet usability studies tell us that most visitors will leave a Web page that takes more than 7 seconds to download.

Before you publish any content heavy pages, make sure they are tested over a low-speed modem connection. If your pages take a long time to download, you might consider removing some of your graphic or multimedia content.
Let Your Audience Speak!

Feedback from your users is a very good thing. Your visitors are your "customers". Very often they will give you some valuable wisdom, or advise you, completely free of charge, about what you could have done better.

If you provide a simple way to reach you, you will get a lot of positive input from a lot of people with different skills and knowledge.

Tuesday, December 4, 2007

JavaScript

JavaScript is used in millions of Web pages to improve the design, validate forms, detect browsers, create cookies, and much more.

JavaScript is the most popular scripting language on the internet, and works in all major browsers, such as Internet Explorer, Mozilla, Firefox, Netscape, and Opera.
What You Should Already Know

Before you continue you should have a basic understanding of the following:

* HTML / XHTML

If you want to study these subjects first, find the tutorials on our Home page.
What is JavaScript?

* JavaScript was designed to add interactivity to HTML pages
* JavaScript is a scripting language
* A scripting language is a lightweight programming language
* A JavaScript consists of lines of executable computer code
* A JavaScript is usually embedded directly into HTML pages
* JavaScript is an interpreted language (means that scripts execute without preliminary compilation)
* Everyone can use JavaScript without purchasing a license

Are Java and JavaScript the Same?

NO!

Java and JavaScript are two completely different languages in both concept and design!

Java (developed by Sun Microsystems) is a powerful and much more complex programming language - in the same category as C and C++.
What can a JavaScript Do?

* JavaScript gives HTML designers a programming tool - HTML authors are normally not programmers, but JavaScript is a scripting language with a very simple syntax! Almost anyone can put small "snippets" of code into their HTML pages
* JavaScript can put dynamic text into an HTML page - A JavaScript statement like this: document.write("

" + name + "

") can write a variable text into an HTML page
* JavaScript can react to events - A JavaScript can be set to execute when something happens, like when a page has finished loading or when a user clicks on an HTML element
* JavaScript can read and write HTML elements - A JavaScript can read and change the content of an HTML element
* JavaScript can be used to validate data - A JavaScript can be used to validate form data before it is submitted to a server. This saves the server from extra processing
* JavaScript can be used to detect the visitor's browser - A JavaScript can be used to detect the visitor's browser, and - depending on the browser - load another page specifically designed for that browser
* JavaScript can be used to create cookies - A JavaScript can be used to store and retrieve information on the visitor's computer