Developing Applications in KJSEmbed
Submitted by Ian Reinhart Geiser 2004-04-07 KDE 6 Comments
Vitural Basic for linux-land. Small, custom apps are very easy to throw together quickly with this stuff. Even for developing bigger applications, this could be a great environment for prototyping.
Thats the intention. With budding KDevelop integration we will soon have a full IDE, and some better tools.
Is this the language used to deploy say things like `kdialog –yesno “Do you want to quit?”‘. Please clarify. We need something as simple as Visual Basic. Yes…I agree simplicity is relative, butVb is really simple to learn. When you type the above kdialog command on the command line [without the begining “`” and ending “‘”, you get a yes/no dialog in KDE.
Very cool app.
There are already Java bindings for Qt/KDE available. They’re part of the kdebindings package.
> Is this the language used to deploy say things like
> `kdialog –yesno “Do you want to quit?”
kdialog is a C++ app which is intended as a helper for shell scripts. after all, there’s no reason they shouldn’t be pretty and well integrated too =)
but doing the same with KJSEmbed (or PyKDE, RubyKDE or even JavaKDE) is quite easy as well. this is because KDE has a nice set of dialog classes where you can say things like:
KMessageBox::questionYesNo(0, “The question?”, “Window Title”);
this sort of powerful, useful, sane and well-documented API allows the kdialog app to offer over 20 types of dialogs to shell scripts and remain a svelt couple hundred lines of code. other fun KDE command line apps include kdesu and the dcop* apps …
all that aside, KJSEmbed rocks and has even more potential given another release or two. kudos to all those involved…