is it possible to use JS framework such as jQuery or mootools? While some frameworks are large, are there any file size limit to consider for the perfomance or memory of the device?
Thanks,
is it possible to use JS framework such as jQuery or mootools? While some frameworks are large, are there any file size limit to consider for the perfomance or memory of the device?
Thanks,
Hi james_027,
yes, it is possible to use JS frameworks within WRT widgets. Check also out Forum Nokia Wiki for examples of their usage within WRT environment.
About size limitations: there's no explicit limit, but obviously the smaller is better, since mobile devices surely have tighter constraints (both for memory and performances) than desktop browsers. Anyway, only reliable answer is usually given by tests on real devices, to see how "well" the widget performs.
Pit
I've been using prototype.js for AJAX, JSON and some other tasks and havent experienced any problems on N95,n96 and 5800xpress. Prototype adds ~100k to your application file size, but I have not encountered memory issues. Note that Palm webOS includes a version of prototype so they (Palm) may considre it more cpu friendly than other frameworks.
Thanks to both of you. Can testing done in emulator be a reliable measure if your wrt apps scales well?