VS.PHP + YiiFramework 组合开发PHP应用

来源:互联网 发布:android 仿淘宝订单页 编辑:程序博客网 时间:2024/05/16 06:17

在做程序员的很长时间内是使用Microsoft的Visual Studio开发应用。对Visual Stuido提供的开发环境也比较熟悉了。偶尔开始做下PHP应用,Eclipse 的PHP IDE非常之不错,但如果你习惯了Visual Studio,那么使用Vs.php 也是一个非常好的选择。

VS.PHP 基于Visual Studio 集成开发环境,使用VS.PHP 你可以使用Visual Studio IDE来开发,调试,部署PHP应用。尤其是其提供的调试环境和Visual Studio本身提供的其它语言C#调试环境不相上下。其主要功能有:

编辑和文件管理

  • PHP4 and PHP5 Support including the new PHP 5.3 language features
  • Syntax Coloring for PHP, Smarty, HTML, JavaScript, CSS, XML and XSLT
  • File templates for PHP, Smarty, HTML, JavaScript, CSS, XML and XSLT
  • Intellisense for PHP, Smarty, HTML, JavaScript, CSS, XML and XSLT

调试

  • XDebug and DBG support
  • Debug PHP, JavaScript and .Net in one single session
  • Built-in Apache web server for ease of debugging. Preconfigured with Php4, Php5, XDebug and DBG.

源码管理

  • Supports any SCC-plugin for Visual Studio including CVS, Svn, Perforce, Sourcesafe, etc.

部署及远程部署

  • Supports Ftp, SFtp (SSH), Ftp/S (SSL) and Smb (Network shares)
  • Automatic deploy files before debugging
  • Download/Import project from remote server
  • Work on remote files directly

主要界面如下:

可创建的项目类型

主要调试界面

代码编写时 Intellisense支持

VS.PHP本身可以支持各种PHP 应用程序框架,其内部自带ZendFramework的支持。但如果你习惯了MFC ,ASP.Net 开发应用,YiiFramework 是你比较好的选择。

尽管Yii的开发借鉴了Prado,Ruby on Rails,jQuery,Symfony等,但它提供的Application框架和API接口非常类似Asp.Net。下面为其支持的API接口的包定义:

YiiFramework 的中文开发教程可以参考 http://www.yiiframework.com/doc/guide/1.1/zh_cn/index

原创粉丝点击