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)
DTD is a tool that enables a programmer to define the format to be used for the data in an XML document. Remember, XML does not tell the web browser how to display or format content.
What Is RSS? (2)
If you have a web site that contains a lot of content that is updated frequently, using RSS is not an option; it is a necessity. Jim Pretin is the owner of www.forms4free.com, a service that helps programmers make email forms.
How To Hire The Right Web Designer (3)
There are numerous website directories that contain a database of freelance web designers who are seeking work. If you hire one of these individuals, make sure you request to see samples of web designs they have already done, just to make sure they have not done shoddy work in the past.
What Is AJAX Programming? (4)
Wireless browsers are often not compatible with many elements of the HTML programming language. Web programming had to evolve to suit the needs of those that surf the net on wireless computers.
What Is XML Schema? (5)
These new systems are not fully compatible with many elements of the HTML programming language. As a result, websites created exclusively with HTML are often invisible or inaccessible to the wireless user.
Introduction To HTML DOM (6)
This model is now compatible with most web browsers. It provides a standard set of objects that can be used in HTML programming, making it easier to access and change web documents.
An Introduction To VBScript (7)
One such language that has become extremely important and widely used is VBScript. VBScript is a scripting language. Scripting languages are used to connect diverse pre-existing parts to accomplish a new related task without compiling.
Introduction To SQL (8)
After all, the primary reason why we use the internet is to obtain information about a certain topic. Almost all websites have a database where this information is stored, and SQL enables us to find what we are looking for.
What Is XML DOM? (9)
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.
What Is WSDL? (10)
The next element is called message. Message defines the data elements and is akin to the parameters that are used in a function when a function is called. The third element is the types element.
What Are XForms? (11)
Data entered into an XForm is stored in an XML document and then transported over the internet using XML. XForms are going to become immensely more important as time goes on, because so many different kinds of electronic gadgets that run on different platforms are equipped with internet access, and since XForms use XML, XForms are compatible with most or all of these various devices.
What Is XSL? (12)
XPath is used as the navigator for XSL. XSL uses XPath to find parts of the source document that should match a certain predefined template. When XPath finds what it is looking for, then XSLT takes over and performs a transformation, turning the source document into what is called the result document.
What Is SOAP? (13)
The body element contains the question that is to be asked of the application being contacted, and instructs the application to send back a response. SOAP is now used in a variety of internet applications.
Is Pay-Per-Click Worth It? (14)
For example, if you're selling Vitamin A on your website, and you bid on the keyword "Vitamin A," you're going to receive a lot of traffic from people who visit your website merely to read what's there, because they're probably just looking for information about Vitamin A and don't want to buy it.
What Is XML? (15)
Cell phones, palm tops, computers installed in automobiles, they all have built-in web access. Each of these devices display text and graphics differently, and utilize different platforms and a variety of web browsers.
Broadband High Speed Internet: Choosing The Right Service (16)
The cost for dial-up is $10-$25 per month. Reading further, one finds that with broadband high speed Internet, there is no comparison to dial-up Internet. Satellite broadband has a 400 Kbps speed downstream and upstream speed.
Search Engine Optimization Tips For New Websites (17)
For the other 99.9% of websites that don't do any real advertising offline, there are several ways to obtain a high number of inbound links. One way is to exchange links with other websites, one at a time.
Promoting Your MLM With Free Reports And Articles (18)
The something for nothing applies here very well. Offer them information or your own experiences about how to gather new leads or how to cold call, and you will find people interested in your methods and willing to come back to read them again or visiting your site in anticipation of the next report or article.
Do You Really Have To Pay For Internet Marketing Knowledge? (19)
Again, this can be a paid relationship, earned through barter or offered as a gift. If you demonstrate a willingness to learn and work on your own, apply patience and persistence to your efforts, you may attract the attention of the right person to help you at no cost to you.
World Methanol Market Acquires New Characteristics (20)
Several companies engaged in the production of methanol are executing massive expansion plans in light of the potential opportunity. However, the methyl alcohol consumption on the fuel market exhibits stagnant growth, which exerts an enormous downward pressure on prices paralleled by capacity expansion.
Newer Articles Highlighter:
What Is DHTML? (1)
Though there are certain drawbacks associated with using it because it is interpreted differently by each browser, you should still become familiar with DHTML and know how to use its different versions so that you can create dynamic web pages.
Choosing A Web Designer (2)
The best web designers to hire are professionals who do web design as a career, and do only several projects at a time. 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.
Issues With Formmail (3)
To create a Formmail file, you can either write the PHP code yourself (which is impossible unless you are experienced), or you can download the code from one of the many sites that have made Formmail available for download.
The Importance Of Link Popularity (4)
The search engines use this as the most important criteria in their search algorithms for determining where a site should be ranked. The more high quality inbound links a site has, the higher its ranking.
Can Anyone Really Make Money Online? (5)
Basically, these surveys are simply a means for collecting your personal information in order to sell it to other companies that are buying leads for telemarketing or for sending bulk email.
A Guide To Internet Marketing (6)
Marketing on the internet is cheaper, and if done correctly, can give you much more bang for your buck. The cornerstone of internet marketing is search engine submission and optimization.
Internet Marketing Made Simple (7)
You should only do business with submission services that submit only to the major search engines and directories. Search engine optimization (SEO) is even more important. To optimize a site, you need to maximize your keyword density and optimize the positioning for the words or phrases for which you want to be listed.
Website Marketing Made Simple (8)
If you try to acquire inbound links to your website by submitting your site to link farms or FFA pages, not only will it hurt your search engine ranking, but you might get banned from the search listings altogether.
An Introduction To Internet Marketing (9)
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. You can also pay for advertising space in ezines, which are basically magazines in cyberspace that are sent via email to thousands of subscribers.
Introduction To Pay Per Click Marketing (10)
This means that you will make $400 per day, but your daily advertising expense is $500. So, you have a net loss of $100 per day. So, PPC advertising can be quite costly if it is not done carefully.
Do You Need An HTML Form? (11)
In addition, some web hosting companies do not allow the websites they host to use Formmail to process their forms due to the risk of spam being sent through unprotected Formmail files, which can crash a server if too much spam is sent at once.
Improve Your Search Engine Ranking (12)
As the articles you write are put into circulation and are published on other websites, your link popularity will increase. If you employ each of the strategies outlined in this article, you should be able to improve your search engine ranking while at the same time garnering the kind of traffic that you want.
My Internet Marketing Secrets Revealed (13)
Just stick with it and your efforts will be rewarded in the long run. Jim Pretin is the owner of www.forms4free.com, a service that helps programmers make a free HTML form and download formmail.
Getting Ranked Higher On Search Engines (14)
As the articles you write are put into circulation and are published on other websites, your link popularity will increase. Also, you should do some pay-per-click or other paid advertising in order to promote your business, and eventually you will acquire some links as the word spreads about your site.
Creating Your First HTML Form (15)
If you just posted a new website, but you do not have a HTML email 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.
HTML Might Become Obsolete (16)
On the whole, XHTML is more flexible than HTML. XHTML was developed for two reasons: (1) to try to create a language that could more effectively convey the meaning of a particular webpage to a computer, and (2) to create a layout for webpages that would be universally understood by browsers running on different platforms or on different types of screens.
Finding A Good Web Designer (17)
Professionals charge more than anyone else, but because they have so much experience and such a wide variety of designs for you to choose from, they will do a fantastic job in only a fraction of the time.
Your First Online Form (18)
However, if you want to create a sophisticated online form to collect information from your visitors and respond to their questions, you need to know something about HTML and another programming language called PHP.
Learn How To Use Formmail (19)
Call your hosting company and ask them if they currently have your site hosted on a server that can process forms. If they do not allow their customers to process forms or have certain rules that restrict your flexibility, you should switch to a better hosting provider that will allow you to use Formmail.
How To Make Your Traffic Explode (20)
Such services are scams, and they will submit your web page to FFA pages and bogus link pages that can actually get you banned from the search engines. You should only do business with submission services that submit to the major search engines and directories.