PhpStorm开发环境介绍
2010-05-31
   PhpStorm 1.0版本已经正式推出啦,不少人可能都会关注这款工具对Php的支持情况,这篇文章会做一个基本的介绍,让大家能够快速了解该工具,方便日常开发。本文主要是针对Windows,其他的操作系统做一下相应改变即可。
   首先我们要设置php的开发环境,在Windows下,XAMPP就可以啦,可以省去很多麻烦的事情,好处也就不说啦,下载地址为:http://www.apachefriends.org/en/xampp-windows.html。XAMPP安装好以后,需要安装一下PHPUnit和phpDoc,PhpStorm都有支持,PHPUnit的安装步骤: http://www.phpunit.de/manual/current/en/installation.html ,phpDoc只需: >pear install PhpDocumentor 即可。
   这里还要提及一下PhpStorm下php debug问题。php的debug主要是通过xdebug实现的,xampp已经包含了对xdebug支持,不过默认没有打开,所以这里我们要讲xdeubg打开,这样就可以在PhpStorm下debug php程序啦。首先打开php.ini,将zend_extension = "D:\develop\xampp\php\ext\php_xdebug.dll"打开,同时[xdebug]设置项打开相关的设置,只要是 xdebug.remote_enable = On 要打开,不然无法调试。php.ini的xdebug设置如下:

xdebug.remote_enable=1

xdebug.remote_autostart=1

xdebug.remote_mode=req

xdebug.remote_host=localhost

xdebug.remote_port=9000

xdebug.idekey=PhpStorm1
   设置完毕,启动PhpStorm,我们使用打开目录功能,这里的目录最好是xampp的htdocs下的一个目录,这样我们就可以实时调试程序。接下来我们要打开设置面板,然后选择php,设置正确的php home路径,这里就可以进行php相关的单元测试等。
   总结: PhpStorm还包含其他很多特性,如ftp同步,php预览等等,这些特性在开发的时候非常有用,这些可以在官方中找到相关的文档和vedio。

 
快速创建GAE/J项目
2010-01-30

在Google App Engine for Java推出后,样例的代码都是基于Ant的,但是Java开发中更多的是基于Maven的,于是也Mawei搞了一个GAE/J Maven archetype,同时将GAE/J相关的开发包上传到http://www.mvnsearch.org/maven2 的Maven Repository中。当然开源社区也做了不少GAE和Maven整合的例子,其中比较突出的就是Maven GAE Plugin,可以管理GAE/J涉及到各种任务。本文就是介绍如何快速创建一个整合了GAE Plugin的GAE项目,其实也非常简单,3个步骤。 本文假设你已经安装了Maven,而且了解Maven的基本用法。
1 首先根据Maven GAE Archetype创建一个新的工程:
     > mvn archetype:generate -DarchetypeCatalog=http://www.mvnsearch.org/maven2
2 进入到新建目录,下载Google App Engine SDK。 GAE Plugin一个好处就是在你们没有下载SDK的时候,自动帮你下载一个,个人建议你还是选择这种方式。当如下面这个步骤只要执行一次即可:
     > mvn gae:unpack
3 运行GAE项目,项目创建完毕后,你可能马上向看到一个Demo页面,没有关系,执行下述命令,然后在浏览中打开 http://localhost:81即可
     > mvn gae:run

总结:整个项目创建还是非常流畅的,甚至你都不需要下载SDK。当然项目创建,你可能需要使用IDE打开进行开发,这个前面有文章介绍过如何在IDEA下开发GAE/J应用,你可以参考一下。有了GAE Plugin,同时将将GAE/J的jar上传到Maven Repository中,项目管理会方便很多,同时相关的CI、项目管理都能很多好地进行,如果没有什么特殊要求,个人建议还是尝试一下这种方式,会有不少便捷。

 
在IDEA 9下开发Gaelyk
2010-01-06

