Sorting items in a database using SQL is easy, simply order by whatever field you want that supports sorting, its easy to take that power for granted. But what if you already have your data in the form of a generic object collection which you want to sort. It turns out to be quite simple, all you need to do is create a collection of System.Collections.Generic.List and call the Sort() method.
You want to connect to a remote Mac OSX computer and you don't have Apple Remote Desktop. Mac OSX Leopard comes with a built-in screen sharing application that allows you to connect to another Mac. It is in fact a VNC client, so if you are familiar with VNC you may already have a preferred VNC client application as there are a few to choose from.
Its been quite some time since I looked at a PHP script, the first dynamic website I built was PHP and PostgresSQL and for sometime it was PHP all the way. But sometimes project requirements dictate a certain language, so later I worked with Allaire Coldfusion, ASP and ASP.NET. I used two debugging techniques for PHP. The first method is turning on error reporting which is an after the fact method of determining the problem. It can sometimes be difficult to determine the cause of the problem, as error messages often tell you exactly what is wrong not the cause. The second method employed is printing out variables at points in my scripts to narrow down the point at where the error is occurring. I thought it would be a good time to look at some of the developments in debugging PHP. Unless you write your code perfectly first time off debugging is an important part of developing any sort of software.
I upgraded some projects to Visual Studio 2008, in the project I was using a WSE 3.0 web service. The project compiled fine but I found when I updated the web service I was using the proxy class that was generated did not work. The proxy class inherited from System.Web.Services.Protocols.SoapHttpClientProtocol instead of Microsoft.Web.Services3.WebServicesClientProtocol. This was quite a problem I didn't fancy having to manually recreate it each time wanted to update the WSE 3.0 web service.
Recently I got a new MacBook Pro, previously I used Windows Vista, so coming from Vista to Mac has been a bit of a learning curve. I often look for the features common to the PC and can't find them on the Mac. They are there usually there but usually I'm looking in the wrong spot.
SWFObject.NET is a C# ASP.NET server control that wraps the functionality of the SWFObject 2.2 JavaScript library. The 1.1.1 release includes a bug fix for the incorrect the embedded 'Get Flash Image' URL.
SWFObject.NET 1.1 has been released. SWFObject.NET is a C# ASP.NET server control that wraps the functionality of the SWFObject 2.2 JavaScript library. SWFObject works great to avoid the ‘click to activate’ problems that affected IE6, IE7 and Opera 9+.
Implementing keyboard shortcuts can greatly improve the user interface of your web application. Interface navigation is a good place to start, for example if you are viewing a slide show of photos you may expect to be able to navigate through the photos using the left and right arrow keys on you keyboard. For an application that has a popup dialog very common functionality is the ablity to push the escape key to cancel the dialog and close it.