问题描述
我有一定程度的Web开发经验(不是我的主要技能,但是我对基础知识非常了解)
我非常缺乏的是对现代JS框架(原型,jQuery,YUI等)的了解和经验.我想和他们一起玩(最终都需要,但要从一个开始).
这是问题所在:我非常有兴趣最终尝试在Palm Pre上尝试我的技能.在某种程度上,选择最适合我学习哪个JS框架的主要标准是:
如果主要标准是知道这将对我最有助于Palm Pre的开发",那么哪个主流现代JS框架最有用?
我假设它将是我提到的3个之一:jQuery/YUI/Prototype,除非我缺少一些著名的主要JS/wevdev框架?我打算最终尝试所有这3个,因此除了在PalmPre上提供帮助外,它们的相对优点并不重要.
谢谢!
Palm在SDK中提供的框架称为Mojo.
Mojo是在Prototype之上构建的,因此在Pre上工作时,您将自动访问Prototype,并且必须将其用于各种系统调用.
因此,您可能会从学习原型中获得最大收益.
也就是说,如果您更喜欢将它们用于Pre应用程序,则可以添加其他js库,例如jQuery.
查看webOSdev API参考有关Mojo框架的更多信息.
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!
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.
这篇关于Palm Pre框架的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!