Palm Pre frameworks

 ̄綄美尐妖づ 提交于 2019-12-07 06:19:44

问题


I have some measure of web development experience (not my main skill, but I am pretty good with the basics)

What I'm sorely lacking is knowledge of and experience with modern JS frameworks (Prototype, jQuery, YUI, whatnot). I'd like to play with them (all eventually but need to start with one).

Here's the problem: I'm very interested in trying out my skills on Palm Pre eventually. To the extent that the main criteria for choosing which JS framework to learn first for me is this:

Which mainstream modern JS framework is the most useful to learn if the main criteria is "knowing this will help me most to develop for Palm Pre"?

I'm assuming it will be one of the 3 I mentioned: jQuery/YUI/Prototype, unless I'm missing some major well known JS/wevdev framework? I intend to try all those 3 eventually so their relative merits outside of helping on PalmPre are not majorly important.

Thanks!


回答1:


The framework that Palm provides in the SDK is called Mojo.

Mojo is built on top of Prototype, therefore you will automatically have access to Prototype when you work on the Pre, and you will have to make use of it for various system calls.

Therefore, you are probably going to get the most benefit from learning Prototype.

That said, it is possible to add other js libraries like jQuery if you prefer to use those for your Pre apps.

Check out the webOSdev API Reference for more information about the Mojo Framework.



来源:https://stackoverflow.com/questions/1545773/palm-pre-frameworks

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!