MozillaZine

Full Article Attached Independent Project Status Reports

Tuesday April 10th, 2001

Here are this week's reports. Featured are Beonex and Hermes. Enjoy!


#16 Re: Issues with Mozilla code

by jilles

Wednesday April 11th, 2001 3:28 AM

You are replying to this message

I think this is not so much an issue with the component model as with the fact that mozilla heavily relies on scripting. Scripting languages such as javascript which is used in the Mozilla architecture, are not really suitable for building large systems. Many web developers have found out the hard way that is not very wise to mix gui code with functionality.

Although mozilla does use an mvc like architecture, the problem is that the controllers are written in javascript rather than C++ or some other language. Javascript is simply not very suitable for handling the complexity associated with GUIs like mozilla is trying to provide.

I think on the shortterm the best thing is to keep working towards a 1.0 release. After that, a long term solution to this problem may be to replace javascript with a more powerfull scripting language (e.g. ruby or python). Considering mozilla's architecture such a transition should be fairly easy (i think python is already able to do XPCOM interaction)