The Fine Print: The following comments
are owned by whomever posted them.
( Reply )
|
Re: KJSEmbed hits the big time
by rjw on Tuesday 26/Aug/2003, @14:12
|
Would it be difficult to extend Kjsembed to more than just ECMAscript?
Is the introspection of QT stuff separated from the KJS binding?
IE Can we look forward to python scripts in Koffice? ;-)
Another interesting point would be to expose all these bindings via DCOP for interprocess scripting .. or is this already possible?
|
[
Reply To This | View ]
|
Re: KJSEmbed hits the big time
by Richard Moore on Wednesday 27/Aug/2003, @02:14
|
It would certainly be possible to write an equivalent for python, but I have no intention of making kjsembed itself language independent. I think the disadvantages of having a mixture of languages used by different scripts out weighs the pretty minimal gain of supporting more than one. After all, once you support python, why not perl, ruby, scheme etc.
Ian Geiser is working on DCOP support for kjsembed, I'm not 100% sure how much is working right now.
Rich.
|
[
Reply To This | View ]
|
Re: KJSEmbed hits the big time
by Ian Reinhart Geiser on Wednesday 27/Aug/2003, @08:36
|
it can now crash the remote app :)
the dcop command is getting through but something is going wrong communicating variant types. lastly i have started on adding the ability to create dcop interfaces in a kjs script but this code needs to be rethought.
|
[
Reply To This | View ]
|
Re: KJSEmbed hits the big time
by Eric Laffoon on Thursday 28/Aug/2003, @16:15
|
I'm very interested in this to see how it may be useful for Kommander, which provides language neutral dialogs with optional scripting. I do my best to follow it, but if you could keep me advised that would be great. As much as I think KJSEmbed is great and a generally good choice for this I think that being able to shell out from an app and run Kommander with DCOP and the option of using any scripting language is worth having too.
Also congrats to Rich on this and all his hard work.
|
[
Reply To This | View ]
|
Re: KJSEmbed hits the big time
by rjw on Friday 29/Aug/2003, @01:34
|
It seems insane to me to want people to rewrite the scripting language independent parts for any other language they want to use.
The point is, we are going towards a mini-ide being accessible from KOffice. How much of this is js specific?
The other thing is, if we are going toward OOo, and want to import MS office files, why would you want to make it harder to support (shock, horror) VB properly? (Maybe via mono, or something).
|
[
Reply To This | View ]
|
Re: KJSEmbed hits the big time
by Norbert on Friday 29/Aug/2003, @01:52
|
Yes, python scripts in KOffice are possible. I already have a "Prove-Of-Concept" plugin for KSpread on my hard disc, but it is outdated and doesn't work with 1.3. Maybe I will look into this again, once I get back to develop on KSpread in mid of September.
|
[
Reply To This | View ]
|
Re: KJSEmbed hits the big time
by panzi on Wednesday 07/Jun/2006, @00:51
|
If there would be a poll, I would vote for python. :)
JavaScript is nice, but it's OOP features seem a bit hackish.
I like python and python is very commonly used.
|
[
Reply To This | View ]
|
|
Re: KJSEmbed hits the big time
by Carlo on Tuesday 26/Aug/2003, @14:34
|
The planned features sound well, but using JavacSript just sucks.
|
[
Reply To This | View ]
|
Re: KJSEmbed hits the big time
by TomL on Wednesday 27/Aug/2003, @06:42
|
I think you're just running up against one of the many python advocates. Python seems to be very popular amongst KDE users and as far as many are concerned, if it only had python they'd be pretty happy. Eric Laffoon has had a lot of discussions on the dot about this and his competing vision about scriptability.
Note that I'm a big fan of python too. It's my favorite language, too. But I do appreciate the work you are doing on kjsembed.
|
[
Reply To This | View ]
|
Re: KJSEmbed hits the big time
by Richard Moore on Wednesday 27/Aug/2003, @07:46
|
I like python too, but i don't think it's the right language to use here. It is a lot larger than KJS and much more complex. It would be slower to load, add considerable memory overhead etc. (bear in mind that most apps already have kjs in memory through kdeinit). It is also harder to lock python down for security (and no bastion is not good enough for this).
Rich.
|
[
Reply To This | View ]
|
Re: KJSEmbed hits the big time
by Eric Laffoon on Thursday 28/Aug/2003, @16:09
|
> I think you're just running up against one of the many python advocates. Python seems to be very popular amongst KDE users and as far as many are concerned, if it only had python they'd be pretty happy. Eric Laffoon has had a lot of discussions on the dot about this and his competing vision about scriptability.
And please, if you're going to mention me at least through in a few words about what I'm saying. I don't use Python personally. I also don't think my vision competes per se with Rich's. I like to think they are more complementary in application, but I do believe that the greatest level of user support is achieved by a language neutral approach. It will see the widest acceptance and least complaining about languages. It will not however have all the inherent power of KJSEmbed.
The bottom line is that people don't usually want to learn another language to do something when they are proficient in a different one they prefer. This means some people will avoid using these extentions, and not just the zealots. If you think about it, it's not difficult to imagine having to use a handful of scripting languages with a number of applications. Whatever the benefits of a particular language are it is difficult to outweigh user resistance and saturation of frustration.
FWIW I happen to like Javascript, I think KJSEMbed is cool and I salute Rich in his work. ;-) I'm also working on Kommander as a language neutral solution because I believe it has a somewhat different target audience. (Plus we've had it for some time now.) Choice is good.
|
[
Reply To This | View ]
|
Re: KJSEmbed hits the big time
by Debian User on Wednesday 27/Aug/2003, @07:26
|
You are the wrong person to address it to. But I wish the KOffice developers would rather pick Python. This will give a more feature rich language with a lot of modules to make use of other programs.
But you can probably tell us if KJSEmbed has an API interface that e.g. KPythonEmbded could also provide.
Yours, Kay
|
[
Reply To This | View ]
|
Re: KJSEmbed hits the big time
by Carlo on Wednesday 27/Aug/2003, @09:43
|
I just don't like the language. I admit that I'm not impartial - it's more a personal thing. I just don't see a reason to use it. JavaScript has no advantage to other languages imho.
|
[
Reply To This | View ]
|
Re: KJSEmbed hits the big time
by Tim Jansen on Wednesday 27/Aug/2003, @10:06
|
It has the very nice feature of a prototype-based object system, which IMHO is much easier to understand than the class-based object system that is used by all other popular programming languages. It is also the only mainstream scripting-level language which uses a C-like syntax, which is quite nice for many programmers (but unfortunately reduces its mainstream-appeal a little bit).
|
[
Reply To This | View ]
|
Re: KJSEmbed hits the big time
by Carlo on Wednesday 27/Aug/2003, @11:50
|
begin
write('prototype-based oo: to be as flexible as a spaghetti?!');
end;
scnr ;-)
|
[
Reply To This | View ]
|
|
The Fine Print: The previous
comments are owned by whomever posted them.
( Reply )
|
|