Codeguru Update eNewsletter – October 10th, 2006

==========================================================
CodeGuru Newsletter
October 10, 2006

http://www.CodeGuru.com


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


___________________________ Sponsors
________________________________
Pegasus Imaging
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 –
–> Recently Published
Books


–> New on
CodeGuru: 
               
– Articles
        ==> Character
processing
               
– Flex Your Lexical Analysis
Muscles
        ==>
Graphics
               
– Animate an Icon on the Taskbar when the Application Is
Minimized
        ==>
RSS
               
– ASP.NET Tip: Creating an Atom XML
Feed
        ==>
Tutorials
               
– [Updated] Thunking in Win32
       
==>
WTL
               
– Windows Template Library: Still Alive and Kicking


–> Discussion Groups — HOT
Threads
        – Message Box
(VC++)
        – GrayScale In Visual Basic
6
        – Managing pointers with STL map
(C++)


–> Highlighted new articles on
Developer.com 
        1.
Writing More Testable Code with Dependency
Injection
        2. Scaffolding with
CakePHP – Managing Your Fantasy Football
Team
        3. More on Custom Ant
Tasks
        4. Objects and
Interfaces


/——————————————————————-
Build
applications for document imaging, forms processing,
medical imaging,
photo/color imaging, and video. Pegasus Imaging
offers toolkits and
applications for image capture, viewing,
editing, scanning, annotation,
printing, compression (JPEG2000,
TIFF, PDF, more), barcode, OCR, ICR, OMR,
and medical DICOM. Toolkits
are delivered as .NET, COM controls, VCLs, DLLs
and applications.
http://nl.internet.com/ct.html?rtr=on&s=1,2rrh,1,8bw5,2f74,jorm,i5r0
————————————————————–adv.-/


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


…How Many APIs Does It Take?


Last week I mentioned that Windows Vista was impending and that there were a
number of new features that were interesting. This past week, a new release
candidate was distributed (the second new semi-public build since RC1). This
build is now being reviewed could be the last before a release candidate.


What does this mean?


It means that Vista is truly coming, and coming soon.


If you’ve been developing for a few years or more, then you probably know
that it isn’t the language syntax that you have to know to be a good, fast
programmer, but rather the vast set of routines stuck away in libraries and
APIs. For example, in .NET if you know the .NET Framework classes, then you
quickly realize that Visual Basic versus C# is not that big of an issue–both
use the same class libraries with its thousands (or is that tens of thousands)
of classes, methods, and properties. It is these that you spend most of your
time learning.


So when I mention things like SuperFetch and ReadyBoost, you might be
inclined to say, “So what”. As a developer those don’t really impact what you
are doing. I would agree with that.But what might impact you are the new native
APIs that have been added to Windows with the Vista release. That might have
some impact on you as a developer. In fact, how many new APIs need to be added
before it gets your attention? A few hundred? A thousand? Fifteen hundred?


But if Vista is similar to XP, then there shouldn’t be that many changes,
thus only a few new APIs with some updates to the XP APIs. Right? If the first
statement were true, that Vista is similar to XP, then it lead to the others
would also be true.


Windows Vista is, however, a serious change and is not the same as Windows
XP. Your current applications may not run or they may cause issues that prompt
the user with User Access Control (UAC) dialogs or requests for administrative
passwords. Unlike many prior Windows releases, Vista is not just a fancier
update of the last version. It has real changes. A good indicator of this change
is the number of new APIs. According to Microsoft this have been more than 7000
new native APIs added for Windows developers in Vista.


That is some change.


Until next week…


Brad!
—————————
Bradley L.
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


–> Professional ASP.NET 2.0 SPECIAL
EDITION
      By Bill Evjen, et al. for
WROX
      1540 pages for $59.99]
hardcovered
      http://books.internet.com/books/0470042781
     
Includes a 180 day trial version of Visual Studio 2005 Professional


=========================================================
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,2rrh,1,fka1,909i,jorm,i5r0


