A Conversation for The GuideDog project
- 1
- 2
Cross Platform?
HappyDude Started conversation Oct 1, 2002
A bit late in the day but...
Have you thought about using Mozilla's XPFC (Mozilla's cross-platform front end) for the development of this project
A cross-platform Mozilla-based application would by its very nature cut down on development time, as the amount of platform specific code would be very limited. Additionally you would be increasing the pool of developers you could call upon, as the basic components of XPFC (CSS, JavaScript & XML (in the form of XUL)) are familiar to most web developers.
Further Reading (if your intrested):
http://books.mozdev.org/index.html
now I think it's time to run away & hide before the 's start to fly ...
Cross Platform?
HappyDude Posted Oct 1, 2002
You might also find http://developer.apple.com/internet/css/xmltransformations.html of interest.
:: decides he really must go before they find the ::
Cross Platform?
HappyDude Posted Oct 1, 2002
Gawd I'm a sucker for punishment...
As I indicated earlier even using the XPFC approach (which strikes me as ideal for this kind of project) there will probably be a few bits you will want to write in C++ or similar. You could cut down on development time of such elements by writing this stuff on a *nix platform (Linux, BSD, etc) and porting it to windows using Cygwin (http://www.cygwin.com/) with a minimum of fuss.
:: goes to look for a very deep bunker ::
(P.S. feel free to ignore all this )
Cross Platform?
Felonious Monk - h2g2s very own Bogeyman Posted Oct 1, 2002
I have no problems with looking at any alternatives. At the moment we use MS stuff simply because it's what we know. Also, MSHTML is a very richly functional library and will probably do what we want it to, iof asked correctly (i.e. in C++).
Generally, the 'cross-platform' requirement is pretty low on our list of priorities, simply because the vast majority of people out there use Windows. However, if it can be shown that we can acheive what we want to do easier using Mozilla then I'm up for it. Ends are everything, means are of secondary importance.
Cross Platform?
Bogie Posted Oct 1, 2002
Just though I'd add my all to the mess.
If we want cross platform then surely we should be coding in pure Java. The Java run-time engines run on most OSs these days, including the big 5: Windows (spit!), Linux, MacOS X, MacOS 9 and BSD Unix.
< Ducks for cover from flying >
B.
Cross Platform?
Felonious Monk - h2g2s very own Bogeyman Posted Oct 1, 2002
But do we have any Java skills? Do we have an embeddable component that will allow editing?
Like I say, X-platform running is pretty unimportant, compared to the extra effort we'd have to put into it in order to get the same effect. I've nothing really against programming in Java except that
* I don't know it
* I don't know of any HTML editor beans out there
* It will probably take a lot longer than VB.
Cross Platform?
HappyDude Posted Oct 1, 2002
Post 6 amswered the Java question.
But how would the "cross-platform Mozilla-based application" route be of benefit?
You would be increasing the pool of developers you could call upon, as the basic components of XPFC (CSS, JavaScript & XML (in the form of XUL)), one of the great advantages to developing a Mozilla-based application is the learning curve isn't as steep as most alternatives, such as C, C++, or even Java.
The applications will be cross-platform automatically.
Using a development platform that has native support for XML at the core of its functionality.
Cross Platform?
HappyDude Posted Oct 1, 2002
er...
That first answer should of read:
You would be increasing the pool of developers you could call upon, as the basic components of XPFC (CSS, JavaScript & XML (in the form of XUL)) are familiar to most web developers, one of the great advantages to developing a Mozilla-based application is the learning curve isn't as steep as most alternatives, such as C, C++, or even Java.
Cross Platform?
Felonious Monk - h2g2s very own Bogeyman Posted Oct 1, 2002
OK, I'm interested. Show me an editing prototype. And we'll investigate further.
FM
Cross Platform?
Felonious Monk - h2g2s very own Bogeyman Posted Oct 1, 2002
This link is worth reading, particularly with regar to 'the devil'. This is the situation we find ourselevs in
http://www.bris.ac.uk/is/projects/cms/ttw/ttw.html
Cross Platform?
HappyDude Posted Oct 1, 2002
eek
I can show a couple of working Editors as a demonstrations that the development platform is up to the task of Editing ...
1: Composer, comes bundled with both Mozilla & Netscape.
2: ActiveState Komodo - http://www.activestate.com/Products/Komodo/
As for a GuideML specific stuff, I don't mind helping out on the development of a XPFC editing prototype but if you are going to wait for just me to finish it then it might be a long wait as my time (like that of most) is limited.
Cross Platform?
HappyDude Posted Oct 1, 2002
A quick search cam up with the following - I don't know if they are of any help
http://www.mozilla.org/xpfe/xulref/
http://www.mozilla.org/xpfe/xulref/editor.html
http://books.mozdev.org/resources.html
Cross Platform?
26199 Posted Oct 1, 2002
Hmm, the 'Ekit' on that page is interesting... it's a full HTML editor, is written in Java and is available under the GPL...
I'll have a look and see how easy it'd be to implement GuideML support...
(although I can't help more than a little... back to uni on saturday )
Cross Platform?
HappyDude Posted Oct 1, 2002
http://www.mozilla.org/catalog/libraries/editor/
http://www.mozilla.org/catalog/libraries/layout/
may also be of interest
Cross Platform?
26199 Posted Oct 1, 2002
Hmm, looks like it just uses built-in Java components... which means you can't extend it without re-implementing a lot of stuff. Ah well.
Cross Platform?
HappyDude Posted Oct 1, 2002
See post 1
but in summary
The Mozilla cross-platform front end used for developing Mozilla-based applications. You can find out more over at http://books.mozdev.org/chapters/
Cross Platform?
Ion the Naysayer Posted Oct 2, 2002
I am definitely going to have to agree with HappyDude on this one. One of the requirements is Browser-like rendering while you edit, right? Making a Gecko based GuideML editor would mean you're not just getting Browser-like, you're getting Browser!
I've tinkered a little bit with Mozilla and Gecko (not extensively, I haven't had the time to play yet) and I can attest to the fact that you will have a bigger development pool because a lot more people already know the languages required for Gecko development - the User Interface is written in XUL (which is easy to pick up if you know GuideML), Cascading Style Sheets, and JavaScript.
On the code end of it, I would recommend that you not go anywhere near Mozilla Composer. It's not a good editor. Mozilla is a great project and they're doing a lot of goot stuff but their HTML editor needs a lot of work (no offense, anyone who's involved in the project).
The challenging part is going to be building the GuideML code. The engine will probably have to be written in C to import and work on a set of externally defined tags.
This approach would mean the (necessary) creation of a GuideML DTD or Schema to plug in to the program. You would also have to implement a means to convert the GuideML into HTML that can be rendered in the browser. I would personally suggest that XSLT is the way to go on this front. For anyone who's not familiar with XSLT, it gives any parser that implements XSLT a set of rules to use to convert XML to some other arbitrary format (HTML for example). Implementing an engine to support plugin Schemas and/or DTDs and an XSLT document to give rules for conversion to HTML wouldn't take that much more time and effort than a less open-ended solution and the result will not only allow the system to expand from the Guide to other DNA sites, it will also allow any interested third party to use GuideDog as an editor for _their_ web-oriented XML, just by writing a DTD or Schema and an XSLT document with rules for conversion to HTML.
It might also be of interest to read the output DTD from an external file so that new versions of the HTML spec could be plugged in as they are released.
The sidebar which is currently implemented in Mozilla allows you to plug in tools like the Venkman JavaScript debugger, CSS and HTML reference bars, Search bars and more. Plugins for GuideML reference would be easy to create.
Drawing from the Mozilla project for this stuff would make it much easier. Here's a potential gotcha: If you implement GuideDog using _code_ from the Mozilla project, GuideDog MUST be open sourced. I think if you only make use of API calls to Gecko that doesn't apply but I haven't looked into it. I don't know if that's going to be a problem. If you do open source it I would also suggest a sourceforge page.
Maybe I'm aiming too high but I think this project could go really really far.
All that said (sorry, I'm very long-winded about topics that interest me, especially programming-wise), you have yourselves a(nother) web developer if you would like one. I have experience with XML, C, Perl, JavaScript, and CSS. I have other experience as well but it's not really relevant to this project.
Key: Complain about this post
- 1
- 2
Cross Platform?
- 1: HappyDude (Oct 1, 2002)
- 2: HappyDude (Oct 1, 2002)
- 3: HappyDude (Oct 1, 2002)
- 4: Felonious Monk - h2g2s very own Bogeyman (Oct 1, 2002)
- 5: Bogie (Oct 1, 2002)
- 6: Felonious Monk - h2g2s very own Bogeyman (Oct 1, 2002)
- 7: HappyDude (Oct 1, 2002)
- 8: HappyDude (Oct 1, 2002)
- 9: Felonious Monk - h2g2s very own Bogeyman (Oct 1, 2002)
- 10: Felonious Monk - h2g2s very own Bogeyman (Oct 1, 2002)
- 11: HappyDude (Oct 1, 2002)
- 12: HappyDude (Oct 1, 2002)
- 13: 26199 (Oct 1, 2002)
- 14: HappyDude (Oct 1, 2002)
- 15: 26199 (Oct 1, 2002)
- 16: HappyDude (Oct 1, 2002)
- 17: 26199 (Oct 1, 2002)
- 18: HappyDude (Oct 1, 2002)
- 19: 26199 (Oct 1, 2002)
- 20: Ion the Naysayer (Oct 2, 2002)
More Conversations for The GuideDog project
Write an Entry
"The Hitchhiker's Guide to the Galaxy is a wholly remarkable book. It has been compiled and recompiled many times and under many different editorships. It contains contributions from countless numbers of travellers and researchers."