dongshi4773 2009-04-30 10:15
浏览 41
已采纳

我将如何创建Zend_tool或symfony.bin等批处理文件?

I want to write batch file for my own php framework. for example i will use it to create controller or modul .If you have already used Zend or symfony you may know how to use .bin file of framework. I only know coding with php so i need clear description of how to write batch file .I looked symfony.bin's source code but code is very simple i think there is a something which send commands to php files and returns response.

  • 写回答

1条回答 默认 最新

  • dounuo1881 2009-04-30 10:17
    关注

    If you only know PHP, then do the setup script in it as well. PHP has excellent support for writing CLI applications (Command Line Interface). This also gives you several advantages over a shell script solution, such as access to reflection classes, which you could use to automatically extract the structure of abstract classes and interfaces and generate code templates.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 单片机学习顺序问题!!
  • ¥15 ikuai客户端多拨vpn,重启总是有个别重拨不上
  • ¥20 关于#anlogic#sdram#的问题,如何解决?(关键词-performance)
  • ¥15 相敏解调 matlab
  • ¥15 求lingo代码和思路
  • ¥15 公交车和无人机协同运输
  • ¥15 stm32代码移植没反应
  • ¥15 matlab基于pde算法图像修复,为什么只能对示例图像有效
  • ¥100 连续两帧图像高速减法
  • ¥15 如何绘制动力学系统的相图