Transcript of "Firefox Extension Development | By JIIT OSDC"
Extension Development Starter<br />
JIIT OSDC<br />OSDC – Open Source Developers Club<br />OSDC, formerly known as Linux User Group (LUG), is a students initiated and maintained body which promotes and encourages the use of Free and Open Source Software (FOSS) amongst students in JIIT.<br />Open for anyone to join.<br />Links:<br />Wiki - http://opensource.jiitu.org/wiki/<br />IRC - #jiit-lug on irc.freenode.net<br />Google Groups (Mailing List) - http://groups.google.com/group/jiitlug/<br />
HTML<br />Brief on HTML:<br />Stands for HyperText Markup Language.<br />The predominant markup language that is used for web pages.<br />You can use any text editor to write HTML code (example: notepad in Windows, gedit and vim in Linux).<br />
Markup Languages<br />A markup language is a modern a way that is synsystem for annotating a text in tactically distinguishable from that text.<br />So, a piece of text enclosed within some kind of markup has some meaning and the meaning is related to the markup.<br />Examples of markup languages: HTML, XML<br />
Markup Languages<br />Example:<br /><html lang="en" dir="ltr" xmlns="http://www.w3.org/1999/xhtml"> <br /> <head><title>HTML - Wikipedia, the free encyclopedia</title></head><br /> <body><br /> <h1>Sample HTML Page</h1><br /> <hr size=1 /><br /> <p>Loremipsum...</p><br /> <p>Donecdapibus...</p><br /> </body><br /></html><br /><title> tag defines the title of the webpage that is shown in the browser window’s title bar.<br /><h1> stands for Heading 1, which basically means heading of a particular size.<br />Similarly, <p> stands for paragraph.<br />All these tags surround a piece of text and each tag has a meaning. And that’s how browsers interpret web pages.<br />
XML<br />Stands for Extensible Markup Language.<br />XML is designed to store and transport data.<br />XML code itself is stored in simple text files with a .xml extension.<br />HTML (and XHTML) is a type (or form) of XML.<br />Just like HTML, you can use any editor you want to code XML.<br />XML is important to know and is very easy to learn.<br />
XML<br />So, an XML file without any context has no meaning.<br />For example, if we treat HTML files as XML code, then they make sense as the information stored in HTML files is used to render web pages in web browsers.<br />This makes XML very powerful as any developer can define a standard form of XML code which can be used for a particular application.<br />Other famous forms of XML – XUL, SVG, etc.<br />
XML (Example)<br /><?xml version="1.0"?><br /><name>Message</name><br /><note><br /> <to>Tove</to><br /> <from>Jani</from><br /> <heading>Reminder</heading><br /> <body>Don't forget me this weekend!</body><br /></note><br /><note><br /> <to>JIIT</to><br /> <from>JUIT</from><br /> <heading>Fest Invitation</heading><br /> <body>Invitation for sports fest!</body><br /> <file location="http://www.abc.com/invitation.jpg" /><br /></note><br />Isn’t this very similar to HTML? As I mentioned before, HTML is a form of XML or we can say that it has evolved from HTML.<br />File name: sample.xml<br />
CSS<br />Stands for Cascading Style Sheets.<br />CSS is a style sheet language used to describe the look and formatting of a document written in a markup language.<br />Its most common application is to style web pages written in HTML and XHTML.<br />But, the language can also be applied to any kind of XML document, including plain XML, SVG and XUL.<br />
CSS (Example)<br /><html lang="en" dir="ltr" xmlns="http://www.w3.org/1999/xhtml"> <br /> <head> <br /> <title>HTML - Wikipedia, the free encyclopedia</title> <br /><link rel="stylesheet" type="text/css" href="css.css" /><br /> </head><br /> ...<br /> ...<br /></html><br /><link> tag is used to create links (not hyperlinks) between HTML pages and other types of files like CSS files. It is also used for a lot of other purposes. The type attribute specifies the type of file that is being linked to the HTML file. The href attribute specifies the path of file that is going to be linked.<br />File name: css.html, css.css<br />
A particular slide catching your eye?
Clipping is a handy way to collect important slides you want to go back to later.