Re: Application letter

Emil Sedgh <[email protected]>
Newsgroups gmane.comp.kde.events
Message-ID <[email protected]>
On Do shanbe, Farvardin 01, 1390 04:14:04 am Lukas wrote:
> Hi
> 
> About JS plasmoids.
> Plasma would probably need to be capable with one of main JS frameworks,
> like jQuery. The problems with different browser vendors (damn you IE) made
> JS devs very defendant on JS frameworks, and I wont be surprised, if
> majority wouldn't know majority of standard JS API, since using frameworks
> is almost a must, and helper methods saves lots of developing time, even if
> it costs some performance.

Hi Lukas.
There are basically two ways of creating a js plasmoid:

1) Wrapping a web page in the plasmoid. This means you can use webkit to show 
a webpage in the plasmoid. This means almost no kde intergrationg in it.

This way is not prefered by plasma people as it cannot give a true kde 
experience to the user. However, since you're showing a webpage, you can use 
jQuery or any other js library you want inside the page.


2) Using Plasma's javascript api (+qml). This way you can create truly 
functional and intergrated plasmoids, just like the c++ ones.

However, you can do nothing using jQuery in this way, because as you probably 
know jQuery is a library around DOM and other browser-specific stuff.

What i want to conclude is that you cannot assume whoever knows howto write a 
plugin using jQuery already knows howto write a js plasmoid (so all we have to 
do is to attract him). He will still have to learn plasma's javascript api's.

This is totally off-topic to this list, though.

(What i said is basically my understanding, which might be wrong. Please 
correct me if its the case)
 
_______________________________________________
This message is from the kde-promo mailing list.

Visit https://mail.kde.org/mailman/listinfo/kde-promo to unsubscribe, set digest on or temporarily stop your subscription.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.