A Brief Introduction To E4X
Keywords: E4X
I find myself longing for the old days, when I could design a web site in 5 minutes on a Sunday and then go play golf for the rest of the afternoon, and still collect a full week of salary for services rendered. That was back in 1996, when the internet was still new. Websites were created exclusively with HTML. The client would email me the content for their website, which I would upload to FrontPage, then insert some tags and a template for formatting and layout, add some graphics, and that was it.
Nowadays, I find myself working up to 10 hours per day designing web sites. I have to use so many different programming languages and specifications when creating a site that it makes me dizzy. I can barely type this article because my brain literally hurts from all the different programming languages I have swirling around in my head.
You might be wondering why my job has become so complicated in recent years. Well, it started with the wireless revolution, which made a mess out of cyberspace. Now, every wireless gadget is equipped with access to the internet and email. Cell phones, palm tops, laptops, even computer screens in automobiles have web browsers. These gadgets have platforms and web browsers that are very different from what is installed on an ordinary desktop PC. These new web browsers are not compatible with many elements of the HTML programming language. As a result, websites created purely with HTML are often invisible or inaccessible to the wireless internet user.
New languages and specifications such as XHTML, XSL, and XML were created to conform to these new web browsers. XML was probably the most important innovation of them all. XML enabled web designers to define data without telling the browser how to display the data, unlike HTML, which both defines the data and tells the browser how to display it. XML data can be viewed on any platform or browser because it is a simple text file with no predefined tags, allowing the programmer to define data any number of ways. XHTML and XSL were created to convert XML files into actual web pages that had style and structure and could be viewed across all platforms and browsers.
Now that you understand how and why programming has changed, you are ready for a brief introduction to the main topic of this article, E4X. E4X adds direct support for XML to JavaScript. An XML object declared with E4X is written like this:
var x = new XML()
Using this method, it is much easier to parse an XML document than it would be using JavaScript. Without it, you would have to use different XML components and libraries for each browser, because each browser is compatible with different versions of the language. Also, E4X is advantageous to use because it does not require very much code.
However, none of the mainstream browsers currently support E4X. A beta-version of Mozilla is compatible with it, but not the actual version. Firefox 1.1 works with E4X, but Internet Explorer, the most popular and widely used browser, does not work with it. Instead, Internet Explorer utilizes various programming components of a programming specification called AJAX, which uses a variety of languages, including JavaScript, XML, CSS, and several others.
If you create web sites for a living, you should probably take some time to familiarize yourself with E4X. Even though it is not actively used right now, it likely will be in the near future. For now, learning AJAX is probably more important because of the dominance of Internet Explorer as the web browser of choice, but that could change. If you have never studied E4X but are already familiar with XML, you can probably learn it through simple online tutorials because the syntax is not too complicated. If you have never studied XML, XHTML, XSL, or AJAX, then you need to enroll in some courses at a local computer programming institute immediately. Not knowing how to use these new languages could mean that your web sites will be invisible to wireless internet users.
Jim Pretin is the owner of www.forms4free.com, a service that helps programmers make email forms.
Previous Articles Highlighter:
What Is DTD? (1)
Learning to use these new specifications and languages is essential for any web designer. With so many people using cell phones and other wireless devices to surf the net, by creating your web sites exclusively with HTML you run the risk of your site being invisible to a wireless internet user.
What Is RSS? (2)
However, all web browsers are compatible with XML, because XML files are simple text files; XML merely defines and lists data, it does not force the browser to display it in a certain way.
How To Hire The Right Web Designer (3)
The best web designers to hire are professionals who do web design as a career, and do focused projects. You should hire either a sole proprietor who has a large portfolio of work to show you, or a small firm of web designers who work together and have extensive web design experience.
What Is AJAX Programming? (4)
So, you ask, what is AJAX and how is it connected to this discussion? Well, AJAX is a confluence of all these different programming specifications. AJAX itself is not a language; it is a technique that makes use of all these different components.
What Is XML Schema? (5)
Using XML Schema restrictions, a programmer can impose limits on upper or lower bounds for ranges of numbers, the length of numbers or the length of lists of items, and XML Schemas can even be used to define how white space is handled (tabs, line feeds, etc.).
Introduction To HTML DOM (6)
Also, it is compatible with all programming languages, including Javascript and VBScript. The document object is the parent object of all other objects within the document. The document object gives birth, if you will, to the body object and all of the attributes and elements of the document.
An Introduction To VBScript (7)
Sub procedures can process data and perform an action, but they do not return a value. Function procedures process data and do return a value. There are four different types of conditional statements that VBScript uses.
Introduction To SQL (8)
SQL works with almost all database programs, such as MS Access, DB2, Informix, MS SQL Server, Oracle, and Sybase. Databases generally consist of tables. Tables consist of records.
What Is XML DOM? (9)
Well, it started with the wireless revolution, which made cyberspace a darn mess. Now, every wireless gadget is equipped with access to the internet and email. Cell phones, palm tops, laptops, even computer screens in automobiles have web browsers.
What Is WSDL? (10)
Businesses, especially ecommerce businesses that depended upon their internet storefronts to make a living, began to present web designers with near impossible projects that were too difficult to complete with basic HTML.
What Are XForms? (11)
All new versions of browsers being introduced are going to support XForms. How are XForms different from regular HTML forms? Well, XForms use XML for data definition, and use HTML or XHTML for data display.
What Is XSL? (12)
You could just slap some graphics and text into a file, insert some HTML tags into the document to tell the web browser how the text should appear and what the structure of the page should be, and presto, the job was finished.
What Is SOAP? (13)
Some SOAP messages also contain a fault element to communicate error messages, but the fault element is optional. The most important part of a SOAP message, the part that does the actual communication work, is the body element.
Is Pay-Per-Click Worth It? (14)
They're all reliable, and they'll all deliver traffic to your website. The most important part of PPC advertising is knowing what keywords or phrases to bid on. You have to remember that most people using a search engine are only looking for information, and are not seeking to buy a product or service.
What Is XML? (15)
So, the question is, why do we need XML? Why do we need a more versatile specification like XML to describe data? After all, HTML works fine if used properly, so why do we need XML?
Broadband High Speed Internet: Choosing The Right Service (16)
64 Kbps to 1.5 Mbps upstream speed which is up to 50 times faster than dial up, but one still has to have a landline for DSL. Downloading and streaming music, videos, movies, and playing online gaming just became faster and easier.
Search Engine Optimization Tips For New Websites (17)
Traffic for most websites is feast or famine because most traffic is directed to a website by way of a search engine. If you're on the first two pages of a search engine for your target keyword, you'll likely get tons of traffic.
Promoting Your MLM With Free Reports And Articles (18)
When you offer your content, gather email addresses. Requesting an email address from the users is a small price to pay for an informational-rich report or newsletter that gives them a lot of content about the very thing they are interested in building.
Do You Really Have To Pay For Internet Marketing Knowledge? (19)
Practically everything you need to know can be had for free on the Internet. The problem is finding it when you get Google search results like this: "Results 1 - 10 of about 196,000,000"!
World Methanol Market Acquires New Characteristics (20)
Methanol can be used to make methyl tertiary-butyl ether (MTBE), an oxygenate which is blended with gasoline to enhance octane and create cleaner burning fuel. In the future, methanol could possibly be the fuel of choice for providing the hydrogen necessary to power fuel cell vehicles.
Newer Articles Highlighter:
What Is DHTML? (1)
HTML provides the style, structure, and formatting for a web site. However, HTML does not actually do anything. It is a static programming language. It does not process anything or make your site interactive, it just sits there and tells the browser how the site should look.
Choosing A Web Designer (2)
I find it best to hire a professional, because even though a professional will charge more per hour, they can usually do much better work and get the job done more quickly.
Issues With Formmail (3)
The better web hosting companies also have extensive firewall protection built into their servers to prevent spam if a form is vulnerable. I hope this information has shed some light on what you need to consider when installing Formmail to process your HTML form.
The Importance Of Link Popularity (4)
Simply stick to traditional advertising methods and providing valuable content by submitting articles and press releases, stay away from FFA pages and link farms, and you will do fine. Jim Pretin is the owner of www.forms4free.com, a service that helps programmers make free HTML forms.
Can Anyone Really Make Money Online? (5)
In addition, there are a lot of pyramid schemes pervading the internet. With a pyramid scheme, you are asked to contribute a certain amount of money, and then you are promised a return when new investors make their contribution.
A Guide To Internet Marketing (6)
However, there are ways to effectively launch a new site without spending millions of dollars. Let this article serve as a guide for all your internet marketing needs. TV and radio commercials and print advertising are very expensive.
Internet Marketing Made Simple (7)
This can be extremely costly and ineffective. It is not uncommon for webmasters to blow thousands of dollars on PPC advertising and make only a few sales. The best way to promote your site, if you are actually selling something, is through an affiliate program.
Website Marketing Made Simple (8)
To recruit affiliates, you should submit your affiliate program to as many directories as possible (there are directories where you can list your affiliate program for free). The best way to find affiliates is by listing your program on forums or message boards visited by webmasters who are looking to generate additional revenue for their online business.
An Introduction To Internet Marketing (9)
Now that we have covered submission, we need to talk about search engine optimization (SEO), which is even more important. To optimize a site, you need to maximize keyword density and optimize the positioning for the words or phrases that best characterize the subject matter of your site, and you need to use proper Meta tags so that the search engines can interpret your web pages.
Introduction To Pay Per Click Marketing (10)
If you are operating a website for a small business, you need to diversify your internet marketing efforts by optimizing your website and increasing your link popularity so you can climb to the top of the search engines without having to pay for every click you receive.
Do You Need An HTML Form? (11)
Formmail is written in the PHP programming language, and sometimes certain web hosting companies have certain versions of PHP running on their servers that are not compatible with certain versions of Formmail.
Improve Your Search Engine Ranking (12)
No website can improve its ranking overnight, but if you are persistent, your efforts will be rewarded in the long run. Jim Pretin is the owner of www.forms4free.com, a service that helps programmers make free HTML forms.
My Internet Marketing Secrets Revealed (13)
The more inbound links you acquire, the higher your search engine ranking will be. There are several ways you can garner links. You can submit your site to free directories, join a link exchange and trade links with other sites, and you can write articles and press releases and submit them to article directories and press release distribution services who will then distribute your articles and press releases to other websites who will publish them and in return link back to you.
Getting Ranked Higher On Search Engines (14)
The only problem is no one will ever actually use that exact phrase when searching for auto insurance quotes, so even though the SEO company delivered on its promise to improve your ranking, you will still not receive any traffic.
Creating Your First HTML Form (15)
If you do not have the patience to create your HTML form yourself, there are more than a few form creation services on the internet that provide a simple way for you to create a form without doing any programming.
HTML Might Become Obsolete (16)
As almost every electronic device on the market is now equipped with internet access, it is important to use a versatile programming language like XHTML so that your web pages can be viewed and properly formatted across a wide variety of platforms.
Finding A Good Web Designer (17)
This sort of a person has probably taken a few courses in simple web design at a local institute or college, or might be self-taught, and dabbles in web design as a part-time job or a way to earn extra cash.
Your First Online Form (18)
If you just posted a new website, but you do not have a web form uploaded and you need to quickly provide a way for your visitors to contact you, then you should simply post your email address on your Contact page.
Learn How To Use Formmail (19)
To prevent this, you need to create a variable in the Formmail file that authorizes only the email address you are using as the recipient. For example, if you have set up your form so that the results will be sent to your Yahoo email account, then you need to insert some code into the Formmail file that prevents the form from being submitted unless your Yahoo email account is the recipient.
How To Make Your Traffic Explode (20)
There are hundreds of different search engines and directories on the internet where you can submit your web site for a listing. This is fairly easy to do. Simply sign up for a monthly submission plan with a credible search engine submission service.