Monday, September 07, 2009

Google App Engine – Can it replace Microsoft share Point?

It was fun reading the article at http://googleappengine.blogspot.com/2009/09/app-engine-sdk-125-released-for-python.html

Google app engine is now supported over windows as well. here are my observations -

1. Go to world with your web application within minuets. Could not find any Microsoft product / service in competition to this. 

2. Use Goggle’s Infrastructure to host, bandwidth and CPU time upto 5 million users per months for FREE!!!

3. Pay as you use after that.

4. Extensive integration with Eclipse and one click deployments.

5. Super cool UI with Google analytics and dashboard and I was feeling like I am in datacenter with my laptop.

6. Here is the Kicker – User JDO (Java data objects) and Google Authentication to use authenticate your users.

7. URL mapping off-course. Users wont even know that your www.xyz.com is hosted on Google servers.

I was thinking if any one can use the templated Servlet to create a team site like in sharepoint, then there is no licensing, now no more deployments and developmet and UI? is just like you any web development. On top of that you can convert the old apps as Google app engine app and host it on Google.

Is this a Google’s answer to sharepoint and Microsoft Cloud computing?

Tuesday, September 01, 2009

New Trend in Application development for IT organizations.

Just wanted to put a quick note on a great article that I came across here.

This is a poll conducted by Gilbane Group on Facebook for finding out the future of collaboration technology in near future.

This un-official  poll was for 1000 users and for different age group 18-24 and 25- 34

here are the results - gilbane_facebook_poll_6_19_07

Here is what I think -

1. People want to take the collaboration technology in their everyday business. More younger people would do this more Look at the SMS text Mode.

2. Social networking and Blogs are not very Popular – Will today’s Tons of Startups in social networking survive?

3. Future information worker will try to use new modes of IT not only as communication medium but in their everyday life and at work .

4. IT organizations should recognize this trend and seek to provide solutions with the flexibility to meet the technology demands of information workers.

Silverlight3 GridView Binding, LoadingRow events and Textblock traps

Those from ASP.NET background, moving forward to silverlight3 and playing around with Grid view my get frustrated at times. Grid view is one of the most widely used controls and we do want to change the contents of the Grid when we Bind the data. Sounds very simple but could be tricky at times.

I was developing prototype in Silverlight and Found few interesting things and thought I would share.

  1. So you bind the data to a grid, using AutoGenerate columns or not, Doesnt matter. To track the "GridView.RowDataBound" on row data bound event you create a backend event handler like this.
    grdEntries.LoadingRow += new EventHandler(grdEntries_LoadingRow);
  2. Getting event handler is tricky, here is how you get it working.  Note the 3 methods of getting the cell content in C# code. image

About this get parent function – this casts the cell to appropriate type – Note the way this function is called recursively.

The Above code may not work when you scroll the grid, for some wired reason it keeps binding the data again and again. For this, Alternative solution could be to use the individual column loaded even. Here is how you do it.

Both type of columns are shown here

<!--<data:DataGridTextColumn Binding="{Binding Date}" Header="Entry Date" Width="175"/>--> regular column which works with LoadingRow event handler

<data:DataGridTemplateColumn Header="Date" SortMemberPath="Date">
<data:DataGridTemplateColumn.CellTemplate>
<DataTemplate>
<TextBlock Loaded="TextBlock_Loaded" x:Name="txtDate" Text="{Binding Date}">
</TextBlock>
</DataTemplate>
</data:DataGridTemplateColumn.CellTemplate>
</data:DataGridTemplateColumn>

In the code behind, track the column and change the text or whatever you want to do.

void TextBlock_Loaded(object sender, EventArgs e)

     {

          TextBlock tb = sender as TextBlock;

          tb.Text = "Amol";

      }


Now why we have so many options? There are some performance reasons in data grid and it all depends which one to use whe. Typically, if you want to change data every time you bind grid, go with Loading row handler. If it static change and grid is not going to change then use the column loaded event.

Thanks