dongnaoxia0927 2010-04-01 15:44
浏览 47
已采纳

构建PHP Web应用程序系统[关闭]

I want to start automating more of my web development process so I'm looking for a build system. I write mostly PHP apps on Mac OS X and deploy Linux servers over FTP. A lot of my clients have basic hosting providers so shell access to their servers is typically not available, however remote MySQL access is usually present. Here is what I want to do with a build system:

  • When Building:
    • Lint JavaScript Files
    • Validate CSS Files
    • Validate HTML Files
    • Minify and concatenate JS and CSS files
    • Verify PHP Syntax
    • Set Debug/Production flags
  • When Deploying
    • Checkout latest version from SVN
    • Run build process
    • Upload files to server via FTP
    • Run SQL scripts on remote DB

I realize this is a lot of work to automate but I think it would be worth it. So what is the best way to start down this path? Is there a system that can handle builds and deploys, or should I search for separate solutions? What systems would you recommend?

  • 写回答

2条回答 默认 最新

  • douyi1197 2010-04-01 15:48
    关注

    All you ask for can be done with Phing

    Phing is a deployment framework written in PHP and modeled after Apache Ant. It comes with a large set of ready-to-use deployment tasks, including database deployment, remote file transfers and VCS connectivity. If you are missing functionality, you can extend Phing with standard PHP.

    Phing provides the following features:

    • Simple XML buildfiles
    • Rich set of provided tasks
    • Easily extendable via PHP classes
    • Platform-independent: works on UNIX, Windows, MacOSX
    • No required external dependencies
    • Built & optimized for ZendEngine2/PHP5
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥17 pro*C预编译“闪回查询”报错SCN不能识别
  • ¥15 微信会员卡接入微信支付商户号收款
  • ¥15 如何获取烟草零售终端数据
  • ¥15 数学建模招标中位数问题
  • ¥15 phython路径名过长报错 不知道什么问题
  • ¥15 深度学习中模型转换该怎么实现
  • ¥15 HLs设计手写数字识别程序编译通不过
  • ¥15 Stata外部命令安装问题求帮助!
  • ¥15 从键盘随机输入A-H中的一串字符串,用七段数码管方法进行绘制。提交代码及运行截图。
  • ¥15 TYPCE母转母,插入认方向