Web Development

CodeGear: Extending the Borland legacy to Ruby and PHP developers

If you're having trouble making the case for Ruby on Rails or PHP in your environment, take a look at CodeGear's 3rdRail and Delphi for PHP. Justin James explains why he can't wait to get his hands on evaluation copies of these products.

 

Michael Swindell

At the beginning of my interview with Michael Swindell, VP of Products at CodeGear (formerly the Developer Tools Division of Borland), I was expecting to talk about the .NET or native application tools; I got a lot more than I bargained for. We ended up primarily discussing CodeGear's two latest products: 3rdRail and Delphi for PHP.

3rdRail

3rdRail is a Ruby on Rails development tool with deep integration into the Ruby language and the Rails framework. It was released at the end of 2007 on a subscription model, which provides approximately one major update per quarter. This is a novel approach in the development tools arena.

Unlike most current Ruby tools, 3rdRail is not just a text editor with some code formatting or basic knowledge of the Ruby syntax -- it has a fully integrated debugger. Most importantly, 3rdRail is designed specifically to do things the "Rails" way, and it is completely Rails oriented. It even pre-installs a full Rails environment on the developer's machine to alleviate a common pain point.

Don't think that CodeGear is pulling the "embrace and extend" card though; other than the standard Ruby/Rails runtimes, 3rdRail imposed zero requirements on the target server. The deployment is as simple as FTP'ing the appropriate files and chmod'ing them correctly; this means it is possible to perform professional Rails development and target inexpensive hosts. An added bonus is that (unlike many other packages on the market) 3rdRail is compatible with MySQL, as well as the major enterprise databases out there.

I confess that I tried Rails development a while ago, and I could not get it working right. I didn't get into Ruby due to the tools scenario, and I know a lot of other programmers who have been holding back for the same reason. Another stumbling block is the fact that a lot of us must use Microsoft SQL Server or Oracle on the backend -- IT won't install and support MySQL just for the Contact Us page. And so on and so on.

It is an uphill battle to get Ruby on Rails in a typical enterprise environment (heck, look at how long it took PHP to break into that space). Many of the best developers I talk to are fascinated by Ruby, but issues such as tools, major vendor support, and database connectivity get in the way. We simply cannot sell Ruby to the CIO without these things. From what Michael and I discussed, 3rdRail doesn't just knock down these barriers -- it sticks 10 tons of TNT under them and lights the fuse. I hear nothing but rave reviews of Ruby from folks who use it or run shops around it. They all say things like "we did in a few months with Ruby what we knew would take 18 months in Java, despite having to train developers in Ruby." While that is impressive, most developers can't get that past the CIO's office. I think that 3rdRail is potentially game changing here.

Delphi for PHP

Don't let the name fool you -- Delphi for PHP is not an attempt to merge native applications with the PHP language (I think that would be a bad idea). The name comes from the fact that it uses a Delphi-like IDE to provide an environment for developing Web applications in PHP (don't worry, no Pascal is involved). Version 1 was released at the beginning of 2007, and Version 2 was released a few weeks ago.

The tool works in the "spirit" of PHP, but it provides a full implementation of the CodeGear VCL in PHP with deep integration to a variety of common open source packages. The beauty of this approach is that PHP developers now get a full-blown framework on par with the .NET Framework or the J2EE library but in a fully integrated and cohesive manner. The goal is to enable PHP development at the same level of tool support and integration with the libraries as ASP.NET, which is not a short order. For example, Delphi for PHP offers a profiler and a proper debugger -- two things that are invaluable for any programmer. Like 3rdRail, the code produced deploys directly to any PHP-enabled Web server with no special runtimes or libraries needing to be installed. Also like 3rdRail, Delphi for PHP is designed to work with all major enterprise databases and not just MySQL (which PHP usually favors).

I am actually excited by Delphi for PHP; this probably surprises longtime readers of this blog. I don't hate PHP -- I just think that, by and large, it lacks the things what Delphi for PHP provides, such as tools and equal footing for Microsoft SQL Server and Oracle. I see Delphi for PHP being a lever for developers who are using Java or .NET "by default" to get PHP into their environments.

Coming soon: Product reviews

