\n\n<p>Even though a local web server is not a requirement to use Ext JS 4, it is still highly recommended that you develop with one, since <a href=\"http://en.wikipedia.org/wiki/XHR\">XHR</a> over local <a href=\"http://en.wikipedia.org/wiki/File_URI_scheme\">file://
protocol</a> has <a href=\"http://en.wikipedia.org/wiki/Same_origin_policy\">cross origin restriction</a> on most browsers.\nIf you don't already have a local web server it is recommended that you download and install Apache HTTP Server.</p>\n\n<p>实际上尽管不是每一个WEB服务器都必须使用Ext
JS 4,它仍然在其他的开发中得到较高的推荐</p>\n\n<ul>\n<li><a href=\"http://httpd.apache.org/docs/current/platform/windows.html\">Instructions for installing Apache on Windows</a></li>\n<li><a href=\"http://httpd.apache.org/docs/current/install.html\">Instructions for installing
Apache on Linux</a></li>\n<li>Mac OS X comes with a build in apache installation which you can enable by navigating to \"System Preferences > Sharing\" and checking the box next to \"Web Sharing\".</li>\n</ul>\n\n\n<p>Once you have installed or enabled Apache
you can verify that it is running by navigating to <a href=\"http://localhost/\">localhost</a> in your browser. You should see a startup page indicating that Apache HTTP Server was installed successfully and is running.</p>\n\n<h3>1.3. Ext JS 4 SDK</h3>\n\n<p>Download
<a href=\"http://www.sencha.com/products/extjs/\">Ext JS 4 SDK</a>. Unzip the package to a new directory called \"extjs\" within your web root directory. If you aren't sure where your web root directory is, consult the docs for your web server.\nYour web
root directory may vary depending on your operating system, but if you are using Apache it is typically located at:</p>\n\n<p>下载的Ext JS 4 SDK中。包解压缩到一个新的目录称为ExtJS的在你的web根如果您不能确定您的网站根目录,请咨询您的Web服务器的文档。你的网站根目录可能会有所不同,取决于您的操作系统,但如果你使用的是Apache,它通常位于:
a22222222222
最新推荐文章于 2025-12-31 14:02:25 发布
本文介绍了使用ExtJS4进行Web开发时推荐的本地开发环境配置。鉴于大多数浏览器对于XHR跨域限制的问题,建议开发者使用本地Web服务器如Apache HTTP Server,并提供了在不同操作系统上安装Apache的指引。
2123

被折叠的 条评论
为什么被折叠?



