Slashdot Mirror


Creating Applications with Mozilla

Peter Wayner writes "The book Creating Applications with Mozilla did not set out to capture the essence of modern open source software development in a few hundred pages, but it comes closer to that unreachable goal than almost any other book I can imagine. Everything is there: the proliferation of acronyms, the funky names, the endless layers, the earnest collaboration, the unstoppable yearning for customizability, and, of course, plenty of source code. The book is just supposed to be teaching us how to turn Mozilla into a front end for everything, but it's really a distilled exhibit of all that is hip and now in code creation." Peter's review continues below. Creating Applications with Mozilla author David Boswell, Brian King, Ian Oeschger, Pete Collins & Eric Murphy pages 454 publisher O'Reilly rating 9 reviewer Peter Wayner ISBN 0596000529 summary How to use the Mozilla APIs to do anything.

On the first and most obvious level, the book is just the typical, thorough treatment of the important APIs that we've come to expect from O'Reilly. There are chapters addressing all of the important layers of the Mozilla platform and plenty of examples that show you how to customize the platform. Some may want to change the icons and others may want to add more robust features. The range of possibilities is surprising and coders are creating one-to-one communications enhancements, add-on widgets, and even games. There are certainly some things missing, and some areas that could use more detail or more complicated examples, but the book is already 454 pages long.

On another level, this book is also one of the first finished documents that explains what the Mozilla group has really been up to for the past five years. Some have abandoned the project, and others have attacked it as fundamentally misguided. This book shows why it took so long by demonstrating all of the cool features added during the long march to a new, thoroughly extensible architecture.

Are the results enough to justify the time and the effort? Some note that the features may be a bit overhyped, because building your own browser with the Mozilla API is like making a pizza with $15 and a telephone. While there's a large part of the book devoted to the work you can do to change the look and feel of the buttons on your browser, the book and the project offer much more. The Mozilla project is one of the biggest threats to simple tools like Visual Basic to come down the pike in some time. The various layers offer many ways to provide good, customizable interfaces to databases, the web, and much more. I can see how many corporate development shops may want to start making Mozilla the platform for a license-free front-end, simply because it's a straightforward tool without extra costs or restrictions.

At the most abstract level, the book is a great way to get a taste of modern software development. Computer scientists sometimes fix problems by adding more and more layers of indirection. This may not solve anything, but at least there are hooks for a real solution to use some time in the future if some one ever does figure out how to make the box do it. The Mozilla browser is one of the most extreme examples of this philosophy to ever emerge. Emacs was something special, but this is even more insane. Everything can be changed around by rewriting some XML and Javascript and most people don't need to juggle the pointers in grubby C to do amazing things. I realize it's not as beautiful as Lisp to some, but it's got a clarity and level of abstraction that's stunning to behold. Lisp was just procedural, while XML is more like logic programming.

This relentless customizability embodies one of the deepest reasons for the success of open source. Technology is inherently complicated and the only way we can use it is if we can look under the hood. You can say all you want about CVS trees and bazaars filled with competing code, but opening up the interface is one of the most powerful themes of open source. It's not about teaching people to build their own VCR or PVR from scratch, getting the VCRs for free or even debugging the VCR's source code -- it's just about making them easy enough to program.

The book illustrates how Mozilla opens up the API to create a relatively easy language for people to use. The real open source is not the C in the tar ball, but the XML interface spelled out in the book. Many people feel that the most important thing that the first browser designers did was make it easy for people to see the HTML tags marking up the document in front of them. The new Mozilla takes this transparency to a new high.

If you look at the book at all of these levels, you can see that this is one of the most important documents to emerge from the open source community in some time. At first glance, it's just another set of APIs for us to wiggle. I realize it's not fair to credit the Mozilla team or the book authors with creating the browser or XML ex nihilio -- they just jumped on some of the most popular bitwagons propagating across the Net. But the result is a stunning completion of a very important and cohesive vision. The book doesn't crackle with bleeding-edge novelty, but shines with the certainty of a job well-done.

Peter Wayner is the author of Translucent Databases , Disappearing Cryptography , and a number of other books. You can purchase Creating Applications with Mozilla from bn.com. Slashdot welcomes readers' book reviews -- to see your own review here, read the book review guidelines, then visit the submission page.