I was so excited by my discussion with Michael that he asked if I would like evaluation copies of any of CodeGear's products to put through the paces. As you can imagine, I asked to look at 3rdRail and Delphi for PHP. I am really looking forward to trying 3rdRail and Delphi for PHP, and you can be sure that I will be write "Introduction to..." style reviews (and possibly something much more substantial) about both products. I also plan to take a look at the company's next generation of Delphi and C++ Builder when the products are available.

CodeGear is proving that the Borland legacy is not dead, and it is swinging for the fences.

J.Ja

Disclosure of Justin's industry affiliations: Justin James has a working arrangement with Microsoft to write an article for MSDN Magazine. He also has a contract with Spiceworks to write product buying guides.

---------------------------------------------------------------------------------------

Get weekly development tips in your inbox Keep your developer skills sharp by signing up for TechRepublic's free Web Developer newsletter, delivered each Tuesday. Automatically subscribe today!

About

Justin James is the Lead Architect for Conigent.

8 comments
jochen
jochen

From my opinion, I think Delphi should directly go into the true RIA area, either supporting Silverlight or Flex or creating their own runtime. Embacing to open source is not a good idea for generating cash flow. becoming parents(TM)? visit http://lucascom.webng.com

Justin James
Justin James

For me, the tools issue has always been holding me back from really getting into Ruby or PHP, especially since a lack of tools makes it a tough sell to management. With CodeGear/Embarcadero offering these tools, do you think that you will be taking another look at Ruby or PHP (or upgrading your current toolset)? J.Ja

gregtaylor999
gregtaylor999

I got ahold of the trial version of NuSphere's PHPed two months ago and have been very impressed with its built-in profiler, debugger, AJAX wizards, form builders, remote publishing via ssh, built-in db connection wizards for SQLLite, MSSQL, PostgreSQL, Oracle, Interbase and MySQL databases. The selling factor for me was the full built-in web browser support which you can use as output for your testing. I'm used to VS and other full blown IDE's. PHPed was just as good for the project management and debugger but had better integration with my web servers, also the online PHP manuals with contextual assistance is invaluable. Let me know if you have heard of this product? Oh yeah, price around $200 for full features.

aureolin
aureolin

I use Visual Studio at work to code in C# and use a SQL Server back end. At home for my projects I'm using eclipse with the PHP plugin and MySQL. Frankly, there's no comparison between VS and eclipse - going from one to the other is like putting on mittens before trying to assemble a watch. I like eclipse (and I love the price point!), but it's definitely not on the same level as VS. More to the point, I got into and then back out of Ruby during the early ROR days - it simply wasn't ready for prime-time - and one of the major factors in that was the total lack of capable tools. I'd love to get my hands on SOMETHING that would provide a competent IDE/toolset for Ruby and PHP! Do you have release dates and pricing? Steve G.

Justin James
Justin James

Steve - Good to know that I'm not the only one. :) Both products are currently available. 3rd Rail launched at the end of 2007, and is sold on a subscription model. The initial license price also carries with it 1 year of updates. Delphi for PHP originallly came out in early 2007, and Version 2 was released a few weeks ago; it is sold with a standard perpetual license. I don't have pricing on Delphi for PHP (it is not on their Web site either); 3rd Rail is $399. More expensive that Eclipse for sure, less expensive than Visual Studio (excluding Express editions, of course). It is about on par (pricing wise) with comparable IDEs that I've looked at, and if you are writing Ruby professionally, it is a pretty easy sell I bet. I may add, there is a free trial for both products, so you can definitely take a look at each one first to see if they justify the purchase for your needs. And of course, I will be writing abvout both products in-depth in the near future too! J.Ja

Justin James
Justin James

Well, I've got 3rd Rail installed. It's definitely based on Eclipse. I've never used Eclipse beyond a few minutes, so I can't compare it. Delphi for PHP is *definitely* not based on Eclipse. I would definitely do the trials if I were you, and see if it is un-Eclipse enough for you; I am not qualified to tell how different they are. J.Ja

aureolin
aureolin

Thanks for the info!! $399US is definitely high for me, but given my experiences with eclipse, I may be able to justify it. I'm definitely going to take the Ruby trial for a spin and see what's new. Ruby had a lot of potential and is an interesting language. Be nice to check in and see how it's grown!

vyassh
vyassh

Trial version for most of the products is a dood option to start with. It gives necessary insight in to the product - though it may not have all features enabled. It definitely enables us to evaluate whether it is going to be really useful in long run before going for investment.

Editor's Picks