June 1, 2004 CodeGuru Update

==========================================================
CodeGuru  Newsletter
June 1, 2004
  
http://www.CodeGuru.com

This newsletter is part of the
Developer.com, EarthWeb, and internet.com networks.
Jupitermedia Corporation
==========================================================
All newsletters are sent from the domain “internet.com.”
If configuring e-mail or Spam filter rules, please use this
domain name (not the entire “from” address, which varies).
==========================================================

TOPICS:
 
  –> Editorial –
          … .NET is Winning
          … Windows XP Service Pack 2
      
  –> New Articles on CodeGuru:

      ==> Add-Ins
        – [Updated] Multi Platform Plugin Development Made Easy!
      ==> Algorithms
        – [Updated] A Demo of an AVL Tree
        – A Random Number Generation Technique with Encryption
          and Genetic Algorithm Applications
      ==> ASP.NET
        – Uh Oh, I Can’t Create an ASP.NET Project (VB)
      ==> Communication
        – Inter-Process Communication in .NET Using Named Pipes,
          Part 1
      ==> Data / XML
        – XHTML2RTF
      ==> Edit Control
        – [Updated] Implement a Console Window Using Edit Control
      ==> General .NET
        – Distributed Application in .Net Which Way To Go?
      ==> Managed C++
        – Versioning Serialized Files with Managed C++
      ==> Mobile
        – Connecting from the Desktop: Power Tools
      ==> Multimedia
        – Sometimes You Gotta Make a Little Noise (VB.NET)
      ==> Performance
        – Performance Counters Determine Application Performance (.NET)
      ==> Serialization
        – Object Serialization Using .NET (unedited)
      ==> System
        – The K.I.S.S. approach to I/O Completion Ports
      ==> Text Buttons
        – ImageTextButton
      ==> Whidbey / Visual Studio 2005
        – Microsoft Visual Studio 2005 Team SystemNot Just For Developers!
 
  –> Discussion Groups

  –> Highlighted new articles on Developer.com

       1. Furthering the Object-Oriented Mindset
       2. Java JAXP, Writing Java Code to Emulate an XSLT Transformation
       3. Flexing for a Rich Client in Your Web Apps
       4. The Essence of OOP using Java, Nested Top-Level Classes

=========================================================
Comments from the Editor
==========================================================

Last week I attended Tech Ed in San Diego and had a great
time. It was a crazy hectic week, but there was lots to
learn and see. There were also a large number of people
to meet and talk to.

In last week’s newsletter I mentioned Visual Studio Team
System 2005. In case you missed it, I posted a brief article:

http://www.codeguru.com/Cpp/V-S/devstudio_macros/visualstudionet/article.php/c7267/

You can find some additional information on some of the
Tech Ed announcements in an article by Russell Jones on
DevX:

http://www.devx.com/opinion/Article/21217

… .NET is Winning …

I say .NET is winning; however, I’m not sure that it is
really a contest. Steve Ballmer stated that the statistics
show that over 50% of firms looking to integrate are choosing
.NET. This is based on Forrester research numbers. The numbers
actually vary based on industry with public sector and business
services showing 64-65% usage of .NET over J2EE (35-36%). Utility
companies and telecoms on the other hand, are more likely to
use J2EE (65%). Generally, however, it was found to be
unrealistic to expect companies to choose one platform for
development.

… Windows XP Service Pack 2 …

One of the other big topics at Tech Ed that I initially
didn’t pay too much attention to was the Windows XP Service
Pack 2. You might be inclined to ignore this as being “just
another service pack,” however, that could be an error. I
expect to cover more on this in the coming weeks on CodeGuru.

In short, SP2 is going to be a recompiled version of Windows
XP with a number of internals changed to help make it more
secure. These changes could result in your applications no
longer running. Let me repeat that. This service pack could —
and most likely will — cause applications to break. Granted,
they will only break if they are doing something that could
cause a security issue. This is something you’ll want to be
aware of as this service pack gets closer. Again, we will
work to post articles on CodeGuru that give you more specific
information on what is happening in this area.

… At the Box Office …

Computerized movies continued to dominate the box office over
the extended week-end. Shrek 2 continued in the number one position
with an additional $92 million. This was followed closely by another
movie that relied upon computers for its special effects, The Day
After Tomorrow ($86 million). In third was Troy with $15 million.

Until next week!

Brad

—————————
Brad Jones
www.CodeGuru.com
—————————

… Recently Published Books

For those of you keeping up by reading books. The following
are just a few of the new books that have been recently released.
If you’ve read any of these, feel free to write a review to be
posted on CodeGuru. See the submission guidelines at:
upt_http://www.codeguru.com/review-guidelines.php

–> ASP.NET 1.1 Insider Solutions
    By Homer, Kent, Sussman, & Wahlin for Sams Publishing
    580 pages for $49.99
    http://books.internet.com/books/0672326744
    Assumes you are familiar with ASP.NET. Covers topics
    such as the DataGrid control, creating reusable content
    as both user controls and server controls, page templating
    and cross page posting,  building secure apps, validating
    user input, building cross-browser support, and more.

