Home > Backend Development > PHP Tutorial > 关于thinkphp蛋疼的问题

关于thinkphp蛋疼的问题

WBOY
Release: 2016-06-23 13:57:18
Original
920 people have browsed it

比方说要写1个后台 

如上图 我写了视图添加 修改 显示界面   控制器 也要写 3个方法 当然数据库也要创建个表 手动创建字段。。搞了我1个小时
 
然后我又要再添加个数据库后台 那我又要复制 然后改。。。。这样感觉好浪费时间哈 而且维护起来也麻烦    因为我这个项目要写后台很多

有什么好得方法么不用复制粘贴改  直接写1次就够了。。 


回复讨论(解决方案)

尝试使用sql语句代替建表 尝试使用file_put_contents?

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template