119 of 240 comments (clear)

  1. Re:Standards anyone ? by tsa · · Score: 2

    Well, the only difference I see is that Mozilla at least runs on many OS'es. But you got a good point there.

    --

    -- Cheers!

  2. It isn't necessarily a web application. by BoomerSooner · · Score: 3, Insightful

    It could be a stand alone app that uses mozilla as the core functionality. It's my understanding Mozilla runs on almost every available platform where IE is windows specific (the mac version is nothing like the windows version).

    That being said I run mozilla on mac os 8, 9 & 10, linux, solaris and windows. I'm not sure what the problem would be.

  3. potential of mozilla development by alandrums · · Score: 2, Interesting

    from what i've read in the past it sounds like mozilla can be used to develop just about anything. is this true? who has done it? what about applications? it's odd to think of a browser as a platform for application development. i'd really like to get my hands on a good explanation. perhaps this book.

    1. Re:potential of mozilla development by mbyte · · Score: 2

      IIRC someone was creating a complete desktop enviroment with mozilla, but i don't remember the name. It was mentioned some while ago here on slashdot.

    2. Re:potential of mozilla development by Hugh+Kir · · Score: 4, Informative

      I've been developing some apps using Mozilla at work. I've been really happy with it, frankly. The GUI development couldn't be easier, you can create relatively complex widgets with it easily, and, with the exception of any compiled XPCOM objects you may have, it's cross-platform. We picked up a copy of this book as well, and it's quite good. I don't know if it's the wave of the future or not yet, but I rather hope so, because it would make my life a lot easier (especially when I have to write Windows apps; I'm not a big fan of the complex IDE tools Microsoft provides).

    3. Re:potential of mozilla development by IIEFreeMan · · Score: 3, Informative

      It's named OEOne

    4. Re:potential of mozilla development by Micah · · Score: 4, Interesting

      I've read several chapters of this book and I'm trying my hand at Mozilla app development. I'm mainly interested in it for "better" web applications. HTML was never designed for that kind of thing, and I'm frankly tired of it being used for such. Mozilla+XUL can make applications that load like web pages but whose interface is more like traditional desktop applications. Rock on!

      I really DO believe that Mozilla has a bright future in this regard. It provides some great tools. I about wet myself when I discovered the Javascript Debugger! As the article says, it will provide a totally free/Free way to deploy custom applications.

      It's also a potent tool against IE's monopoly. If there's one thing that can cause people to switch from IE to Mozilla, it's applications that only work in Mozilla! I used to support the "Best Viewed with Any Browser" campaign (which is still appropriate for pure information) but I have since realized that because Mozilla is Free, open, and cross-platform, there is no need for anything else! I now encourage people to develop web-based applications in XUL.

      I do have a few small gripes with it. Textboxes don't wrap like they do with HTML's "wrap=soft" attribute. That's bad. I asked in a newsgroup and was told that this functionality would be in Mozilla 1.2.

      Also I was hoping to embed an HTML editor in my application, so that people could post HTML in their comments and have a fancy editor for them. To my dismay, it appears like the HTML Composer can ONLY be embedded in local chrome:// apps, not in those served by HTTP. Anyone know a way around this?

      Overall though, Mozilla kicks arse! I think it has a very bright future!

    5. Re:potential of mozilla development by ealar+dlanvuli · · Score: 2

      Gecko was used to develop mozilla (yes thats right, mozilla is rendered in gecko).

      If they could make a web browser with it, I'm sure you could make a few other usefull apps..

      --
      I live in a giant bucket.
  4. Re:Standards anyone ? by Jeppe+Salvesen · · Score: 3, Redundant

    I would not call it a web application in the common interpretation of the word. The Mozilla framework would be used to create a client/server application. It would be more similar to creating a new alternative to (X)HTML.

    Besides, Mozilla technology is available on most important platforms by now.

    --

    Stop the brainwash

  5. Re:Standards anyone ? by sporty · · Score: 4, Interesting

    Mozilla just becomes a toolkit and VM to run applications. Think of it like Java. Can you run a java app w/o the JVM? No. It's not executable without it.

    It seems Mozilla is working closer and closer to being an OS than just a browser. Kinda funny if you think about it, where MS has windows which was supposed to be an OS and is now including a browser.

    --

    -
    ping -f 255.255.255.255 # if only

  6. Re:Standards anyone ? by veddermatic · · Score: 5, Insightful

    Let's see... can I embed IE into my web app?
    Nope.

    Can my IE web app run on almost every platform out there?
    Nope.

    Can I modify IE in case I need additional functionality?
    Nope.

    There's the tip of the iceberg in differences...

    --
    Department of Homeland Security: Removing the rights real patriots fought and died for since 2001
  7. Re:Standards anyone ? by henben · · Score: 3, Insightful
    No, I think they're on about using the Mozilla codebase to make desktop applications, where the code is installed on your machine. Like Galeon, or kiosks, or that wacky Mozilla-based OEOne desktop thing, or something. NOT "web applications" that work over HTTP.

    Not sure whether it will catch on, but it's nice that they make it easy for other developers to benefit from all the work that's gone into coding Mozilla.

  8. XML is amazingly powerful by PhysicsScholar · · Score: 5, Informative

    This is one way in which you just know that the Mozilla developers are at the top of their field(s) -- deciding to go with XML full-fledged (several years ago, too) was one of the greatest decisions they've made so far. The XUL interface, which is basically XML-based at its core, is about as flexible as one can get with the UI experience.

    Furthermore, and of particular interest to someone like myself, the XML format offers a number of advantages for computational physics: clear markup of input data and results, standardized data formats, and easier exchange and archival stability of data.

    I will definitely use a few dollars of grant money to purchase this book and keep it in the labs for all to read and enjoy.

    --

    Department of Physics and Atmospheric Science, Dalhousie University, Halifax, N.S., Canada, B3H 3J5
    1. Re:XML is amazingly powerful by Dalcius · · Score: 2

      I must disagree. The IE building might have been improved the fastest while Netscape's building was crumbling away, but the Mozilla folks are building a good foundation that's very flexible.

      When you start finding applications developed for Mozilla, I think you'll also find a lot of people switching over as well. Like anything, it will take time, but with enough content and things using Mozilla, the public will follow.

      This is not a misinformed post: the company I work for is very seriously considering this path for our software.

      --
      ~Dalcius
      Rome wasn't burnt in a day.
    2. Re:XML is amazingly powerful by Locutus · · Score: 2

      I've not looked into this too deeply but can't Gecko be used for this? I mean, does the entire Mozilla browser need to be used to deploy a XUL application? If not then we'll just need to start installing Gecko with the XUL app once to get the ball rolling. As more and more apps get used the Mozilla package could be installed over Gecko to bring the full Mozilla browser up if the user wanted it.

      Anybody know how small the minimum runtime installation kit would be?

      LoB

      --
      "Anyone who stands out in the middle of a road looks like roadkill to me." --Linus
    3. Re:XML is amazingly powerful by Abcd1234 · · Score: 3, Informative

      That would be the GRE (Gecko Runtime Environment)... check it out at mozilla.org.

  9. the important part by cetan · · Score: 2, Insightful

    On another level, this book is also one of the first finished documents that explains what the Mozilla group has really been up to for the past five years. Some have abandoned the project, and others have attacked it as fundamentally misguided. This book shows why it took so long by demonstrating all of the cool features added during the long march to a new, thoroughly extensible architecture.

    To me this is the one of the most important parts. I'm not a programmer, nor will I ever be I think. But from an evangelism perspective, I can point to this and say: "See, see? They were not just f-ing around for years, they were building something with amazing functionality!"

    --
    In Soviet Russia...michael would be rotting in Siberia!
    1. Re:the important part by K. · · Score: 2, Insightful

      The last thing the world needs is non-programmers evangelising programming tools.

      --
      -- Proud descendant of semi-nomadic cattle-herders.
    2. Re:the important part by IamTheRealMike · · Score: 3, Informative
      To me this is the one of the most important parts. I'm not a programmer, nor will I ever be I think.

      But have you dabbled with web design? If the answer is yes, then you can write Mozilla apps. It's due to this fact that it's so easy to write patches for Mozilla. XUL (which if you know html is easy), CSS and JavaScript are all you need to know.

      You could well be a programmer with Mozilla, and never know what a pointer is.

    3. Re:the important part by K. · · Score: 2
      Why would anyone listen to me? Because I'm not a foaming-at-the-mouth ranter like you.


      Really? I refer you to your signature.


      "Waah, slashdot is out to get me, michael hates me, all is ruin, Go Mozilla!"

      --
      -- Proud descendant of semi-nomadic cattle-herders.
  10. Lisp is just procedural?! by Anonymous Coward · · Score: 3, Insightful

    How come Lisp become 'just procedural'?! Do u have any idea baout what u r writing?

  11. Re:Standards anyone ? by Breakfast+Pants · · Score: 5, Interesting

    Ugg you got modded insightful. I better clarify before I get modded down:

    This article is about the mozilla application framework. The application can be a stand alone application! This is not some kind of "mozilla only webpage."! This is just a method for creating an application that uses parts of the mozilla codebase, or more appropriately (though you and the mdos don't seem to understand the meaning of this) the mozilla application framework.

    --

    --

    WHO ATE MY BREAKFAST PANTS?
  12. MS has been pretty damned sure. . . by kfg · · Score: 3, Insightful

    this could catch on. Why on earth do you think they were so hot to kill the browser market for anything but IE?

    Hint: It was *not* to simply have the most popular browser that they made no profit on.

    KFG

  13. Re:Don't click on Slashdots book link by seanmeister · · Score: 5, Informative

    mozdev has it for free

  14. Re:Standards anyone ? by nervlord1 · · Score: 2, Insightful

    Mayeb because these standards are open, and can be extended by anyone who chooses to extend them. That simple really

    --
    Microsoft IIS is to webserving as KFC is to healthy eating
  15. Re:Standards anyone ? by tomhudson · · Score: 2
    There's nothing (except Micro$hafts' penchant for not getting it right) to prevent Micro$haft from adopting the same standards (OMG - embrace, extend, fuck up).

  16. Online book by redtail1 · · Score: 5, Informative

    In true open source fashion, the book is also available in online form at http://books.mozdev.org/chapters/

    1. Re:Online book by Tablizer · · Score: 2, Funny

      In true open source fashion, the book is also available in online form

      And in true open source fashion, it is about to be slashdotted also.

      Viva Traditions!

    2. Re:Online book by ites · · Score: 2

      Yes, it's available for browsing online,
      but not in a single downloadable package.
      It's published under the Open Documentation License.
      I'm going to have to create a single .tgz for the book.

      --
      Sig for sale or rent. One previous user. Inquire within.
  17. Re:Standards anyone ? by JordanH · · Score: 5, Insightful
    I think the point is not to develop web applications with Mozilla, but more generally to use the plugin architecture and the customizability of Mozilla to develop generalized local applications.

    An example of this kind of thing would be Komodo, an IDE for Perl/Python/Tcl/ development.

    I seem to recall that some use MSIE as a component architecture to develop generalized applications in much the same way, but I can't think of any examples of this right now.

  18. The real problem here by Jack+Wagner · · Score: 4, Insightful

    Isn't so much about standards, it's more about de-facto standards and their general tendancy to change. I couldn't see devoting 5 or 6 months to develop a custom application specifically for Gnu/Mozilla when one year down the road they may decide to alter the XUL "standard" and totally screw me.

    This is why stuff like TCP/IP and "C" took off, because they were in the hands of a standards body who were responsible and considerate of issues like this.

    The Gnu/Open Source community needs to take into consideration that since they are working their way into the mainstream they *must* begin to be more proffesional and intelligent in matters of "standards" or they risk alianating the commercial development community.

    That would be a serious mistake on their end, serious indeed.

    Warmest regards,
    --Jack

    --


    Wagner LLC Consulting Co. - Getting it right the first time
    1. Re:The real problem here by Animats · · Score: 5, Interesting
      That's true of TCP/IP, but not of C.

      The TCP/IP effort was very focused on standards and interoperability. That's what the U.S. Department of Defense, which funded the effort, wanted, because they wanted all their computers to be able to talk to each other. (Back then, IBM, DEC, Xerox, etc. each had their own network protocols, all incompatible.) The DoD project management people were very insistent on this; a formal DoD TCP/IP standard was pushed through. The individual implementations were forced to comply. (The Berkeley BSD crowd had to be hammered on a bit; they'd gone off on a LAN-only tangent for a while, neglecting long-haul issues.) And it worked.

      C was the creation of two people. K&R C was rather PDP-11 oriented and lacked a real type system, but UNIX took off within the academic community before C was standardized. ANSI C came years later, so the UNIX world was still on K&R C years after the DOS world used ANSI C. Eventually, everybody settled down on ANSI C, but it took a while.

    2. Re:The real problem here by IamTheRealMike · · Score: 4, Informative
      XUL is largely frozen, and if you only use the 1.0.x branch, it's guaranteed to only get perf improvements and bug fixes.

      Having said that, 99% of XUL is now solid anyway. If you develop apps, the syntax may change or more likely you'll get new features, but if you then want to upgrade to that version of Mozilla, you can simply run the old XUL through some XSL transforms. It's the same as with any API really, except it's easier to upgrade/alter XUL.

    3. Re:The real problem here by DrXym · · Score: 2
      This is a ludicrous statement (not least for calling it Gnu/Mozilla).


      How are they screwing you exactly? Is it because you get millions of lines of source code to an entire application development environment and an extremely generous licence terms for free? Or is it that you're not happy that XUL is not standardized by some body such as w3c?


      If the latter is your worry, simply don't upgrade and XUL will remain forever frozen in the state that you released your app in. Alternatively take the risk and download a new version of Mozilla in six months and see what minor tweaks you need to keep it working and benefit from all the bug fixes that six months of open source development bring. Besides, the XUL specification is already documented and versioned, so there should be no worries about it suddenly changing, at least in the forseeable future.

    4. Re:The real problem here by ajs · · Score: 2

      How can you say that "standards" are what lead to wide-spread adoption? The IBM PC was a defacto standard that was mutated through a thousand little and large vendors who changed it over time. It maintained its dominance mostly because the market deeply wanted a cheap, flexible option, and was not unduly bothered by the constant shifing standards (XT->IDE->ATA/xxx->?, ISA->EISA->VESA->PCI->AGP, etc, competing video "standards" that weren't, etc, etc).

      Same goes for Windows. Here's an example of a locked-in proprietary solution. You'd think that they could remain internally consistant, but APIs change radically every release. You go from one widdget API to another. Support is dropped at odd times. DDE becomes COM becomes COM+ (nothing like COM, of course) becomes .Net, etc.

      Now you pan over to protocols. Have you tried to code against SSL only to have to re-code because now the target you want to talk to is SSL3, and your code no longer works? Have you tried talking to SMB only to have Microsoft add in another spin?

      These are all widely adopted de-facto or even well organized standards. They change. They break backward compatibility from time to time. This is software (and in some cases, hardware). Cope.

  19. I can see hordes of uses for this. by Cujo · · Score: 2, Interesting

    What embedding Mozilla promises to me is the ability display and interact with appropriately transformed HTML and XML documents in any kind of application without having to reinvent all the complex machinery to do that. XML apps like MathML and SVG are particularly important to me, but who wants to write the code to display them? Now lots of things are possible that have little to do with browsers. I like it.

    --

    Helium balloons want to be free.

  20. Re:Don't click on Slashdots book link by Anonymous Coward · · Score: 2, Informative

    http://www.bookpool.com has it for $24.50

  21. Re:Examples? by thegoldenear · · Score: 2, Informative

    follow the [games] link in the review. thats what this web things alll about

  22. Re:Standards anyone ? by NineNine · · Score: 3, Interesting

    Good troll attempt! I'll give you an A for effort!

    Let's see... can I embed IE into my web app?
    Nope.


    Yes you can. I've done it before, and I currently use three different programs with IE integrated.


    Can my IE web app run on almost every platform out there?
    Nope.


    You're right about this one, but for most commercial apps, hitting 99% of the users is pretty damn good. You can't please all the people all the time.


    Can I modify IE in case I need additional functionality?
    Nope.


    Yup, you sure can. I run a customized version of IE for a few special projects.

    Oh yeah, and this has all been true for several years now.

    So, 2/3 were flat wrong, and the third one was pretty irrelevant. All in all, I gotta say this was a *very* professional troll. Blatantly wrong, and intentionally inflammatory.

  23. Re:Current Applications? by HappyPhunBall · · Score: 4, Informative

    You can browse different categories of Mozilla projects at MozDev.

  24. Any questions for the author? by Tayto · · Score: 5, Interesting

    I know this is short notice, but I'm going for dinner with one of the the authors tonight in two hours time, and then going to his talk with the Internet Society in Trinity College Dublin (Ireland). The details of the talk are here.

    1. Re:Any questions for the author? by Tablizer · · Score: 3, Funny

      I know this is short notice, but I'm going for dinner with one of the the authors tonight in two hours time, and then going to his talk with the Internet Society [netsoc.tcd.ie] in Trinity College Dublin [www.tcd.ie] (Ireland)

      You will be having dinner in Ireland near a college?

      I don't think you guys are going to be sober enough to deal with too much tech details tonight.

  25. Re:Current Applications? by Queuetue · · Score: 2

    ActiveState's Komodo...

  26. Re:Standards anyone ? by japhmi · · Score: 2, Interesting

    In addition to all of the fine examples above, it'd be great for a company Intranet. It's a case where you can standardize all the computers that will have access to the app to have Mozilla.

    --
    "Giving money and power to government is like giving whiskey and car keys to teenage boys" P. J. O'Rourke
  27. Indeed by Jon+Erikson · · Score: 3, Interesting
    As an IT consultant I've pushed this point to many of my clients before; either you go for a solution supported by robust standards supported by accredited standards bodies, or you go for a de facto standard which while it may not have the cast-iron guarantees that say an ECMA-approved standard would, at least ensures that you're not going to get left behind your competitors.

    For a group of people which rely on so many open standards (and indeed, complain when companies don't use them!) I've yet to see little progress here on ensuring XUL remains an open standard. Which is a pity, because otherwise it has little to recommend it, no matter how extensible it is.

    Also, does anyone here know anything about performance issues? Visual Basic nowadays is fairly reasonable for certain aspects of enterprise solutions, but if this is anything like Mozilla I'm not sure I could recommend it as being a good platform for applications.

    --

    Jon Erikson, IT guru

    1. Re:Indeed by Micah · · Score: 2

      Also, does anyone here know anything about performance issues? Visual Basic nowadays is fairly reasonable for certain aspects of enterprise solutions, but if this is anything like Mozilla I'm not sure I could recommend it as being a good platform for applications.

      Depends on what your "application" is. For applications that involve data entry, interaction with a server, some data manipulation, and some types of games, Mozilla will do just fine.

      If you're implementing a ray tracer, a program to calculate a billion digits of Pi, or a 3D first person shooter, Mozilla should NOT be used.

      But the vast majority of business applications fall in the first set, and Mozilla makes a great platform for that.

  28. Re:Standards anyone ? by IamTheRealMike · · Score: 3, Interesting
    I seem to recall that some use MSIE as a component architecture to develop generalized applications in much the same way, but I can't think of any examples of this right now.

    Good examples would be Oddpost, an email app that launches from the web, and RhymBox, a Jabber client.

    Note that I've spoken to the froods who did both of these projects, and they've been constantly hitting the wall in terms of what IE can do. RhymBox now uses quite a lot of ActiveX code in order to work around the general lameness of using DHTML .hta files for the ui.

  29. Re:Current Applications? by DrXym · · Score: 4, Insightful
    Aside from all the extensions and skins for Mozilla (of which there are hundreds already in places such as in MozDev.org), the various apps that comprise the Netscape/Mozilla suites (browser, mail/news, chatzilla, dom, js debugger, aim etc.), you also have browsers such as Phoenix & Beonix, and entire new applications such as Komodo. and Crocodile Clips. Then there are the numerous 'embedded' applications which use the Gecko engine (little or no chrome) to host content in the likes of Compuserve, Galeon, Chimera, and more.


    In short anywhere which requires a web-oriented application (preferably cross-platform) would do very well to evaluate Mozilla as a development platform. I expect database and server-side apps will ship in due course with applications based on Mozilla to do form design and other administrative tasks in a cross-platform manner.

  30. Author giving talk tonight in TCD, Ireland by K. · · Score: 3, Informative

    Anyone planning to go to this probably knows already, but Brian King is giving a talk on Mozilla in Trinity College Dublin tonight. More details at http://netsoc.tcd.ie/events/0203/mozilla.php

    --
    -- Proud descendant of semi-nomadic cattle-herders.
  31. Komodo Mozilla based non browser application by oldstrat · · Score: 3, Informative

    Well the subject of my comment pretty much gives away the comment.

    ActiveState http://www.activestate.com (The Perl,Python,PHP,Tcl people) have a great IDE application written on the Mozilla engine called Komodo, it's up to version 2 now and certainly worth checking out.

    Now if only ActiveState would just open source it, after all it's base is open.

    1. Re:Komodo Mozilla based non browser application by Dog+and+Pony · · Score: 2

      I have to agree. I tried the 1.0 version way back, and it really, really, really sucked. But after a recommendation recently, I've tried out 2.0 on windows and 1.2 on linux (2.0 on the way)... and:

      I can sum up my review of it like this: I'm buying it the minute the paycheck comes this month.

    2. Re:Komodo Mozilla based non browser application by Rupert · · Score: 2, Funny

      Now if only ActiveState would just open source it, after all it's base is open.

      Surely all its base are belong to ActiveState?

      [Ow] Sorry. That's just how I read it.

      --

      --
      E_NOSIG
  32. Re:Standards anyone ? by brokeninside · · Score: 3, Interesting
    Point one. You are correct. IE is extensible. Although the availability of source code makes Mozilla more extensible by an order of magnitude. (However, this extended extensibility that Mozilla has over IE is only of value to a minority of developers. That said, for that minority, the issue is of paramount importance.)

    Point two is not only correct, as you yourself admit, but is most certainly not irrelevant as you claim. Between desktop boxes, PDAs, embedded systems and non-Windows PCs, IE does not have a 99% market share. I think that perhaps you are confusing a particular segment (commercial retail) of commercial software with the universe of commercial software.

    Point three is probably correct despite your denial. I'm fairly certain that the previous poster was referring to mshtml.dll and not IE itself. While IE provides a powerful and flexible toolkit, the fact remains that if there is a need to alter the core behavior of the toolkit there is no method for the developer to do so aside from petitioning Microsoft to change the behavior. This is not the case with Mozilla.

  33. XUL by hpavc · · Score: 3, Informative

    i have to say that i have converted a bunch of cgi's that deliver HTML to cgis that deliver XUL and provide RDFs. the interface is awesome ... so many things you cannot do with IE alone (unless you cookup some ActiveX)

    it was rough in the begining since i had people that were not using mozilla and even now some people just use mozilla because they have to.

    but the power of the lists, tabs, etc are awesome compared to having to write javascript/layers/etc crap that takes more effort than the cgi environment to code.

    i love it ... i hope an activex control for IE is around that will allow IE to use XUL

    --
    members are seeing something, your seeing an ad
    1. Re:XUL by IamTheRealMike · · Score: 2
      i love it ... i hope an activex control for IE is around that will allow IE to use XUL

      There is an ActiveX control that emulates the IE APIs allowing a drop in replacement of Trident (the ie rendering engine) with Gecko. In theory I guess some registry hacks could make IE itself use Mozilla, in much the same way that Konqueror can be flipped between KHTML and Gecko. Dunno if anybody has done that yet, but for embedding apps there is already a solution.

  34. Gecko Runtime Environment by Tayto · · Score: 2, Interesting

    One of the big updates being done for embedding purposes in the big 1.2 push is to get a basic installation prepared which can be used for all sorts of Gecko/Mozilla-based applications. See it coming to an application near you soon!

    This is a very important development as it means that the full Mozilla suite will no longer need to be packaged with your custom application. The basic installation may even be installed on the system already - and can then be discovered and used by your system without installing a second copy!

    This miraculous beast is the GRE, and its webpage is here.

  35. This is a rip off of the book's preface by twistedcubic · · Score: 3, Informative

    Very Insightful

  36. Re:Don't click on Slashdots book link by NearlyHeadless · · Score: 2

    There are several book price comparing services, I like this one: www.bestwebbuys.com

  37. You need to "get it." by Fished · · Score: 5, Informative
    This is not just making fancy web pages. This is not about the Mozilla browser, it's about the Mozilla framework. This framework was used to develop the browser, the mail program, composer, and everything else including chatzilla. These run as local applications on your box, just like Mozilla composer does.

    There are a couple of very interesting examples developed using this technology out already:

    • OEOne, a complete desktop environment.
    • Kimodo, a python and perl IDE.
    I myself am working on a Bible program that will run, locally, under Mozilla. This is probably the future of desktop application development for most stuff.
    --
    "He who would learn astronomy, and other recondite arts, let him go elsewhere. " -- John Calvin, commenting on Genesis 1
    1. Re:You need to "get it." by Fished · · Score: 2, Funny
      So the door knockers can keep track of how many dinners they interrupted?
      Yeah, how'd you know? Mine just happens to be unique in tracking door knocks, whereas most programs try to serve as research tools for the Bible and other ancient Christian documents.
      --
      "He who would learn astronomy, and other recondite arts, let him go elsewhere. " -- John Calvin, commenting on Genesis 1
    2. Re:You need to "get it." by Micah · · Score: 2

      I myself am working on a Bible program that will run, locally, under Mozilla.

      Rock on. I'd be interested in this. Does it have a website? Is it based on the SWORD project or something?

  38. Re:Standards anyone ? by IamTheRealMike · · Score: 5, Insightful
    It seems Mozilla is working closer and closer to being an OS than just a browser. Kinda funny if you think about it, where MS has windows which was supposed to be an OS and is now including a browser.

    What is doubly amusing is that when Microsoft attempted to kill (perhaps did kill) Netscape, they did so because they were scared the browser would turn into a platform that would let you write kickass apps making Windows irrelevant. In a way, this became a self-fulfilling prophecy, as if Netscape hadn't been taken over by AOL and left to do its own thing, would Mozilla (a platform as well as a browser) exist today?

    I doubt that one day all desktop apps will be written using Mozilla. But it's an intriguing possibility, I look forward to the GRE with much interest.

  39. Even Less Ethical Than Spam by Schlemphfer · · Score: 4, Informative

    As pointed out in a discussion a couple days ago, this RedWolves2 guy is embedding his associates ID into his amazon links, in order to make a profit. And he's not telling anybody about it. He's done this a dozen or more times, and seems to be using Slashdot primarily for posting these Amazon ads. Moderators don't seem to be catching onto why this is a bad thing, and are modding up his posts. A user named Schlach had a couple great posts about why this is sleazy behavior. One's here, and the followup is here. Both are worth reading. Incredibly, I've been modded down for pointing out this questionable behavior on the part of RedWolves2. Read Schalch's comments and judge for yourself.

    --
    I'm generally "Interesting," "Insightful," and even "Funny" here. What the hell happens to me at parties?
  40. Don't click on RedWolves2's link by VP · · Score: 2

    If you buy it from the Slashdot link, you are supporting Slashdot; if you want to save money, go to BookPool. I don't see why we should make money for RedWolves2 (his link contains his referrer ID), and AFAIK, Amazon still has the OneClick patent in their name...

  41. Re:Standards anyone ? by jdavidb · · Score: 3, Funny

    Eventually Mozilla will become emacs.

  42. Re:Examples? by Malcontent · · Score: 4, Informative

    komodo from activestate is a stunning example.

    --

    War is necrophilia.

  43. Cheapest yet? by CodeWheeney · · Score: 2

    $24.50 plus shipping, as of 16 October, 2002

    --
    C8H10N4O2 | Developer > Code
  44. Re:My Review by Dalcius · · Score: 4, Insightful

    Hiyas, Pave! Good trolling!

    Folks, this is a rip of the preface of the book.

    Have a look for yourself and then mod this troll down.

    --
    ~Dalcius
    Rome wasn't burnt in a day.
  45. Mozilla Development by Lao-Tzu · · Score: 5, Informative

    I've been developing a Mozilla-based application component since August 2001. It's an HTML-rendering MOO client, and recently I've been pouring some 90% of my free time into working on it.

    75% of that 90% of my free time lately has been updating the application to newer standards which have come into place since August 2001. For example, the Navigator/Mail/Editor/Chatzilla options used to be on the 'Tasks' menu in Mozilla, and were moved to the 'Window' menu around 1.0rc1. Bang, suddenly my application stops working properly, and less importantly, stops being a friendly component which works like all the others. A patch from a friend moved just about everything over to the 1.0rc1 way of doing things, and all was fine. Not everything worked flawlessly, though. The 'MOO Client' menu option didn't have an associated key visible, and the 'Window' menu inside MOOzilla didn't have any visible keys. The menus inside the application had long since stopped graying-out/disabling properly depending on what you have selected in the window. Many hours of last weekend was spent fixing these problems by conforming to new command handler expectations, and so on. (Where 'new' means 'changed since 0.9.6'. ;))

    XUL is a wonderful tool. However, it runs dog slow on OS X. You don't have to take my word for it, just look at the Pheonix project. Pheonix is available for Windows and Linux, but not for OS X. Why? Because Chimera exists for OS X, which is faster (I'm using it right now) and integrates with the OS better. But... it doesn't support XUL. That's why it's faster. So where is my Mozilla application left? Stuck in the massive Mozilla suite when it's run in OS X. Mozilla, at startup, uses over 120 megs of RAM on my TiBook. Thank God for good VMs.

    When initially writting MOOzilla, the XUL documentation was shit. The only place to go for any idea of how things really worked was deep inside the Mozilla source. And sure enough, this worked. The official XUL documentation at that time had sections which trailed off in 'blah blah blah' often because someone got bored of writting. I specifically remember it once read 'This is very important because blah blah blah'. Arrrg! How frustrating!

    Mozilla is a powerful application development environment. XUL is a wonderful tool. Books like this one are going to make the world a better place for Mozilla component developers. And more cross-platform software developed with Mozilla makes the world a better place for users. Now... if only we can somehow apply this book heavily to the head of people who don't want to download Mozilla to try out an application, because they don't want to use it as a web browser. *sigh*.

    1. Re:Mozilla Development by ttfkam · · Score: 3, Informative

      ...and the fact that Chimera doesn't have all of the features of Mozilla has *nothing* to do with it.

      By the way, where were you when the Moz developers were saying that 1.0 was supposed to be the stable API to work on? I applaud you for developing on Moz, but to state that you had no warning about an API changing from under you is foolish. I'm sorry for your pain, but you knew that you were holding a hot poker.

      --

      - I don't need to go outside, my CRT tan'll do me just fine.
  46. XUL and coordinates by Tablizer · · Score: 2, Insightful

    The XUL interface, which is basically XML-based at its core, is about as flexible as one can get with the UI experience.

    When I last checked, XUL did not have coordinate-based positioning, but rather nested-based. Coordinate-based works better with visual screen builders IMO. True, it does not auto-scale as well, but when the boss wants something very specific WRT GUI layout, coordinates are much easier than nesting to give him/her precisely what they want.

    1. Re:XUL and coordinates by mgkimsal2 · · Score: 2

      Try to tell him it's 'impossible' with this 'open source' stuff that's supposedly better than MS, but his 14 year old nephew can drag/drop to coordinate positions with VB in 4 seconds. Yeah, that'll fly really well.

      It's not web sites we're talking about, but desktop applications people are talking about using Mozilla for.

      It's certainly not cool XUL apps you simply point your browser to - the security Nazis in the mozilla camp have ensured this won't happen. Mozilla apps will only ever be useful in closed intranet environments, nothing more.

  47. God Damn It That's My Pot Pie Kitty! by kenp2002 · · Score: 2, Interesting

    Crap! No better yet, DOUBLE CRAP! Has the entire concept of higher level programming languages been lost?! WTF people we have to stop the mad-people (madman is not PC apprently) from screwing up the whole concept of high level language.

    High Level Language is to make it easier and quicker to code. Remember doing "Hello World" in ASM? Then compared to when you wrote it in C? Where did that innovation go? I remember having to code 300 to a 1000 lines to accomplish what I was able to do in 10 lines in C. Also complexity was reduced in high level languages. Where did that mindset vanish.

    Now I have some yahoo trying to tell me to use Mozilla as a front end to programs? Does using Mozilla some how make life easier for me? Quicker development times? Less errors? Let me think

    NN NN OOOOOOOO !!
    NNNN NN OO OO !!
    NN NN NN OO OO !!
    NN NNNN OO OO
    NN NNN OOOOOOOO !!

    So once again we have another programming FAD! Aww crap can I just get a good programming language...

    --
    -=[ Who Is John Galt? ]=-
    1. Re:God Damn It That's My Pot Pie Kitty! by Tablizer · · Score: 4, Interesting

      I think you are so seeing the potential. What *is* needed is an HTTP-based "GUI Browser". HTML-based browsers don't cut it. If Mozilla can fill this need, great.

      Where the contention comes about is in how fat the client should be. IMO, most or all the functionality should be on the server, with the browser being Turing-dumb. (I drafted an XML protocol called SCGUI to do just this.)

      However, some people and applications are going to want/need client-side scripting. If it gets to be too much client-side scripting, then you have essentially created a client-server application. That is probably what Mozilla should *not* target.

      I guess what I am trying to say is that there is a need that Mozilla can fill and that I hope it does not get carried away in an Emacs-ish way.

      That niche is an HTTP-friendly GUI browser with *optional* scripting capability to have *some* local Turing-complete application programmability sprinkled in. IOW, get right what HTTP+DOM+JavaScript could not get right.

      But, if they make it a fat-client client-server tool, then slap them with a wet Visual Basic box.

    2. Re:God Damn It That's My Pot Pie Kitty! by kenp2002 · · Score: 2

      Have you noticed that we are going backwards to Mainframe-like computing? Wow! Could you imagine if they had it right the first time!

      --
      -=[ Who Is John Galt? ]=-
    3. Re:God Damn It That's My Pot Pie Kitty! by Locutus · · Score: 3, Insightful

      we also now have a very inexpensive GUI on the clients. Had the makers of the XTerminals been more realistic, this wouldn't be news because we'd already have thin-ish clients with a GUI interface.

      There are MANY places where thin-ish clients are far more practical then thick clients. Especially when MS Windows is what's running on the thick client....

      There are many places for thick clients also.
      IMHO.

      LoB

      --
      "Anyone who stands out in the middle of a road looks like roadkill to me." --Linus
    4. Re:God Damn It That's My Pot Pie Kitty! by crucini · · Score: 2

      I agree. But if they overfatten it, we can write the lean client as a Mozilla app. The hardest part will be getting momentum behind one specific standard.

      By the way, I think it's important that the wire protocol specify display objects logically, not physically. It should be possible to write monochrome, or low-res, or character mode, or speech-driven clients that talk the same protocol. However it could contain hints for the most common platform (hi-res color GUI). And needless to say, such abstraction means any server-side app offering this interface lends itself to remote automation.

  48. Re:potential of mozilla development - db's? by Havokmon · · Score: 2, Interesting
    I've been developing some apps using Mozilla at work. I've been really happy with it, frankly. The GUI development couldn't be easier, you can create relatively complex widgets with it easily, and, with the exception of any compiled XPCOM objects you may have, it's cross-platform.

    Do you do any database access with it? Are there Native 'Mozilla' database modules, or do you use ODBC?

    --
    "I can't give you a brain, so I'll give you a diploma" - The Great Oz (blatently stolen sig)
  49. So it gets a 9, big suprise by LoRider · · Score: 4, Insightful

    But is the book any good. All I got from the "review" was that the reviewer thinks Mozilla is cool. What about the book? Was the book good? Was it well written? What did the reviewer like about the book, not the subject, that warrants a 9? Why not a 10, what didn't he like about the book?

    --
    LoRider
  50. Re:Standards anyone ? by squiggleslash · · Score: 3, Insightful
    Can I modify IE in case I need additional functionality? Nope.

    Yup, you sure can. I run a customized version of IE for a few special projects.

    Wow. Could you let me know where I can download the source code? I have a whole bunch of modifications I'd like to make from fixing those pop-up window problems to making it runnable on Linux.
    --
    You are not alone. This is not normal. None of this is normal.
  51. Re:My Review by Dalcius · · Score: 2

    I'll admit my use of the word "Troll" was a bit loose, however:

    My Review
    by Pave Low


    While this is a nice repost of the preface, it's altered just enough and titled so as to make the poster look intelligent. Please take the time to peruse his user info and notice the quality of his comments. He's just being a karma whore to make up for some very bad posts of his.

    Personally, I would find reposting of the preface redundant: this article is a *review* of the book, we're aware of what it's about. Even so, this is not a straight-up repost.

    --
    ~Dalcius
    Rome wasn't burnt in a day.
  52. NI! by Havokmon · · Score: 5, Funny
    P.S That goofy block was supposed to be a big NO

    And here I thought he was one of the knights who say "Ni!"

    --
    "I can't give you a brain, so I'll give you a diploma" - The Great Oz (blatently stolen sig)
  53. Re:Standards anyone ? by ttfkam · · Score: 2

    Because the book's not about web applications. Replace your statement with: "How is developing a web application which will run only on GTK+ different from doing an IE-only website?"

    Exactly. Doesn't make sense. A Mozilla toolkit-based application doesn't necessarily talk to an HTTP socket. It could also be a database administration tool. Or a chat client. Or a presentation tool. More, much more, than just a web application framework.

    --

    - I don't need to go outside, my CRT tan'll do me just fine.
  54. Re:Standards anyone ? by Tablizer · · Score: 2

    How is developping a web application which will run only on Mozilla different from doing an IE-only website ? Honestly, I'd like to know.

    Open-source bugs instead of proprietary bugs

  55. database applications by axxackall · · Score: 4, Interesting
    I wonder if it's possible to create database clients similar to MS Access based on Mozilla/Gecko/XPCOM code. And if the answer is positive then why I can not find anything like that?

    The book is good and interesting, but it reminds me another book, Programming Jabber: a lot of examples in the book, and no available examples in real life (besides Jabberd itself).

    --

    Less is more !
    1. Re:database applications by Mike+Shaver · · Score: 2

      http://bugzilla.mozilla.org/show_bug.cgi?id=81653

  56. Re:My Review by Dalcius · · Score: 2

    You do have a good point.

    If I considered this good information, I would feel guilty about getting him modded down just because it's him and of what he did. Good info is good info. I do feel guilty that I'm glad he's not getting his precious karma, and it's small of me to get into the mindset of a karma war. Karma means nothing.

    However, this system is in place to rate the "jewels" highly, and an altered repost of a preface is redundant, IMO, as I said before. This article is a review, I think it explains the book fine.

    Just my opinion. Sorry if you disagree or fault me for pointing out undeserved karma.

    --
    ~Dalcius
    Rome wasn't burnt in a day.
  57. Re:Standards anyone ? by RealAlaskan · · Score: 2
    >> Let's see... can I embed IE into my web app?
    >>Nope.

    Yes you can. I've done it before, and I currently use three different programs with IE integrated.

    Wow. We must be using the word ``embed'' completely differently. I had always thought of ``embed a in b'' as meaning something along the lines of: ``Make the source for a an include file for b.'' Are you saying that you can call the IE library (dll?) from your program? Can you do it if you aren't using Windows? Can you redistribute it? Freely? Can you (or your agent) fix it if it is broken?

    >>Can I modify IE in case I need additional functionality? >>Nope.

    >Yup, you sure can. I run a customized version of IE for a few special projects.

    Wow. We must be using the word ``customize'' completely differently. I had always thought of ``customize c'' as meaning ``change the program c''. I'm not sure how you're using it. Has Uncle Gates let you use the source, Luke?

    >All in all, I gotta say this was a *very* professional troll. Blatantly wrong, and intentionally inflammatory.

    I disagree. I might have said that about your post, if I wasn't so polite, but certainly not about the post you replied to.

    Please let me know how you're embedding IE, and how I can do it on, say, Solaris; and how you have modified IE, and where I can get the (redistributable) source.

  58. Re:Standards anyone ? by RealAlaskan · · Score: 2
    >>I seem to recall that some use MSIE as a component architecture to develop generalized applications in much the same way, but I can't think of any examples of this right now.

    >Good examples would be Oddpost [oddpost.com], an email app that launches from the web, and RhymBox [rhymbox.com], a Jabber client.

    From the Oddpost website:

    Oddpost requires Internet Explorer 5.0 (or above) for Windows.
    Gee, I guess I could run that at work where I have no use for it, but I don't have Windows or IE at home, where I might want to use it. Guess they should have used something multiplatform, that they could distribute with their application. Like Mozilla.
  59. Is anyone actually doing this? by gruntvald · · Score: 2

    I run Komodo, so I know you can build on the Mozilla base, but other than the miriad of browser variations built on it, just what the heck can you do? If I were to replace some Perl/Tk stuff I wrote (simple filing tools, that kind of stuff, on Windows) would I be able to build it all on Mozilla? Anyone care to describe some applications that developing under Mozilla would be relevant for?

  60. Re:You're absolutely right - this book review suck by cornicefire · · Score: 3, Interesting

    Dude-- read the review. Here are a few sentences from the top: On the first and most obvious level, the book is just the typical, thorough treatment of the important APIs that we've come to expect from O'Reilly. There are chapters addressing all of the important layers of the Mozilla platform and plenty of examples that show you how to customize the platform. Some may want to change the icons and others may want to add more robust features. The range of possibilities is surprising and coders are creating one-to-one communications enhancements, add-on widgets, and even games. There are certainly some things missing, and some areas that could use more detail or more complicated examples, but the book is already 454 pages long.
    Sounds like he talks about what can and can't be done with the code samples and even a bit about a few of the individual chapters. He just didn't do one of those boring Slashdot reviews that goes through each chapter one by one. I can get the chapter breakdown from the book's website.

    And if you ask me, knowing what to do with the XML is pretty important. If the Mozillians are smart, then that means there's something of value int he book. I really don't want a well-written, witty book about how to write assembler code. Dis

  61. No, what's amusing... by sheldon · · Score: 2

    Is that the way Microsoft went about killing Netscape was by building a browser that could be easily customized and utilized to create client side applications.

    Internet Explorer has been doing what this book talks about since about 1997. It is the reason why many products like Quicken, etc. require IE to install, and by requiring IE, Microsoft guarantees universal deployment of the browser. In so doing, they chipped away at Netscapes marketshare.

    Sorry, I just chuckle whenever I hear people talk about this with regards to Mozilla as if it's a new concept. You mean you never knew you could do this with IE?

    1. Re:No, what's amusing... by Bedouin+X · · Score: 4, Informative

      *sigh*

      All that IE does for Quicken is allow Quicken to use it as an HTML renderer. This is much different than Mozilla which can create a standalone application. The Quicken developers had to use C++ of VB or whatever and embed the MSHTML control into it. Mozilla does not require anything in addition to the package itself to create a new application. So even though this isn't necessarily new, it's definitely a lot more than IE can do on it's own. Plus you can embed Mozilla into apps like Quicken as well. Topstyle does a great job of integrating IE and Mozilla side by side using this technology.

      --
      Dissolve... Resolve... Evolve...
    2. Re:No, what's amusing... by rycamor · · Score: 2

      I have, and it's nowhere near as capable.

  62. Re:Standards anyone ? by NineNine · · Score: 3, Interesting

    Yeah. You call the dll's directly. You can use any of all of the functionality in IE, and yes, it is distributable. I don't remember the names of 'em now, but there are several to use. And yes, you can customize it however you'd like. You can do a web browser window, do whatever buttons you'd like, however you'd like. I have one tool which is does something automatic, and doesn't even have a GUI. You can absolutely embed and customize it. Check out the details at MSDN. Hell, I'm looking at Quickbooks 2002 which is built around IE. They just use it for the rendering... no actual browsing per se.
    I use a customn app that I wrote that is completel automated using the XML object that comes with IE. You don't need the source since you have access to every possible property/method in every DLL, and they're all documented. If you have to muck with the source, that's because the program itself doesn't work, or has a shitty API. IE works and has a very extensive API. Has for years.

    And no, of course you can't use it on Solaris. But, I'm not aware of a whole heck of a lot of products that would need to be ported to Solaris (Quickbooks for Solaris? I don't think so.).

    So yes, you are completely wrong.

  63. But is the book any good????? by unsung · · Score: 2, Insightful

    I can get plenty of opinions about XUL by looking through previous Mozilla /. posts. I just want to know if I should buy the book. Do they have a tutorial and step us through a FOO test application? If so, what is the application? What other tools do I need to create the application?

  64. This is NOT a book review by Dalroth · · Score: 4, Insightful

    This isn't even close to a book review. He does nothing but glower over how great Mozilla is (which we all agree on), but says nothing about the quality or content of the actual book.

    The book itself *IS* good (at least that which I have read so far). You'd never be able to tell from this review though....

  65. Data based GUI by samwhite_y · · Score: 3, Interesting
    I have been wondering when the first truly "data driven" solution would be created for standard heavy client GUIs. HTML created a standardized approach to simple "Info" presentation (and submittal) GUIs. Even though the primary goal for HTML was quite limited, this idea of having a "data" driven solution to info presentation has been such a hit that it has generated huge and powerful scripting solutions all devoted to enhancing this one simple GUI idea. It seems obvious to me that almost all facets of an application should be data driven in a similar way, including all GUI presentation in heavy weight applications. In a truly modern application environment, all code that determines placement of GUI elements and the simple logic that binds them together should be done in an HTML style environment (or its cousin XML). This data driven approach should be so pervasive that much of the higher-level logic of an application should be in data and script.

    I laud Mozilla for going down this road and it is clear to me that the core developers for Mozilla are a step above your standard programmer. Some accuse Mozilla for not following a method that would create "standards" for their XML GUI description language, but I have found that the successful "standards" usually follow already adopted and reasonably mature technologies. You do not know how you want to design something until you have done it, used it, and given it to other people to play with. Only after an application has grown sufficiently to include all the thousands of unexpected details is it sufficiently mature for people to talk about standards. For example, I consider the EJB specification's largest failing is that they tried to standardize it before it was actively used for a couple of years. Only now that we have some mature app servers do we really have an idea what needs to be in the core EJB specification. If EJB had followed this road, maybe application developers would not need to use vendor specific code for the critical parts of the functionality. Like OO, the mantra of "standards" seems to be more of a marketing tool to get Fortune 500 companies to cough up millions of dollars than something that really influences how sophisticated and successful applications get developed.

    I have my own questions for the Mozilla team. How do you deploy "overrides" of existing configurations. Suppose I want to deploy a "batch" of changes that I want to turn on or off. Is there a way to create configuration "layerings" in XML files so a group of data specifications can be conditionally included from a set of external files? How much scripting is allowed in these files? If I want to write conditional code for specifying a color (such as a color choice per day of the week), is there a way to write scripting solutions for that need? Of course, I could read the book but I am lazy and I suspect that it would not give a full answer.

  66. Re:Standards anyone ? by sporty · · Score: 2

    I'm a vi lover through and through, but I gotta say this much.

    "Better it become like emacs than vi? We don't wanna go back to lynx!"

    Sorry... had to say it, it wouldn't be prudent if I didn't.

    --

    -
    ping -f 255.255.255.255 # if only

  67. MOD PARENT UP!!! by Bedouin+X · · Score: 2

    Though integrating IE (or any browser for that matter) into a web app doesn't quite sound right. Talk about recursive code. I think (hope) that the author is talking about an application that has html-based components of the interface (like the aforementioned Quicken). Or am I missing something here?

    --
    Dissolve... Resolve... Evolve...
  68. Re:potential of mozilla development - db's? by Hugh+Kir · · Score: 2, Informative

    I do not do any database access with it (I've been using it to create client-side apps, and all our database access is on the server side); that said, I know it can access SQL databases using PHP. There may be other methods as well.

  69. What Many Commercial Developers Want ... by Lucas+Membrane · · Score: 3, Interesting
    ... is to be able to develop an app once, then sell it as single-user standalone, or multi-user with browser-like interface to run on the customer's server, or rent it as a web app on the developer's server, or rent it as a web service on the developer's server -- while maintaining one set of code, not four.

    How close is this Mozilla thing to supporting that?

    1. Re:What Many Commercial Developers Want ... by rycamor · · Score: 3, Informative

      > How close is this Mozilla thing to supporting that?

      Probably as close as it gets, without replacing every computer in the world with exactly the same OS. Fire up Mozilla and browse http://www.xulplanet.com/tutorials/xultu/

  70. Re:Standards anyone ? by RealAlaskan · · Score: 2, Interesting
    Sounds as if ``customize'' means ``call the functions with arbitrary arguments''. That's pretty much standard for libraries, I think. That's not ``change the functionality'', which is how I had originally interpreted what you said.

    I picked Solaris as being a platform on which MS once supported IE [1]. I believe that MS no longer does that. There are a LOT of non-windows platforms out there. Solaris is one, AIX is another, IRIX and Linux and the BSDs are others, then there are the Macs, then there are the palm-tops and embedded devices (some of which are candidates for Mozilla, or Gecko). If you can't run your app on any of these, you're limiting your user pool. If you can use this on Mac today, will MS make it available there tomorrow? Remember, they once had IE on Solaris.

    ... yes, it is distributable.

    Somehow I suspect that we are using freely distributable in very different ways.

    Having the source code is a big deal for ``distributable'', since it means that someone can make it run on his platform, I could make it run on my platform, and so on. No source code means that it only runs where MS allows it to this week.

    So, you have in IE a library which you can call to render things onto the screen, IF you are developing for Windows only. I'm glad you are so easily pleased.

    [1] Never saw it myself, but was told by a usually reliable source that MSIE 4.x was available for Solaris. If it still is, it isn't current enough to be relevant to the topic at hand.

  71. Re:Standards anyone ? by squiggleslash · · Score: 2
    No. My code gives me a significant competitive advantage in my business.
    Who said your source code, you egotistical twat. I was refering to the source code of Microsoft Internet Explorer. If I'm to modify IE, which you assure me is possible and are willing to flame people for suggesting otherwise, having the source code is a prerequesite.

    Show me the source code, or shut up.

    --
    You are not alone. This is not normal. None of this is normal.
  72. Re:Read the second paragraph by Micah · · Score: 2

    yeah but most book reviews go through the chapters and tell us what they cover, mentioning the quality and quantity of examples, clarity of writing, etc. This "review" didn't go through the chapters at all. I mostly agree with the guy that this wasn't much of a review.

  73. that's a problem with MS, not open source by g4dget · · Score: 2
    Microsoft can change around their proprietary standards in ways that's bad for you and me because they have complete control. But open source works differently: if changes to an open source project screw too many users, the project just forks. The open source community is highly professional in this regard.

    Overall, you need standards like those for TCP/IP and ANSI C much more urgently for closed-source products.

  74. Re:Standards anyone ? by veddermatic · · Score: 2

    Please send me the source to your IE embedded app so I can edit it then compile and run it on my Linux box.. or my Mac box.. or my BeOS box, or my Solaris box.

    If you can't, try to figure out what 'Troll' means, and practice some STFU.

    And have a nice day.

    --
    Department of Homeland Security: Removing the rights real patriots fought and died for since 2001
  75. Why would I want to create GUI apps with Mozilla? by Nailer · · Score: 2

    My home machine is an Athlon 900 with 640MB of RAM. My work machine is a Duron 800 with 384MB.

    I've yet to see a version of Mozilla, up to an including 1.1 and Phoeniz 0.2, whose UI performs adequately. Gecko is fine, Galeon is great, XUL is not. Why is Mozilla so slow, and if I can't stand having mymenus lagbehind my mouse clicks, why should I expect my users to?

    Yes, that's a serious question.

  76. Re:Standards anyone ? by Vengie · · Score: 2
    *AHEM* Where is the mozilla memory management?
    The mozilla filesystem?
    mozilla is *FAR* from an OS.

    <buzzwords> A platform for cross-platform application deployment? </buzzwords> certainly. An OS? No.
    --
    When in doubt, parenthesize. At the very least it will let some poor schmuck bounce on the % key in vi. (Larry Wall)
  77. Re:Why would I want to create GUI apps with Mozill by Fnkmaster · · Score: 2

    Huh? I was using an Athlon 800 with 256MB of RAM and Mozilla 1.0 for Windows ran great on it (I just replaced this machine this morning with a brand new Athlon XP 2000+). The problem is that the XUL/Mozilla GUI in Linux is still not as fast - strike that, nowhere NEAR as fast as in Win32. I just don't know why, if it's Gtk+ cruft or what. Frankly, anything above a 500Mhz PIII era machine runs modern versions of Mozilla (1.0+) in subjectively fast time (i.e. you don't notice UI lagging). The Moz team needs to work out their UI performance problems on Linux (I haven't used Mozilla on Linux in upwards of 6 months, so I'm assuming it still has the same issues it used to).

  78. Re:Standards anyone ? by rycamor · · Score: 2

    > all mozilla needs now is support for more than just Javascript.

    Oh, I see you are talking about Mozilla's XPCOM:

    C++
    Perl
    Python
    Ruby

    Also see http://www-106.ibm.com/developerworks/webservices/ library/co-xpcom.html

  79. Re:Which is very nice, but please do buy the book by Radical+Rad · · Score: 2

    I agree. If you aren't a starving poet then support the community as best you can, lest it wither and fade away...

    Well, I'm obviously not a poet so I picked it up last weekend.

    So far I am impressed with how clearly it is written. And now that I am starting to understand what Mozilla is built on, I have much more respect for its developers. They weren't just building a browser, they were building a platform that can quickly adapt to become whatever the browser morphs into over the next decade. Navigator couldn't keep up with IE's pace of development but now I think the shoe is on the other foot.

  80. Try bitflux by DopeRider · · Score: 2, Informative
    Also I was hoping to embed an HTML editor in my application, so that people could post HTML in their comments and have a fancy editor for them

    Try http://bitflux.ch/editor.IIRC from one of the authors of the book.

    1. Re:Try bitflux by Micah · · Score: 2

      Wow. I'm not 100% sure if it will be suitable for my app or not (looks a little overkill), but it's definitely impressive! Thanks for the tip.

  81. Re:potential of mozilla development - db's? by rycamor · · Score: 4, Informative

    For remote access, all the server has to do is send XML data to Mozilla. Also, Mozilla natively supports the SOAP API, so it can access any SOAP data source. Cool, huh?

    It's a little different if you are talking about accessing client-side data sources. Mozilla/XUL is (kind of) a virtual machine (VM), meaning it doesn't intrude too much upon the client's OS. But, XUL/XPCOM has bindings for all kinds of programming languages, such as C, C++, Perl, Python, Ruby, and the list keeps getting longer (Good intro here). Thus, on the client-side you can use the database capability of any of these to talk to the Mozilla elements. I'm sure it wouldn't be too hard to whip up just a little communication between Mozilla and ODBC ;-).

  82. Constructive criticism. by rice_burners_suck · · Score: 3, Interesting
    What I don't get about Netscape and its developers is... Why do you folks think that the browser must be the front end to everything? Why shouldn't, for example, a text editor, or email client be the front end to everything? As far as I am concerned, the operating system has evolved to be this front end that everyone is looking for. Back in the day, the operating system did mundane, boring things that users didn't want to think about. But now, the operating system is expected to do everything, plus make cappuccino. So why do we need yet another (entirely too bloated) layer--the web browser--on top of the operating system? A web browser should do just that: Browse the web. Email should happen in a separate program. News in a separate program too. IRC or whatever in yet another separate program... The fact that web browsers need to provide the ability to interact with web pages doesn't necessarily mean that the entire world must work over HTTP port 80. Because there are 65534 more perfectly good ports to work with, and for a good reason.

    I would like to relate a recent experience with NETSCAPE 7.0. Please excuse two paragraphs or so of background information...

    Those who have read my literature (/. postings) in the past will know that I HATE Windows because it is TRASH. But unfortunately, my mother's work requires her to use Windows due to a proprietary application they use that isn't available on an operating system that actually works. So she has this laptop with Windows XP Home Edition. Now I'll admit that for the rare cases that I must use Windows, there's a crappy old box around here that's running Windows 98 SE. It's pretty crappy, but I removed pretty much all the superfluous junk from the installation, so it doesn't crash more than once in a blue moon^H^H^H^Hscreen or so. So while 98 is not my operating system of choice, it's admittedly not quite THAT bad when there's no other way to get the job done. I've had very minimal experience with setting things up for people on 95, 98, Me, NT, and 2000. All of them were crap. 95b was the best one (it could run for up to six or seven days without a reboot), but doesn't run on new hardware. 98 SE is somewhat usable. Me was probably the worst one I had seen so far... Everything is so complicated, cluttered up, and messy. But then my mother asked me to "make the internet work" on her laptop... And it's running XP.

    Now I do have to admit that I was impressed with ONE aspect of Windows XP: You plug in a network cable; it recognizes it and you're on the network. You plug in a ZIP drive, it recognizes it and that's that. You plug in a printer, it's automatically added to your printers thing. I wish somebody'd reverse engineer that and make it work on operating systems. But that was the extent of my good impression. The rest of XP is GARBAGE!!! The multiuser aspect of it is really clunky and crappy. The graphics are REALLY ugly; I had to revert it to the "Classic" look before my vision got damaged. The sounds were as stupid as ever; I had to delete them all. And the thing was as unreliable as software from Microsoft. Oh wait... That is from Microsoft. Guess that explains it. :)

    But I digress... So back to *N*E*T*S*C*A*P*E* I installed Netscape for my mom, because Internet Explorer is trash. Netscape, in my opinion, is lacking in many areas (such as usability), but I'll classify it as software, rather than trash. So I installed it. The install went along pretty smoothly and before I knew it, I had Netscape launched. The new graphics are MUCH nicer than the extremely crappy ones in Communicator 4.x. But the initial screen was SOOOOOO cluttered!!! Buttons and tabs and side bars EVERYWHERE! As an experienced user of computers and web browsers, I couldn't hear myself think, so to speak, in all this optical noise. I immediately turned all that crap off and modified all the settings to my liking, so that my mother, who has much less experience than myself, would actually be able to use the damn thing. And then it happened. The next time I launched Netscape, everything locked up and the disk started crunching and grinding away like there was no tomorrow. Even the ctrl-alt-delete window took forever to show up. I ended up forcefully shutting off the power, because I couldn't even log out. (Yeah yeah... File a bug report--but do you HONESTLY think that my mother knows what a bug report IS, let alone knows how to file one?!!) And this is where the background information on XP comes in... I guess it REMEMBERS what made it crash and when you reboot it (or log out and log back in) it does it over again, consequently putting itself in the same situation and locking up again. That's what happened. Whenever I logged into my mother's account, the whole computer became so unresponsive (from the grinding and whatnot) that I couldn't even open up the huge, cumbersome Start menu. (Mafiasoft. Where do you want to pay today?)

    I noticed that the other account, that I had originally set up for her out of the mere habit of always giving myself three or four accounts on my BSD boxen, still worked fine, so I logged into it, created yet another new account, moved all her files over, and deleted her original account. Oh yeah, and I removed Netscape and purchased a copy of the newest Opera 6.x for her. Sure, its initial screen is a bit cluttered and I have a few complaints about the increasing complexity and proliferation of seemingly unnecessary features (that other people probably want, just not me), but it's small, fast, and it WORKS. Extremely well, I might add. (It's what I am using right now under FreeBSD with Linux compatibility turned on.) Now she's happy as can be... And I know for a FACT that I will not buy a computer with Windows XP. And I am pretty disappointed with Netscape once again (not so much for the crash, but very much so because of the clutter), as I have been for several years. (Yes, I will continue trying it from time to time, because somewhere deep inside, I believe that it will BECOME a very good, reliable web browser. I just wish it'd become as SMALL as Opera (3 megs or so) and as fast. Netscape is very, very slow.)

    I hope if any Netscape developers are reading this, that they'll take this as constructive criticism rather than as flamebait. Oh yeah. And YES, I know the Gecko engine is found in Galeon and several other browsers.

  83. Re:Why would I want to create GUI apps with Mozill by Khazunga · · Score: 2
    if I can't stand having mymenus lagbehind my mouse clicks,
    Huh? Menus haven't been lagging for almost a year's worth of Moz releases.

    For the record, my home system is an Athlon 1200/512Mb and my laptop a P4 1400/256Mb. Both run Linux -- which isn't Mozilla's primary platform. None have lagging menus.

    People I know who're using mozilla -- including some newbies -- say it's faster than IE. This is probably because of the better rendering engine (and not having to close Casinoonnet popups and X10 popunders :-)

    --
    If at first you don't succeed, skydiving is not for you
  84. Re:Standards anyone ? by squiggleslash · · Score: 2
    No dear, it's a reasonable response to someone who flames someone else for claiming that an advantage of Mozilla over IE is that a programmer can modify it, and who then responds to a demonstration of how IE isn't modifyable by pretending that the question is over his own source code, not that of IE or Mozilla.

    I would suggest that when flaming, you should get your facts straight first. And if someone demonstrates you're in the wrong, stop digging.

    --
    You are not alone. This is not normal. None of this is normal.