Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如何使用thinkphp结合fis进行开发 #119

Open
taoge1992 opened this issue Mar 17, 2017 · 6 comments
Open

如何使用thinkphp结合fis进行开发 #119

taoge1992 opened this issue Mar 17, 2017 · 6 comments

Comments

@taoge1992
Copy link

No description provided.

@zhangtao07
Copy link
Member

如果你使用 smarty 框架集成到thinkphp中可以直接用fis-plus 或者fis3-smarty,如果只使用前端资源管理则跟后端框架没关系,直接用 fis3及对应的前端 loader 插件即可

@taoge1992
Copy link
Author

thinkphp框架好像本来就集成了smarty模板引擎,请问,具体怎么把fis-plus 或者fis3-smarty结合到thinkphp框架里面?有没有具体的案列或发个链接也行,非常感谢!!

@zhangtao07
Copy link
Member

参考 fis-plus 的入门 demo https://github.com/fex-team/fis-plus/wiki。 前端开发 smarty模板时数据可以模拟,服务器支持本地调试,与后端开发是分离的。与thinkphp的结合只是配置下部署规则部署到thinkphp指定的目录而已。没有实际的 demo,但你试试应该就知道了

@taoge1992
Copy link
Author

ok,非常感谢!!!

@taoge1992
Copy link
Author

顺便问一下,用thinkphp框架把项目开发完之后再接入fis-plus 或者fis3-smarty,可以吗?还是一定要先接入再开发项目呢?

@zhangtao07
Copy link
Member

fis-plus/fis3-smarty有自定义的 smarty插件和前端的模块化写法,老项目接入需要修改之前的代码。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants