November 22, 2009

The web and the evil microsoft spider

Microsoft is being such a spoilt sport in getting its products into the market that it really irritates me. Initially I was so excited with silverlight that I thought I should learn it. Once I stepped into the lapping waters of silverlight, I realized how badly you need to depend ONLY on microsoft technologies to take a swim to the deep end. Here's why:

XPath is almost a W3C standard. Its almost necessary for all programs to have an XPath parser. Microsoft can be so uptight in packaging silverlight that they left XPath out and have only provided support for LINQ to XML.

Im going to learn more on LINQ to XML and write a post on how to actually use it.

August 27, 2009

Silverlight Error - The specified valued cannot be assigned to the collection. The following type was expected UIElement

I got this error when I was fiddling around with the XAML in Expression Blend.

Fix: Check the XAML tags. If a closing tag is missing or there is a parse error with the XML syntax, this error could arise.

June 24, 2009

XML Transformer

This is my post about XML transformer. A PEAR extension that could work just great (apparently) in creating custom PHP tags. Here in this post I'll discuss my greviances in trying to deploy this.

Firstly, I wanted to install this. There was a catch here. I didn't want to do a normal PEAR installation, because it looked rather cumbersome and I wasn't in a mood to try out all the commands. So I copied the files and placed it in a new folder called XML. (This is only for XML_Transfermer though). The heirarchy was something like:

XML
- transformer.php
- util.php
/ transformer
/ and all other XML folders.

Now all I had to do was:

set_include_path('.'.PATH_SEPARATOR.'../'.PATH_SEPARATOR.'/AppServ/www/tmp/lib');
?>

This would set an additional include path to /lib which contained /XML. So far so god. I took nearly an hour to figure this out.

Now I was stuck with a mega huge problem of 'how the hell do I get this to work'. There is so little documentation available about XML_Transformer on the internet that its really bad. So I have decided to create a documentation of XML_transformer once I actually understand how to get it to work...

June 08, 2009

.NET and PHP

So I have experienced a lot of PHP and a lot more of .NET lately. And what do you know... they are now being packaged together by Microsoft. Those microsoft bastards are one of the best minds in the software market!

PHP is like untouchable by .NET, Ruby on rails (which is like the coolest MVC architecture by the way), JSP, CGI (grubby old technology)... none of these can shake PHP. With new CMS tools like Mambo, Joomla, WordPress, Drupal, and many many more, PHP is everybody's favorite when it comes to developing a quick and sexy sites. The new object oriented model in PHP 5.5 is just awesome.

Microsoft knowing that their .NET bomb cannot shake PHP, have decided to make it a part of the package they are shipping out with Visual Studio 2010. I think some hardcore PHP guys may not be very comfortable with this. It'll be like an Indian guy eating Upma (Uppit) with chopsticks. But for me, this is a great thing. I think they are going to include PHP hosting support with the new release of IIS. That just one server for both my areas of expertise. (Maybe expertise is a strong word... for now). No more switching between services to free my port 80.

Microsoft has actually done a good thing with this. PHP afterall is an opensource engine, and combining it with .NET would just be great. I would really look forward to a .NET CLR level code compatibility between PHP and ASP.NET someday. Or maybe that will never happen, as PHP is way too easy compared to ASP.NET with C#/VB. What the hell is J# i sometimes wonder!

Anyway... That's my update. Im really looking forward to user Visual Studio .NET with .NET 4.0. The SuperPreview is another sexed out application they are releasing. Oh by the way... all these are available as free downloads also. Microsoft is definitely going to get big. Silverlight is still a baby in a fish market.