sitepoint.com sitepoint.com

Should You Close PHP Tags? The Debate Continues...

I was amazed at the response to my recent article, Should You Close Your PHP Code Tags? I didn’t think it would be controversial or cause so much debate among developers! To recap, closing PHP tags (?>) are entirely optional if you’re coding a PHP-only file and there’s no intermingled HTML. Files containing single class definitions are good candidates. Omitting the closing tag has another benefit: it becomes...

langexplr

Using C#'s implicit type conversions from other .NET languages

One interesting C# feature is the ability to define a method that implements implicit conversion from one type to another. In this post I'm going to show how to use this feature from IronPython, F#, VB.NET and IronRuby.ExampleIn order to illustrate the implicit conversion feature we're going to use the following classes:namespace Langexplr.Experiments{ public class Complex { public double Real { get; set; } public...

devseed

IBM Drupal Users Group Discussion on Managing and Deploying Configuration

By: Jeff MiccolisYesterday I presented to the IBM Drupal Users Group (IDUG) on improving configuration management in Drupal using the Features module. The goal of my talk was to expose people to the process and concepts involved in using Features and exportables to manage configuration, and to review other related and helpful tools like Ctools, Strongarm, and Context, Feature servers, and Drush make. I am posting my slides here for...