Home  >  Article  >  Backend Development  >  关于ZendStuido中的include path包含进入的文件跟在项目工程中的文件的区别

关于ZendStuido中的include path包含进入的文件跟在项目工程中的文件的区别

WBOY
WBOYOriginal
2016-06-13 12:18:25840browse

关于ZendStuido中的include path包含进去的文件跟在项目工程中的文件的区别
问题是这样的,在用ZendStudio新建ZF2项目的时候,我们可以在建立的过程中选择包含哪些库,其中有默认包含的Zend Framework 和一些Js库,在选择了js和zf库新建号项目之后,可以发现在项目的工程文件中,我们可以找到zend framework的源文件,但是却没有js库的文件。这包含的js库和zf库两者之间在作用上有什么区别?为什么包含的js库的文件找不到,如果我要用js库中的方法和对象的时候,能在不包含js文件的情况下,直接就调用吗?
------解决思路----------------------
任何时候 js 文件都是给浏览器用的,与你用什么工具、在什么目录下开发无关
只要你能保证浏览器能读到 js 文件就可以了(包括css、图片、流媒体)。

因此你需要搞清楚 web 路径和文件系统路径的区别

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn