shall I move from prototype to jquery?

2020-06-16 04:35发布

Lastly I've been feeling like jQuery is slowly becoming the defacto standard in JS libraries (I might be wrong!), or at least that is more active than the rest of the frameworks.

For example, I've been looking for a fine open source calendar like Componente and found http://fullcalendar.vinsol.com/ which is based on jQuery.

We've been using Prototype for very little things, like its selector capabilities ($ function as a shortcut for document.getElementById, mainly), executing some piece of JS when the page is loaded and to issue some very simple Ajax calls.

So I guess the migration should be quite straight forward, but I'd like to know the pros / cons of migrating from Prototype to jQuery.

On the other hand, I guess that having both of them together is not a good choice, specially taking into account that the migration should be quite simple. Am I right?

Edit: some useful resources:

8条回答
小情绪 Triste *
2楼-- · 2020-06-16 04:56

I think the fact that Microsoft has integrated it into the ASP.NET Ajax Framework speaks worlds for jQuery. My current employer standardized on it last year and I can find more job posting specifically asking for jQuery and any other library.

查看更多
Melony?
3楼-- · 2020-06-16 05:05

I think you should. I use jquery religiously, and I'm not a Javascript Pro. It's ease of use I think, is one of the most powerful things about it.

查看更多
登录 后发表回答