This week’s CodeGuru posts:


=================
===== Articles =====
=================


==> Character processing


– Flex Your Lexical Analysis Muscles
   
By Victor Volkman
The Flex lexical analyzer generator enables you to
accurately act on and react to incoming character data streams in a way that is
both predictable and debuggable.



http://nl.internet.com/ct.html?rtr=on&s=1,2rrh,1,bn2x,1t53,jorm,i5r0


==> Graphics


– Animate an Icon on the Taskbar when the Application Is
Minimized
    By Kevin Choong
Learn how to loop
through an icon sequence, simulating animation, while your application is
minimized.



http://nl.internet.com/ct.html?rtr=on&s=1,2rrh,1,43zn,67k3,jorm,i5r0


==> RSS


– ASP.NET Tip: Creating an Atom XML
Feed
    By Eric Smith
Atom, the replacement for
RSS, is quickly being adopted by many blogging software makers. Learn how to
produce an Atom XML feed using a database table.



http://nl.internet.com/ct.html?rtr=on&s=1,2rrh,1,db4s,l1k8,jorm,i5r0


==> Tutorials


– [Updated] Thunking in Win32
    By
einaros
Learn about an approach to creating thunks/trampolines to non-static
member functions in 32-bit VC++.



http://nl.internet.com/ct.html?rtr=on&s=1,2rrh,1,7qig,iniw,jorm,i5r0


==> WTL


– Windows Template Library: Still Alive and
Kicking
    By Nick Wienholt
Find out what’s
become of the Windows Template Library (WTL) since Microsoft released it as an
open-source project in 2004. Examine the recent WTL releases and see where WTL
fits in the C++ programmer’s toolkit.



http://nl.internet.com/ct.html?rtr=on&s=1,2rrh,1,4b5w,1ege,jorm,i5r0


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


Check out the CodeGuru discussion forums at:


http://nl.internet.com/ct.html?rtr=on&s=1,2rrh,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!


… HOT THREADS …


Some of the current threads with the most activity are:


==> Message Box
(VC++)
        http://nl.internet.com/ct.html?rtr=on&s=1,2rrh,1,lljm,acdq,jorm,i5r0


==> GrayScale In Visual Basic
6
        http://nl.internet.com/ct.html?rtr=on&s=1,2rrh,1,d3ue,bu4t,jorm,i5r0


==> Managing pointers with STL map
(C++)
        http://nl.internet.com/ct.html?rtr=on&s=1,2rrh,1,2416,ix3c,jorm,i5r0


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


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


1. Writing More Testable Code with Dependency
Injection
    By Daniel Gartner – 

Dependency Injection is a simple design pattern that can be used to develop
more flexible, maintainable and testable code. This article details how to use
dependency injection to realize these benefits for your software projects.



http://nl.internet.com/ct.html?rtr=on&s=1,2rrh,1,gmif,d9kh,jorm,i5r0


2. Scaffolding with CakePHP – Managing Your Fantasy Football
Team
    By Jason Gilmore –
Just as with
buildings CakePHP Scaffolding is a great way of setting up the early parts of
developing a web application.



http://nl.internet.com/ct.html?rtr=on&s=1,2rrh,1,31m7,f2yu,jorm,i5r0


3. More on Custom Ant Tasks
    By Rob
Lybarger –
Sometimes, you just need a little bit more out of Ant. Work
through the steps needed to give Ant some additional capabilities.



http://nl.internet.com/ct.html?rtr=on&s=1,2rrh,1,96ku,b7xa,jorm,i5r0


4. Objects and Interfaces
    By Matt
Weisfeld –
Explore the topic of how objects relate to collections by taking
an aside to cover Interfaces. Interfaces are an extremely important concept
within Object-Oriented Programming; however, they are also very tricky to
understand.



http://nl.internet.com/ct.html?rtr=on&s=1,2rrh,1,amn9,3a19,jorm,i5r0


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

More by Author

Must Read