–> .NET Compact Framework Pocket Guide
    By Wei-Meng Lee for O’Reilly
    110 pages for $9.95  
    http://books.internet.com/books/0596007574 
    This is a pocket guide (small trim) for the .NET Compact
    Framework. This seems like a crash course for mobile
    development. 

–> Developing Application Frameworks in .NET
    By Xin Chen for Apress
    380 pages for $49.99  
    http://books.internet.com/books/1590592883 

=========================================================
New & Updated Articles on CodeGuru
==========================================================

Following are short descriptions of new articles on CodeGuru.
If you are interested in submitting your own article for
inclusion on the site, then you will find guidelines located
at http://www.codeguru.com/net/submission-guidelines/.

This week’s posted CodeGuru articles:

==> Add-Ins

  – [Updated] Multi Platform Plugin Development Made Easy!
     By Andreas Loeffler –
    Learn how to develop and use multi platform plugins easily
    using the Simple Plugin Layer (SPL) Library.

    http://www.codeguru.com/Cpp/misc/misc/plug-insadd-ins/article.php/c7159/

==> Algorithms

  – [Updated] A Demo of an AVL Tree
     By Polo.G.Z –
    Learn about using an AVL Tree, including inserting, removing,
    and searching a node.

    http://www.codeguru.com/Cpp/Cpp/algorithms/general/article.php/c6347/

  – A Random Number Generation Technique with Encryption
    and Genetic Algorithm Applications
     By Andy McGovern –
    This article describes some properties of linear feedback
    shift registers and provides sample applications of their
    use in Encryption and Genetic Algorithms.

    http://www.codeguru.com/Cpp/Cpp/algorithms/general/article.php/c7181/

==> ASP.NET

  – Uh Oh, I Can’t Create an ASP.NET Project (VB)
     By Paul Kimmel –
    Having dealt with customer environments where VS.NET was
    installed without IIS, Paul Kimmel offers his notes on how
    to recover when you can’t run or create projects because
    someone forgot to install a necessary prerequisite.

    http://www.codeguru.com/columns/VB/article.php/c7277/

==> Communication

  – Inter-Process Communication in .NET Using Named Pipes,
    Part 1
     By Ivan L –
    This article explores a way of implementing Named Pipes
    based Inter-Process Communication between .NET applications.

    http://www.codeguru.com/Csharp/.NET/net_general/performance/article.php/c7259/

==> Data / XML

  – XHTML2RTF
     By Emmanuel K. –
    This article describes a conversion tool which takes an
    HTML document as input and generates a Microsoft Word
    document for printing.

    http://www.codeguru.com/Cpp/I-N/internet/xml/article.php/c7237/

==> Edit Control

  – [Updated] Implement a Console Window Using Edit Control
     By Shallyee Shang –
    If you are writing a telnet-like application that needs a
    console window, try this simple solution.

    http://www.codeguru.com/Cpp/controls/editctrl/maskededitcontrols/article.php/c6337/

==> General .NET

  – Distributed Application in .Net Which Way To Go?
     By sndshreeman –
    Explore the distributed architecture in .Net and the
    general concept behind this architecture.

    http://www.codeguru.com/vb/vb_internet/webservices/article.php/c7205/

==> Managed C++

  – Versioning Serialized Files with Managed C++
     By Tom Archer –
    Learn about a step-by-step technique for versioning your
    serialized files so that your application can handle
    current and older file formats, as well as properly deal
    with situations where the application is older than the
    file format being read.

    http://www.codeguru.com/Csharp/.NET/cpp_managed/windowsservices/article.php/c7293/

==> Misc.

  – Flexing for a Rich Client in Your Web Apps (non-Microsoft)
     By Bradley Jones –
    Rich clients are the next hot battleground, and the battle
    is starting to heat up! Macromedia Flex provides a new,
    slick way to build sharp looking rich web clients with
    lots of bells and whistles.

    http://www.codeguru.com/Cpp/I-N/internet/generalinternet/article.php/c7291/

==> Mobile

  – Connecting from the Desktop: Power Tools
     By Nancy Nicolaisen –
    Enlarge and enrich your applications through the advantageous
    marriage of CE’s dispersed computing model and the power,
    productivity, and ubiquity of desktop Windows by using CE’s
    Remote Programming Interface (RAPI).

    http://www.codeguru.com/Cpp/W-P/ce/pocketpc/article.php/c7275/

==> Multimedia

  – Sometimes You Gotta Make a Little Noise (VB.NET)
     By Paul Kimmel –
    Learn how to create a wrapper for the Windows Multimedia
    Library that makes adding sound to your applications very
    easy. Along the way, you’ll discover how the Declare
    statement imports APIs in VB and .NET.

    http://www.codeguru.com/columns/VB/article.php/c7323/