Gaelyk是一个轻量级的开发Google App Engine的Groovy开发包,如果你打算开发基于Google App Engine,你可以考虑使用Groovy和Gaelyk。本文就介绍如何在IDEA 9下开发Gaelyk应用。本文所使用到得IDEA是指IDEA 9.0 旗舰版,而不是社区版。当然我们首先肯定你已经安装好Google App Engine。
1 首先我们要下载Gaelyk的项目模板,你可以访问 http://gaelyk.appspot.com/download/ 下载,当前版本为0.3.2。下载后请执行解压。
2 打开IDEA,基于解压的目录创建一个新的项目,只需要创建普通的Java Module。
3 项目创建完毕后,我们需要设置项目的classpath,也就是dependencies。这里我们分别创建GAE,Groovy和Gaelyk,这些jar包都在war/WEB-INF/lib下,最后我们再添加一个servlet的jar,主要是方便我们编写gtpl文件。
gaelyk_dependencies.png
4 接下来我们先进行一些设置,然后再进行项目设置。首先添加Google App Engine Server,打开设置面板,然后选择“Application Servers“,然后添加GAE Server即可。然后打开"File Types”选项,选择“Groovy Service Pages”,将"*.gtpl"添加为其类型,这样我们就可以再IDEA下以GSP来编辑gtpl文件啦。
5 接下来我们要为项目设置web facet。打开module,然后添加web facet,请设置正确的路径信息。接下来我们还需要在web facet下添加Google App Engine Server,如下图
gaelyk_webfacet.png
6 由于我们要在IDEA下直接运行Google App Engine Server,所以我们需要设置项目的artifacts,在"project structure"面板中选择artifacts,然后进行下图设置。
gaelyk_artifacets.png
7 接下来我们要在IDEA中启动Google App Engine Server。点击“tool”菜单下的“edit configurations”,然后创建一个Google App Engine Server的运行配置,如下图:
gaelyk_server.png
8 接下就是运行GAE Server,运行后你会看到Gaelyk标准的欢迎页面。
9 回到Google App Engine Web管理页面(http://appengine.google.com) ,创建一个新的项目,如gaelyk-xxx,创建完毕后,会到IDEA中,打开appengine-web.xml,输入app id。
10 上传Gaelyk应用。点击“tools”菜单下的“Upload App Engine Application”,如果第一次上传,会提示你输入email和密码,这样就完成了Google App Engine应用的部署。

总结:本文只是讲述了如何在IDEA 9进行Gaelyk的应用整合,还没有涉及到IDEA的强大的Groovy编辑功能,GSP的编辑功能等,还有就是Gaelyk的各种特性,相信环境搭建完毕后,你能很快进行应用开发啦。

 
IntelliJ IDEA 9.0 Released
2009-12-09

What's New in Version 9

This release delivers many major updates to IntelliJ IDEA including better performance, support for Java EE 6 and other new frameworks, lots of productivity improvements in the editor, a more streamlined user interface and much more.

   

Please visit http://www.jetbrains.com/idea/whatsnew/index.html for detail!

 
TeamCity 5.0 Released!
2009-12-04

The wait is over, ladies and gentlemen! The release build is baked, tested, and put on the shelf. Tastes good, so go and grab it now!

Let us write down a short summary of what was accomplished since the TeamCity 4.5 release.

First of all, here’s the list of most noteworthy features:

  • Support for Amazon EC2: Take advantage of cloud computing with TeamCity by putting build agents on Amazon EC2 cloud with on-demand image starting and on-idle stopping.
  • Issue tracker integration with JetBrains YouTrack, JIRA and Bugzilla - out of the box, plus an API for the integration plugins for other systems.
  • Maven support improvements, including simplified build configuration creation from POM file, and build triggering on Maven artifacts change.
  • Build configuration templates for eliminating redundancy in build configurations settings.
  • Project archiving for putting no-longer-active projects out of sight.
  • Command line tool for running Personal builds on server without IDE integration.
  • Backup & Restore were added to simplify TeamCity maintenance. Also, migration tool was re-implemented.

Other improvements:

  • Now you can view the status of a change across all build configurations on a single page.
  • Failure responsibility feature has been advanced to cover not only builds, but also individual test failures.
  • Various actions performed by TeamCity users are now stored in the Audit log, which can be browsed from the web UI.
  • Code coverage analysis has been significantly improved for both Java (based on IntelliJ IDEA coverage engine) and .NET (support for NCover and PartCover).
  • And many more

New and improved integrations:

  • Git & Mercurial support are now bundled with TeamCity.
  • Remote Run now works for Git from IntelliJ IDEA & Eclipse.
  • New support for Cucumber, Shoulda, Test-Spec in Rake runner.
  • TeamCity IntelliJ IDEA plugin now works with IntelliJ IDEA Community Edition and RubyMine 2.0.

Of course, this is not an exhaustive list, so check What’s New to get a full overview of new features and improvements.

As always, TeamCity 5.0 Professional is available for FREE for all small- and middle-sized development teams and can be downloaded at http://www.jetbrains.com/teamcity/download.

TeamCity 5.0 Enterprise is available for a 60-day free trial download at http://www.jetbrains.com/teamcity/download.

New customers can purchase TeamCity 5.0 online at http://www.jetbrains.com/teamcity/buy/.

Existing customers can upgrade to version 5.0 after purchasing a 1-year subscription for software updates at http://www.jetbrains.com/teamcity/buy/.

TeamCity licenses bought after October 1, 2009, receive a 1-year subscription for software updates for free, and therefore will work fine with TeamCity version 5.0. If you have such licenses, you will soon receive an e-mail with the new keys and certificates.

 
<< 第一页 < 上一页 1 2 3 4 5 6 7 8 9 10 下一页 > 最后一页 >>

第 1 - 5 共 57