Mozilla Addons Development Talk Its 20090424 Rodin

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    1 Favorite

    Mozilla Addons Development Talk Its 20090424 Rodin - Presentation Transcript

    1. Add-ons Mozilla: Resep Masakan Romi Hardiyanto Indonesian Mozilla Localization Coordinator http://mozilla.web.id http://ewesewes.web.id
    2. Apa sih Add-ons? • Mozilla Add-ons memperkaya perangkat lunak perangkat lunak berbasis Mozilla: Firefox, Thunderbird, Sunbird, Songbird, Flock, dll • Add-ons = Pengaya
    3. Bahan-Bahan • XML: eXtensible Markup Language • CSS: Cascading Style Sheet • JavaScript: JavaScript 1.7 atau 1.8 • DOM Document Object Model • XUL http://developer.mozilla.org/XUL • Sebuah Ide (dan Niat, dan Waktu, dan Komputer, dkk)
    4. Apaan sih XUL? • dibaca: zul • kependekan dari XML User interface Language • window, button, menu, popup, textbox, radio, dll
    5. Overview XUL <?xml version=\"1.0\" encoding=\"UTF‐8\"?> <?xml‐stylesheet href=\"chrome://global/skin/\"?> <window xmlns=\"http://www.mozilla.org/keymaster/ gatekeeper/there.is.only.xul\"> <!‐‐ Contents go here. ‐‐> </window>
    6. Perangkat Meramu XUL • XULExplorer • Komodo Edit • Teks Editor/XML Editor: Notepad, gedit, kate, Notepad++, EditPlus, dkk
    7. Contoh
    8. JavaScript function alert(str) { window.alert(str); }
    9. DOM • Document Object Model • Merupakan cara mengakses “isi” XUL/ HTML dari program • Document adalah sekumpulan node (parent-child), getAttribute, setAttribute
    10. Contoh var labeltextlink = document.getElementById('results-link'); while (labeltextlink.firstChild) { labeltextlink.removeChild(labeltextlink.firstChild); } var textEl = document.createElement('label'); labeltextlink.appendChild(textEl); textEl.setAttribute('value',text);
    11. Meramu: Memaketkan Extension • File pendukung: • chrome.manifest daftar isi sebuah extension • install.rdf “petunjuk penginstalan” untuk program
    12. Layout Direktori Extension • chrome.manifest • install.rdf • chrome/ • content/ XUL dan JavaScript file • locale/ Berkas DTD untuk dukungan multibahasa (opsional) • skin/ File CSS (opsional)
    13. Testing, Testing, Testing • Buat file teks berisi: Path lengkap ke direktori extension • Letakkan pada %DirektoriProfilFirefox%/extension contoh: C:\\Document and Settings\\USER\\Application Data\\Mozilla Firefox\\Profiles \\xxxxxxxxxx.default\\extensions\\ • Namai file dengan nama id extension, contoh: myextension@mydomain.web.id • Restart Firefox • Pastikan extension pada daftar Add-ons
    14. Tolong! Stuck nih! • http://developer.mozilla.org • irc://irc.mozilla.org/#developer • Milis: groups.google.com/groups/id-moz
    15. Sudah Jadi? Mari Berbagi! • addons.mozilla.org (buat akun jika belum punya) • submit → sandbox → review → public • kabar-kabari teman: blog, milis, sms
    16. Beberapa Ide • Notifikasi Penggunaan Speedy • Firefox Warnet Customization Kit
    17. Suwun Rek! Wis Teko! • romihardiyanto at gmail dot com • romihardiyanto at yahoo dot com • YM!:romihardiyanto • Jabber: romihardiyanto@gmail.com
    SlideShare Zeitgeist 2009

    + Romi HardiyantoRomi Hardiyanto Nominate

    custom

    1855 views, 1 favs, 1 embeds more stats

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 1855
      • 1767 on SlideShare
      • 88 from embeds
    • Comments 0
    • Favorites 1
    • Downloads 13
    Most viewed embeds
    • 88 views on http://blog.mozilla.com

    more

    All embeds
    • 88 views on http://blog.mozilla.com

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories