.: A Brief Introduction to E4X
By:Jim Pretin
Category:Home / Internet / Web Design
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.
Article keywords: E4X
Article Source: http://www.articles32.com
Jim Pretin is the owner of http://www.forms4free.com, a service that helps programmers make email forms.
.: New Web Design Articles
1). HTML Might Become Obsolete
Web designers are beginning to dump HTML in favor of more versatile web programming languages
2). Macromedia Dreamweaver: An Introduction
Getting started with your first web page can seem very daunting indeed. Macromedia Dreamweaver is the industry leader in web editors, but knowing where to start and what you need to know can be a little confusing at first.
3). Finding A Good Web Designer
Avoid the mistakes I made when I hired someone over the internet to design my web site
4). Top Tips for Getting Free Websites
There are millions of opportunities of earning money online, but for that you frequently need to have a web site and there are many people interested in how to build a web site online for free. So whether you want to build a free business web site or to build a Yahoo-like web site, you can be sure there are plenty of online guides, such as this, to take you step by step through the process.
5). Is Your Web Site Driving Away Visitors?
Much has been written about optimizing your web site for search engines, but less emphasis is placed on usability. Optimizing for usability and for search engines is not a contradiction.
6). Choosing a Web Designer
freelance web designers are rip-off artists
7). HTML Sitemaps Are Still Important
An html sitemap is one that humans and search engines both can read. Google sitemaps are important too, but they are specific to google and are read only by a search engine.
.: Top Web Design Articles
1). Advanced Joomla Templating (pt1) Using Module Class Suffix
an article from User Written Resources
1. duplicate the styles already used for the particular module, adding a suffix to each style name. this will definitely include some of the following;
1. .module {} 2. div.moduletable {} 3. div.moduletable h3 {} 4. table.moduletable {}/li> 5. table.moduletable th 6. table.moduletable td
and can include other styles used on the content in that section, such as;
1.
2). How To Make a MySpace Layout That Stand Out
If you are a MySpace user, you have learned what an easy to read and fun profile looks like. The only problem is, you may not know how to create or find out. Most of the time when you see an awful MySpace layout, it's because its sloppy, hard to read, or has annoying links you didn’t even see. That is because since MySpace has been growing so much, so have the layout sites.
3). Professional XOOPS theme design - What to look for
In general, prices for theme design work will range depending on a number of factors. If you don't mind the designer releasing the theme on their site for others to purchase, then you can expect anywhere from $20US to $50US for your theme. If the theme must be a one of a kind theme that only you use, you could expect to multipy the fee by at least 10x.
4). Adsense: The Smart Investment
Over the last 2 years, We have been building a Virtual Adsense Empire of over 500 websites and making some good money. We've also been building content sites for clients using the same system. The system we use is not something that produces 1000's of sites with a click of a button, our system does not build spam websites, nor does it produce the same sites you see over and over and over again.
5). Irish Graphic Design Industry
Graphic design is the use of color, light, balance, contrast, emphasis, proportion, proximity, repetition, texture and a plethora of other elements to create a work of digital art that is pleasing to the eye. Graphic design is about seamlessly molding image and text to convey a theme, message, or often advertise a product or service. Graphic design dates back to prehistoric times.
6). How to Create a Splash Page for Your Website?
These splash designs prove to be quite popular, especially among the designers as they allow the designer to show their skills in flash and any other technology on a single page. The splash page design involved in the splash page will be one that is very attractive to the eye of the viewer. Its main intention lies in captivating the viewer the moment he looks at it.
7). Does Your Web Design Include Background Music?
When you design your website, you may wonder whether or not you should include background music in your web design. The answer to this requires you to ask two additional questions: