1

I'm just starting out with Kendo UI and would like to better understand pros/cons of jquery initialization vs. data attribute initialization for large web applications. I'm seeing more examples using jquery, but I like the attribute approach; it feels a little like Angularjs. At this point, my preference is very subjective and would like objective feedback. Thanks!

4

1 に答える 1

1

MVVM と宣言的初期化に関するこの投稿をお読みください。多くの人が、アプリが大きくなるにつれて DI がますます魅力的になることに同意すると思います。これは、MVVM を使用している場合に特に当てはまりますが、メリットを得るために必ずしもそうする必要はありません。

于 2013-01-17T22:18:01.430 に答える