MVC Javascript,Ajax html教程...... [英] MVC Javascript, Ajax html Tutorial ...

查看:52
本文介绍了MVC Javascript,Ajax html教程......的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我刚刚进入MVC / javascript / Ajax的世界。我已经对这些工具/技术进行了很多教程搜索。



像往常一样,有些人给出了很好的解释,而其他教程则没有...我在寻找什么for是一个你可能遇到的REST应用程序教程,一个显示如何调用ajax的应用程序,以及如何解释javascript和服务器端。



有没有你可能推荐给我的教程?



谢谢

Hi All,

I am just getting into the world of MVC/javascript/Ajax. I have done a lot of tutorial searches on these tools/techs.

As usual , some give a good explanation and other tutorials don't .. what i am looking for is a REST application tutorial that you may have come across , an application that shows how ajax calls are made and also how the javascript as well as server side has been explained.

Is there any tutorials out there that you may recommend for me?

Thank you

推荐答案

  1. MVC:



    让我注意MVC有不同的含义。首先,这是建筑设计模式: http://en.wikipedia .org / wiki / Model%E2%80%93view%E2%80%93controller [ ^ ]。



    如果你使用的话,最好理解它一般ASP.NET的MVC框架。我认为这就是你在问题中的意思。 ASP.NET MVC Framework实现了MVC模式。该主题有哪些内容?我建议:

    http://www.asp.net/mvc [ ^ ]。
  2. JavaScript:



    是的,JavaScript上有大量质量差的手册。这可能与其在许多使用它进行Web开发的极端浏览器中的巨大受欢迎程度有关,而这反过来又与JavaScript是客户端开发的唯一标准选择有关(a href =http:// en .wikipedia.org / wiki / ECMAScript> ECMAScript)和Web开发中的很多随机人员。 JavaScript有时也用于服务器端,以及用于不同类型的脚本(例如, WSH )。



    JavaScript通常被认为是一种非常简单的语言。事实并非如此。在Douglas Crockford的着名演讲之后,它通常被称为世界上最容易被误解的语言。请参阅:

    http://javascript.crockford.com/javascript.html [< a href =http://javascript.crockford.com/javascript.htmltarget =_ blanktitle =新窗口> ^ ],

    https://yow.eventer.com/yow -2013-1080 / the-world-s-most-the-misunderstood-programming-language-by-douglas-crockford-1377 [ ^ ]。



    这是真的。它的性质和实现很简单,但基于很多开发人员不了解的想法。



    例如,参见本文: http://davidwalsh.name/javascript-objects-distractions [ ^ ]。



    因此,很难推荐合适的阅读材料。首先,我建议MDN作为一个可靠而又方便的来源: https://developer.mozilla。 org / zh-CN / docs / Web / JavaScript [ ^ ]。



    从这篇文章开始会很有用: http://en.wikipedia.org/wiki/JavaScript [ ^ ]。 : - )
  3. Ajax:



    这个单词在编程中有很多含义,所以我只提到根目录:< a href =http://en.wikipedia.org/wiki/Ajax_%28programming%29> http://en.wikipedia.org/wiki/Ajax_%28programming%29 [ ^ ]。



    其他所有东西都可以引用不同的Ajax框架,Ajax包装在不同的JavaScript库中,类似的东西。看什么?除了上面提到的文章之外什么都没有然后你会从原始文档中了解其他一切是如何工作的。
  4. 还有什么吗?



    哦是的,还有更多。事实上,如果你不了解基本面,那么上述所有内容都将毫无用处。你提到MVC有点奇怪,但不是ASP.NET;可能你是这么认为的。但首先,您需要了解Web原则上的工作原理。这是初学者中最典型的错误:在不了解基础知识的情况下上升和上升,以及所有这些挫折。



    首先,您需要了解HTTP的方式作品: http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol [ ^ ]。



    要理解它,你需要了解所有先决条件。首先,这是一般编程。
  1. "MVC":

    Let me note that "MVC" has different meanings. First of all, this is the architectural design pattern: http://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller[^].

    It's better to understand it in general, if you use MVC framework for ASP.NET. I think this is what you meant in your question. ASP.NET MVC Framework implements MVC pattern. What to read on this topic? I would suggest:
    http://www.asp.net/mvc[^].
  2. JavaScript:

    Yes, there are surprisingly huge amount of poor-quality manuals on JavaScript. This is probably related to its enormous popularity among many extreme lamers using it for Web development, which is, in turn, related to the fact that JavaScript is the only standard choice for client-side development (a href="http://en.wikipedia.org/wiki/ECMAScript">ECMAScript) and a lot of random people in Web development. JavaScript is also sometimes used on server side, and for different kinds of scripting (WSH, for example).

    JavaScript is often considered as a very simple language. It is not exactly so. It is often referred as the most misunderstood language in the world, after the famous speech by Douglas Crockford. Please see:
    http://javascript.crockford.com/javascript.html[^],
    https://yow.eventer.com/yow-2013-1080/the-world-s-most-misunderstood-programming-language-by-douglas-crockford-1377[^].

    This is a true. It is simple in its nature and implementation, but is based on the ideas not many developers understand.

    See, for example, this article: http://davidwalsh.name/javascript-objects-distractions[^].

    So, it's hard to recommend the right reading. First of all, I would recommend MDN as a reliable and yet convenient source: https://developer.mozilla.org/en-US/docs/Web/JavaScript[^].

    It would useful to start with this article: http://en.wikipedia.org/wiki/JavaScript[^]. :-)
  3. Ajax:

    There are many meaning of this word in programming, so I'll refer only to the root one: http://en.wikipedia.org/wiki/Ajax_%28programming%29[^].

    Everything else could refer to different Ajax frameworks, Ajax wrapped in different JavaScript libraries, anything like that. What to read? Nothing except the article referenced above. Then you will understand how everything else works, from original documentation.
  4. Anything else?

    Oh yes, a lot more. As a matter of fact, all of the above would be totally useless if you don't know the fundamentals. It's a bit weird that you mentioned MVC, but not ASP.NET; probably you assumed that. But first of all, you need to understand how Web works in principle. This is the most typical mistake in beginners: going up and up without understanding of the basics, with all those frustrations.

    First of all, you need to understand how HTTP works: http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol[^].

    To understand it, you need to understand all the prerequisites. First of all, this is general programming.





-SA


这篇关于MVC Javascript,Ajax html教程......的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