June 29, 2004 CodeGuru Update Newsletter

==========================================================


CodeGuru Newsletter
June 29, 2004
http://www.CodeGuru.com


This newsletter is part of the Developer.com, EarthWeb, and
internet.com networks.
Jupitermedia Corporation


___________________________ Sponsors
________________________________
BEA
_____________________________________________________________________


==========================================================
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 –


         … New
Editions of Visual C++, Visual C#, VB, and
more.
         … MSDE Replaced!

         … Visual Studio 2005 Beta
Release Announced.



–> New Articles on CodeGuru:


==> Algorithms
– A Compressed Bitset Class
==> C++

Developing Nokia Series 60 Applications
==> Hashing
– Comparing Large
Bodies of Text with Hash Codes
==> Internet
– [Updated] A C# FTP
Server
==> Misc.
– Drinking Hemlock, or, Why Instant Gratification Is
at Odds with Software Quality
– Go Virtual with Your Development
==>
Mobile Development
– Exploring RapiDemo Initializations
==>
PocketPC
– Mobile/PocketPC Development Jump Start
==> Remoting

Wrapping MFC Objects For Use With .NET Remoting
==> Rich Edit Control /
Database
– Saving Rich Edit Control Text to SQL Server (C#)
==>
System
– Inside the Executable (VB)



–> Discussion Groups


–> Highlighted new articles on Developer.com


      1. Introduction to Role-Based Security in
.NET
      2. Developing to the Java Portlet
Specification
      3. Automated Unit Testing
Frameworks
      4. TOGAF: Establishing Itself As
the Definitive Method for Building Enterprise Architectures in the Commercial
World


/——————————————————————-
WebLogic
Workshop 8.1 vs. Microsoft Visual Studio.NET 2003
How does BEA WebLogic
Workshop compare to Visual Studio.NET
in terms of developer productivity and
learning curve?
Download this white paper from IDesign, Inc., and find out

for yourself. Click Here.


http://nl.internet.com/ct.html?rtr=on&s=1,zel,1,hqtl,i1nv,jorm,i5r0
————————————————————–adv.-/


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


Next week is the Independence Day holiday in the United States. While this
holiday traditionally ends with lots of bangs in the  form of fireworks,
today the bangs are coming from Amsterdam  where Microsoft has made a
number of announcements.


… New Editions of Visual C++, Visual C#, VB, and more.


Microsoft announced a number of new development products today. These
include:


– Visual Web Developer 2005 Express Edition
– Visual Basic 2005 Express
Edition
– Visual C# 2005 Express Edition
– Visual J# 2005 Express
Edition
– Visual C++ 2005 Express Edition


Microsoft described these as “lightweight” software development  tools.
In talking with the product managers last month, they told me that these were
being aimed at the ‘non traditional’ people doing programmers. These are aimed
at hobbyists, students, and non-developers who are writing programs. As
such, there is an expectation that these people don’t need the advanced features
and don’t need the extra clutter that traditional programmers do need. When you
look at these tools, you will see that they are simplified versions of Visual
Studio. Many of the menu items, dialogs, and settings that are in the standard
Visual Studio product won’t be found in these products.


These tools are also more focused towards platforms. The Visual Web
Development Express Edition can be used for creating ASP 2.0 applications using
C#, VB, or J#. The other four tools are focused on Windows development and thus
don’t do ASP. All of the tools use the 2.0 version of the .NET Framework. For
more information, you can check out my overview article that will be posted to
CodeGuru today. I’ll also be posting a second article that is a very basic
overview of what it took to install and create an application with the Visual C#
Express Edition beta.


In addition to announcing these products, Microsoft is also releasing betas.
You can get to them from links on the following page:


http://nl.internet.com/ct.html?rtr=on&s=1,zel,1,8xjk,2py,jorm,i5r0


Be aware: These are betas. I asked about issues installing these with
previous versions of Visual Studio (2002 and 2003). It was indicated to me that
you may not want to do that. As with any beta products, use them at your own
risk! On the positive side, one of the features of these products is that they
are small and thus relatively easy to download.



… MSDE Replaced!


In addition to the Express development products, Microsoft also released a
beta for SQL Server Express Edition. This is a low-end version of SQL Server
that can be used for small scale systems and such. This version of SQL Server
replaces the Microsoft SQL Server Desktop Engine (MSDE) that was previously made
available to developers. Like MSDE, SQL Server Express Edition will be free for
use and redistribution.


http://nl.internet.com/ct.html?rtr=on&s=1,zel,1,e2qa,smt,jorm,i5r0


… Visual Studio 2005 Beta Release Announced.


What should be of more interest to you as a developer is the announcement
regarding beta 1 for the Visual Studio 2005 product. The beta includes some of
the components of Visual Studio Team System. See my article on Team System at


http://nl.internet.com/ct.html?rtr=on&s=1,zel,1,e9x2,fffk,jorm,i5r0


The beta will be available for download at:


http://nl.internet.com/ct.html?rtr=on&s=1,zel,1,eexq,kja6,jorm,i5r0


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:


http://www.codeguru.com/review-guidelines.php


–> Threat Modeling
By Frank Swiderski and Window
Snyder for Microsoft Press
920 pages $34.99
http://books.internet.com/books/0735619913

Threat Modeling is a structured approach for identifying, evaluating, and
mitigating risks to system security.


=========================================================
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://nl.internet.com/ct.html?rtr=on&s=1,zel,1,fka1,909i,jorm,i5r0
 


This week’s posted CodeGuru articles:


==> Algorithms


– A Compressed Bitset Class
By jema
If you are using the STL bitset
class with large bitsets  that spend most their time in the sparse or
mostly populated  range, this class may be the answer to what you need.



http://nl.internet.com/ct.html?rtr=on&s=1,zel,1,4z8j,kj4v,jorm,i5r0


==> C++


– Developing Nokia Series 60 Applications
By Posted by CodeGuru
Learn
the essentials of building, deploying, and running a Nokia Series 60 project
using C++ on the Symbian OS.



http://nl.internet.com/ct.html?rtr=on&s=1,zel,1,9yht,26vo,jorm,i5r0


==> Hashing


– Comparing Large Bodies of Text with Hash Codes
By Tom Archer –
While
most people think of hash codes in relation to cryptography, Tom Archer
illustrates how they can be used to quickly and easily compare text values of
virtually any size.



http://nl.internet.com/ct.html?rtr=on&s=1,zel,1,5ike,3zqh,jorm,i5r0


==> Internet


– [Updated] A C# FTP Server
By darwen
An example FTP server written in
C#.



http://nl.internet.com/ct.html?rtr=on&s=1,zel,1,i1bd,fswo,jorm,i5r0


==> Misc.


– Drinking Hemlock, or, Why Instant Gratification Is at Odds with Software
Quality
By Paul Kimmel
Paul Kimmel says the software industry frequently
chooses instant gratification over sound software design. He explains why this
compulsion exists and how it causes a huge percentage of software projects to
fail.



http://nl.internet.com/ct.html?rtr=on&s=1,zel,1,6udu,ehjg,jorm,i5r0


– Go Virtual with Your Development
By Klaus Salchner
Learn you can use
Microsoft Virtual PC 2004 and Microsoft Virtual Server 2005 to reduce
complexities and costs from your development and test cycles. This article shows
how you can run multiple virtual machines on your physical machine, whether on
your desktop or on your server.



http://nl.internet.com/ct.html?rtr=on&s=1,zel,1,9mks,b77z,jorm,i5r0


==> Mobile Development


– Exploring RapiDemo Initializations
By Nancy Nicolaisen
See how to
work with Property Sheet controls to give your  mobile applications the
ability to do paging with dialogs..



http://nl.internet.com/ct.html?rtr=on&s=1,zel,1,7i3j,er0c,jorm,i5r0


==> PocketPC


– Mobile/PocketPC Development Jump Start
By Bradley Jones
Learn to
start developing for the PocketPC and other mobile devices using Visual Studio
.NET 2003.



http://nl.internet.com/ct.html?rtr=on&s=1,zel,1,6xrf,k0lp,jorm,i5r0


==> Remoting
– Wrapping MFC Objects For Use With .NET Remoting
By
Tom Archer
One drawback to using remoting in a mixed — MFC/.NET —
environment is that MFC objects cannot be remoted. Explore this technique for
overcoming this limitation.



http://nl.internet.com/ct.html?rtr=on&s=1,zel,1,f856,clda,jorm,i5r0


==> Rich Edit Control / Database


– Saving Rich Edit Control Text to SQL Server (C#)
By Tom Archer

Allowing users to enter formatted text is a great addition to any user
interface. In this article, Tom Archer shows you how to save the user’s
formatted text to a SQL Server database.



http://nl.internet.com/ct.html?rtr=on&s=1,zel,1,lj5s,art3,jorm,i5r0


==> System


– Inside the Executable (VB)
By Clearcode
Learn how the internal
structure of an executable or DLL is laid out.



http://nl.internet.com/ct.html?rtr=on&s=1,zel,1,a9y7,4mz0,jorm,i5r0


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


Check out the CodeGuru discussion forums at:


http://nl.internet.com/ct.html?rtr=on&s=1,zel,1,bcr8,cx5j,jorm,i5r0


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 toDeveloper.com
(http://www.developer.com).


1.     Introduction to Role-Based Security in
.NET
          By Klaus
Salchner
        Learn how role-based
security in .NET works. The sample code shows how to implement a database-driven
security model for enterprise applications.



        http://nl.internet.com/ct.html?rtr=on&s=1,zel,1,9117,c0i4,jorm,i5r0 


2.    Developing to the Java Portlet
Specification
         
By Michael Klaene – 
        Learn
how to develop a simple portlet that adheres to the specification.



        http://nl.internet.com/ct.html?rtr=on&s=1,zel,1,9i4a,gzir,jorm,i5r0


3.     Automated Unit Testing
Frameworks
          By
Yasser EL-Manzalawy –
        Employ unit
tests to get robust code quickly.



        http://nl.internet.com/ct.html?rtr=on&s=1,zel,1,83ra,7njm,jorm,i5r0


4.    TOGAF: Establishing Itself As the Definitive
Method for Building Enterprise Architectures in the Commercial
World
          By
David Harrison and Lou Varveris –
       
See why The Open Group Architecture Framework (TOGAF) is quickly emerging as one
of the most widely accepted methods for developing enterprise architecture.



        http://nl.internet.com/ct.html?rtr=on&s=1,zel,1,1172,g58v,jorm,i5r0


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Advertising:
If you are interested in advertising in our newsletters, call
Claudia at
1-203-662-2863

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
For
information about advertising opportunities, visit our media kit
http://www.internet.com/mediakit/salescontacts.html
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

For details on becoming a Commerce Partner, contact David Arganbright
on
1-203-662-2858

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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

Must Read