MIME Types application/x-javascript and text/javascript

Posted: Oct 16, 2009 |Comments: 0 | Views: 433 |

MIME Types application/x-javascript
This MIME type application/x-javascript is used to denote the javascript language scripting with HTML and this falls within the application category.
The traditional MIME type for JavaScript programs is ?"text/javascript". Another type that has been used is ?"application/x-javascript" (the "x" prefix indicates that it is an ?experimental, nonstandard type and is not yet registered).
RFC 4329 standardized the ?"text/javascript" type because it is in common use. However, because ?Javascript programs are not really text documents, it marks this type ?as obsolete and recommends "application/javascript" (without the "x-") instead. In the present scenario "application/javascript" is not ?well supported which might be the reason why ?"application/x-javascript" is used by a lot of web pages. "application/javascript" is still to be authorized and researched.
Javascript is of mainly of two types, the client and server side. User does not use the server side. But a client-side script is a program that may accompany an HTML document or be embedded directly in it to run websites. The program or code executes on the client's machine when the document loads, or at some other time such as when a link is activated. This generally happens when you open a website and play around on it.
MIME Types text/javascript
Web browsers to help display the elements of a web page, which is run by the javascript coding, use this MIME Type text/javascript. This MIME type falls within the category ‘text’. Any human readable text or source code falls within this category.
Javascript is a language used for scripting programs to enable programmatic access to objects within the other applications. It is an addition on to HTML, unlike java, which was a standalone language. There are two types of javascript, the client side javascript and the server side javascript. The server side has no a miniscule roles to play in case of MIME’s.
Javascript is primarily used in the form of client side javascript for the development of dynamic websites. A client-side script is a program that may accompany an HTML document or be embedded directly in it to run websites. The program executes on the client's machine when the document loads, or at some other time such as when a link is activated (i.e when you open a website). HTML's support for scripts is independent of the scripting language. These scripts offer authors a means to extend HTML documents in highly active and interactive ways via a website.

Questions and Answers

Ask
200 Characters left
Rate this Article
  • 1
  • 2
  • 3
  • 4
  • 5
  • 0 vote(s)
    Feedback
    Print
    Re-Publish
    Source:  http://www.articlesbase.com/computers-articles/mime-types-applicationxjavascript-and-textjavascript-1347835.html

    Article Tags:

    javascript

    ,

    web browsers

    Gene

    JavaScript, also known as ECMAScript, is the most popular scripting language on the internet, it is BUILT-IN to Browsers, in some cases needs to be ENABLED, and is found all major browsers, such as Internet Explorer, Firefox, Chrome, Opera, and Safari.

    By: Genel Computers> Information Technologyl Mar 20, 2011

    It's odd. When Firefox moved into its accelerated development path, Firefox really didn't get much better. In fact, it's been getting less stable.

    By: batteryfastl Computers> Softwarel Sep 19, 2011

    First of all, what is a modern web browser? There isn't an exact definition of what a modern web browser is but most would agree a modern web browser is a browser that renders a website correctly according to web standards without the use of hacks or work-arounds. Discover what's so great about modern browsers and how to choose the right one for you.

    By: Jordan Parasol Internetl Jan 19, 2012

    Mozilla is not the only company itching to port of your browser to work in the Google Android operating system. Google recently announced that 60000 Headphones day is now the cost of Android, and it seems like every day the device manufacturer to...

    By: blue94l Technologyl Sep 15, 2010

    Wondering which web browser is the best in terms of speed and performance? Well, choose from the BEST ;) Read and learn about the browsers that help us experience the Internet!

    By: Rahul Jaswall Computers> Softwarel Jun 07, 2011 lViews: 254

    Google Inc is set to introduce on Tuesday a new Web browser designed to more other complex Web programs or quickly handle video-rich, affectation challenge to browsers designed originally to handle graphics and text.

    By: robertkewisl Internet> Web Designl Sep 02, 2008

    An in depth look at the new MMORPG from Blizzard Entertainment known as Diablo III, a long awaited release for Diablo fans.

    By: swtorman90l Computersl Jun 01, 2012

    Most small businesses take advantage of computer technology, and it certainly can make things a lot easier for everyone within the business when you do so properly. Unfortunately, there are also a number of different problems that can occur as a result of the technology that you are using.

    By: Jesus Mattsonl Computersl May 31, 2012

    For any restaurants, it is very important to have vigilant end to end point of sale and service. If someone is new to the business of making and serving meals, it's very important to have a clear cut observation on point to point service to sale.

    By: Jack Authorsl Computersl May 30, 2012

    Small business financial software plays a vital role in the operations of an organization especially the small enterprises. This is where you get the opportunity to keep the record of all the financial activities that are occurring in your organization.

    By: Chris Alexanderl Computersl May 29, 2012

    Wireless is one of the best ways in order to get internet to a laptop or a computer, but if you want to sell wireless items in the US or Canada, you need to be sure you pass the wireless testing and you get the FCC certification to prove it.

    By: Jack Bandyl Computersl May 29, 2012

    Discuss this Article

    Author Box
    Articles Categories
    All Categories
    Quantcast