==> Performance

  – Performance Counters Determine Application Performance (.NET)
     By Mark Strawmyer –
    Determine the overall performance of your applications and
    diagnose those pesky “undocumented features” with performance
    counters. Learn the basics of deploying and using features in
    your instrumentation.

    http://www.codeguru.com/columns/DotNet/article.php/c7279/

==> Serialization

  – Object Serialization Using .NET (unedited)
     By Ali Sufyan –
    Explore how to utilize serialization in .Net

    http://www.codeguru.com/Csharp/Csharp/cs_syntax/serialization/article.php/c7201/

==> System

  – The K.I.S.S. approach to I/O Completion Ports
     By Robert Simpson –
    I/O completion ports are the holy grail of performance.
    This article provides an extremely lightweight and open
    framework for easily implementing IOCP’s in your application(s).

    http://www.codeguru.com/Cpp/W-P/system/threading/article.php/c7239/

==> Text Buttons

  – ImageTextButton
     By Anurag Velekkattu –
    Learn about a Owner Draw button that loads a bitmap and
    embeds text on it.

    http://www.codeguru.com/Cpp/controls/buttonctrl/bitmapbuttons/article.php/c7249/

==> Whidbey / Visual Studio 2005

  – Microsoft Visual Studio 2005 Team SystemNot Just For Developers!
     By Bradley Jones –
    Microsoft states their seriousness in the enterprise space
    with the announcement of Visual Studio 2005 Team Services.

    http://www.codeguru.com/Cpp/V-S/devstudio_macros/visualstudionet/article.php/c7267/

=========================================================
Discussion Groups
==========================================================

Check out the CodeGuru discussion forums at:

http://www.codeguru.com/forum

Forums include Visual C++, General C++, Visual Basic, Java,
General Technology, C#, ASP.NET, XML, Help Wanted, and
much, much, more!

==========================================================
New Articles on Developer.com
==========================================================

Below are some of the new articles that have been posted to
Developer.com (upt_http://www.developer.com).

1. Furthering the Object-Oriented Mindset
    By Matt Weisfeld –
   Doing things in an Object-Oriented way is more of an art
   than a science.

   http://www.developer.com/design/article.php/3359871

2. Java JAXP, Writing Java Code to Emulate an XSLT Transformation
    By Richard G. Baldwin –
   See how to write a Java program that mimics an XSLT transformation
   for converting an XML file into a text file.  Once you have a library
   of Java methods that emulate XSLT elements, it is no more difficult to
   write a Java program to transform an XML document than it is to write
   an XSL stylesheet to transform the same document.

   http://www.developer.com/java/other/article.php/3361261

3. Flexing for a Rich Client in Your Web Apps
    By Bradley L. Jones –
   Rich clients are the next hot battleground, and the battle is
   starting to heat up! Macromedia Flex provides a new, slick way
   to build sharp looking rich web clients with lots of bells and
   whistles.

   http://www.developer.com/lang/article.php/3359401

4. The Essence of OOP using Java, Nested Top-Level Classes
    By Richard G. Baldwin –
   Baldwin explains nested top-level classes, and illustrates a
   very useful polymorphic structure where nested classes extend
   the enclosing class and override methods declared in the
   enclosing class.

   http://www.developer.com/java/other/article.php/3358491

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
For information about advertising opportunities, visit our media kit
http://www.internet.com/mediakit/salescontacts.html
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To learn about other free newsletters offered by internet.com or
to change your subscription visit http://e-newsletters.internet.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
internet.com’s network of more than 160 Web sites is organized into 16 channels:

Developer http://www.internet.com/sections/webdev.html
DevX http://www.internet.com/sections/devx.html
Downloads http://www.internet.com/sections/downloads.html
EarthWeb http://www.internet.com/sections/earthweb.html
Graphics http://www.internet.com/sections/graphics.html
Interactive Marketing http://www.internet.com/sections/marketing.html
International http://www.internet.com/sections/international.html
Internet Lists http://www.internet.com/sections/lists.html
Internet News http://www.internet.com/sections/news.html
Internet Resources http://www.internet.com/sections/resources.html
IT http://www.internet.com/sections/it.html
Linux/Open Source http://www.internet.com/sections/linux.html
Small Business http://www.internet.com/sections/sb.html
Windows Technology http://www.internet.com/sections/win.html
Wireless Internet http://www.internet.com/sections/wireless.html
xSP Resources http://www.internet.com/sections/xsp.html
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Looking for a job? Filling an opening? – http://jobs.internet.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This newsletter is published by Jupitermedia Corporation
http://internet.com – The Internet & IT Network
Copyright (c) 2004 Jupitermedia Corporation. All rights reserved.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
For information on reprinting or linking to internet.com content:
http://internet.com/corporate/permissions.html
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

 

More by Author

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends & analysis

Must Read