CodeBetter.Com
CodeBetter.Com
RSS 2.0 via Feedburner
           Do you Twitter? Follow us @CodeBetter

Paul Laudeman

Helping You to Make "Smart Clients" Smarter!

August 2003 - Posts

  • New web services to provide integration with Microsoft.com

    Sam Gentile shares news about Microsoft's new web service offerings[1] and SDK's to use for integration. It looks like we'll be able to integrate and query Microsoft's vast repositories of information at some point, but for now we're limited to information about the top downloads. Cool!

    [1] http://msdn.microsoft.com/webservices/building/livewebservices/mscomservices/default.aspx

  • "TheServerSide homepage redone in ASP.NET in Borland Janeva Demo"

    The Middleware Company is working on an Interoperability Case Study designed to demonstrate seamless interoperability between the .NET Framework and the J2EE platform. As part of the casestudy, a live ASP.NET copy of TheServerSide's (TSS) homepage was created that talks seamlessly to TSS' existing EJB backend using Borland's Janeva interoperability solution.

    Borland's Janeva supports high performance and transparent interoperability between .NET and J2EE/Corba. Janeva generates .NET specific stubs to transparently access J2EE and CORBA servers over standard IIOP, allowing it to talk to any J2EE appserver (since IIOP is the standard transport for J2EE servers).”

    For more information:
    http://www.theserverside.com/home/thread.jsp?thread_id=21193

  • DataSet data column expressions

    Q: I have a dataset of users. How do I combine these fields to get the full name in order to bind it to a dropdownlist?

    DataSets are a very powerful container for data in .NET. One of the many strengths of the DataSet is the ability to create expression based columns. For example, to answer the question posed to me below, you could set the “Expression“ property as follows:

    DataColumn fullNameColumn =

    new DataColumn("FullName");
    fullNameColumn.Expression = "FirstName + ' ' + LastName";
    this.userList.Users.Columns.Add(fullNameColumn);

    // now set the databindings for your combobox

    this
    .comboBox1.DataSource = this.userList.Users;
    this
    .comboBox1.DisplayMember = "FullName";
    this.comboBox1.ValueMember = "UserID";

    When would you want to use a data column expression?

    • When you don't have control over the data coming back from the database
    • When you want to create custom expressions like the one above to manipulate your data
    • When you want to perform calculations on the data in your datatable

    Caveats:

    • The data expression is read-only. If you attempt to set the value of the column a runtime error will be thrown.

    For more information:

  • Early Adopter reports from the field

    Software Development Times has an article entitled “.NET's 18,000-Mile Checkup“ [1] which surveys a variety of early adopters of .NET technologies about their experiences with the platform. The article highlights the four key themes that have emerged:

    First, in .NET, developers are no longer defined by the languages they use. While a C++ developer is widely considered more skilled than a Visual Basic programmer, .NET levels the playing field, positioning C# and VB.NET programmers in the same league.

    While all languages have been created as more or less equal, this isn't entirely true in day to day use. For example, from my experience C# was clearly the language of choice for the .NET designers to build the platform and the IDE tools. Visual Basic .NET has a number of annoying compiler bugs and language oddities that, if Microsoft really spent a lot of time writing the same code in VB.NET these obvious problems would have been spotted and fixed before the product was shipped.

    It's also true that most of the early adopters of the platform, myself included, eschewed VB.NET in favor of C# to because it was the new kid on the block and to possibly avoid the “Visual Basic programmer” stigma. This, too, was certainly one of the reasons that these bugs were not caught earlier in time to fix them before RTM.

    But, glitches aside, the two languages are very nearly identical in every respect. Short of XML comments in VB.NET, I'd even venture to say that it is easier in a lot of cases to rapidly develop .NET applications with the great support for intellisense and incremental compiling within the IDE. But, at the end of the day, I still prefer the terseness of the C# syntax over the wordiness of basic.

    It will be interesting to see a few years from now where Visual Basic stands in the grand scheme of things. My bet is that Microsoft is going to continue to support the language only in so far as much as they can intoxicate new programmers to the ease of development on the platform. Whether VB, like J# and others will continue to be a marketing “gimmick“ will largely be determined by the adoption rate of .NET platform developers.

    Second, as .NET developers write less code and spend more time “uncovering” components in the framework and mapping those components to business processes, the role of the application developer is changing.

    This is certainly true, and I for one think it is long overdue. One of my favorite quotes from people who have recognized the contributions of others coming before them said that their success was due in part to “standing on the shoulders of giants”. If we as a developer community can adopt the mindset of building and then later reusing component based software I think we can make significant strides in application development. I think we’ll be significantly further down the road to meeting our business goals if we can focus on the application logic itself rather than worrying about the plumbing that supports the platform.

    Does this require also a fundamental shift in the mindset of corporate America, too? If we take a page from the history of *nix systems and open source efforts in general, I think we’ll see that the greatest of accomplishments come from thousands of people working together towards a single goal and iteratively improving on the software over time. Not every one of us should ever have to reinvent the wheel time and time again. It’s important to look to the future instead and say to ourselves it’s really OK if we aren’t responsible for every little thing. I strongly believe the key to success is “standing on the shoulders of giants”.

    Third, integrating .NET applications with others that run in non-Microsoft environments remains a complex undertaking. .NET enables you to do that through XML Web services. So does Java. And while Java lacks a branding strategy comparable to .NET’s, it is alive and well.

    Now this is where things get tricky. I think we're all agreed that, at the heart of things, it's really not about the language, or the platform. It's about getting things done. Quickly. Productively. In a way that opens your systems in meaningful ways to other systems within your enterprise or to your business partners. Whoever is first in really making this happen has a good chance to win. But first, of course, is no guarantee of success (even Microsoft dismissed the Internet at one point), but whoever does it *right* is going to be king.

    To do it right, Microsoft is going to have to be on the bleeding edge of technology, adopt open standards where it makes sense (and this is really at odds with being on the bleeding edge of anything, unless the standards are yours), have outstanding training materials and resources available, and have easy to use and powerful tools to make it happen. This sounds like Microsoft to me -- all of these qualities go a long way toward explaining why they are as successful as they are today.

    Fourth, .NET is still a work in progress. Some aspects of the framework—particularly servers based on previous-generation Microsoft technologies—are not yet fully “.NET-enabled.”

    Certainly, the overall success of the .NET platform strategy for Microsoft will be in pulling together and integrating all the platform services in a common way and building server products to take advantage of this new platform. .NET may be the technology of today to help make this happen, but the overall vision for the Windows platform will be achieved by developing this common infrastructure and making it accessible in an easy way to programmers of all pedigrees.

    I predict that the next wave of development efforts will be to this end. The use of .NET technologies for integrating disparate systems within the enterprise has only proved marginally successful or appealing for a number of reasons. As businesses seek ways to maximize the value of existing investments more and more effort will be spent on enabling applications to interoperate with one another to exchange information and move away from silos of information.

    I’m very fascinated and excited by what this potential means for the future. Most enterprise organizations have business data in so many different systems that most would be hard pressed to given an account of what data lives where. The majority of business “applications” are those that are based on Microsoft Office tools such as Excel or Access and store information only locally to each application. I see a lot of work to be done to bring all this information together, in real-time, to business users to empower them to make decisions at an instant. Now that truly is 1o degree of separation, business at the speed of thought, etc. etc. (it's getting there!).

    [1] .NET's 18,000-Mile Checkup: Early adopters find surprising results from developing on Microsoft framework

  • RE: Oh Business Value, where art thou?

    The business value in having your employees blog is that the more they participate in the development community, the more likely you as an employer will reap the benefits from it. Specifically, if your developers are actively participating in the community, chances are they are more likely to be exposed to a variety of techniques, perspectives, and opinions beyond those in your own company. Likewisem they will be able to share their experiences, good and bad, for the benefit of others.

    Does this provide add a measurable value to your business? I would say that would be hard to determine. But, as your employees represent your company to the developer community, it can be a double-edged sword depending on the topics discussed. If your developers are making intelligent posts  about technologies they know well, it can definitely go a long way to associating your company name with those who are in the "know".

    Oh Business Value, where art thou?

    I can see why a software vendor, such as Microsoft, would want to blog about their products. In the end it helps to sell the software. Yes I know there are other reasons like it raises awareness, puts a human face on the product, etc. But in the end these just make someone more likely to go out and buy the bits.

    But I work for a small IT consulting firm. We sell consulting, not software. So what kind of payback does blogging bring? The business people that hire us do not read technical blogs. Blogging might raise awareness among developers, but developers are never keen to bring in someone that might make them look bad.

    Any thoughts on whether blogging could bring business value to a consulting firm? If so, how? If not, why not?

  • The future of Microsoft Visual SourceSafe

    Korby Parnell of Microsoft comments on the future “roadmap” of Visual SourceSafe. I for one am definitely looking forward to what this future will bring to the development community. Many smaller IT shops make regular use of SourceSafe but find it lacking in terms of stability, reliability, and overall performance. Hopefully one of the features that will be included will be support for interacting with the SourceSafe database over HTTP ala. SourceGear's competing Vault product. While other products such as Vault have gone a long way to address the holes that SourceSafe has left unfilled, I think this is a very big news for developers who work for shops where what you get in a product buundle is all you can expect to get.

    While I was participating in the Visual Studio .NET Early Adopters program I had the oppotunity to meet with several of the developers from the SourceSafe team. What they outlined at that time sounded very promising (sorry, can't spill the beans) and it's great to hear that the team is starting to show signs of progress towards that end.

    Sign me up!

More Posts

Our Sponsors