Trouble reading this message Read it online.

Oct. 22, 2009

Welcome to this week's Developer Shed newsletter. If you're looking for something new in computers, Asus has it – and eWeek has the full story. The company unveiled some great new machines powered by Intel's Atom chip, including a desktop computer contained entirely within a keyboard. That ought to save some space!

So what educational articles do we have for you this week? Readers of Dev Shed can learn about the dependency injection design pattern and how to use it in PHP 5; they also appreciated an introduction to method chaining. Microsoft technology users reading ASP Free got a treat as we took a close look at the Ribbon framework and dug more deeply into the MFC.

Website designers and developers got their fill of JavaScript this week, as Dev Articles examined some important facets of Active Client Pages and kicked off a series on a great add-on to the jQuery JavaScript Library, namely the jQuery Tooltip. If you're shopping for a computer, now is the time to read Dev Hardware; we're reviewing both desktops and laptops this week (don't forget to come back for the flat panels on Thursday!). We also told you about some technology that lets you take a wireless hot spot with you wherever you go.

SEO Chat offered tons of useful information this week. SEO professionals learned how to calculate their ROI for their online business, create a customized Google XML sitemap, and build linkable items and titles. Dev Mechanic helped new site owners by explaining why online polls work and how to add live chat to a web site.

And there's more for the web-focused. If you run a music-related web site (or know someone who does), you'll want to check out our Codewalkers piece on how to use PHP to prevent illegal downloading of MP3 files from the site. If you want to do more with your web site, click on over to Web Hosters for the long-awaited “sequel” to a much-appreciated article on setting up your site. And of course, Tutorialized and Scripts are overflowing with some of the best content created by our readers.

As always, thanks for reading. Until next week,
Developer Shed Staff

ARTICLES
Dev Shed Web Hosters
ASP Free Scripts
Dev Articles Tutorialized
Dev Hardware White Papers
SEO Chat Weird Cool
Dev Mechanic News You Can't Use
Codewalkers    
TOOLS
Get Our Content on Your Site
with DevText!
New Articles, Right To Your E-mail
Developer Search

NEW! Download a free trial of IBM WebSphere Message Broker V6.1
Download a free trial version of WebSphere Message Broker V6.1, an Enterprise Service Bus (ESB) built for universal connectivity and transformation in heterogeneous IT environments. WebSphere Message Broker distributes information and data generated by business events in real time to people, applications, and devices throughout your extended enterprise and beyond.
Learn more.

Hello World: WebSphere Service Registry and Repository
Manage, govern, and share services across your organization by using WebSphere Service Registry and Repository. Follow the hands-on exercises to learn how to navigate the Web interface to publish, find, reuse, and update services.
Learn more
.

ADVERTISEMENT
Click Here
 
  top
It's edgy! It's irreverent! It's all about technology! It's News You Can't Use,
and you won't want to miss it! View this week's edition to learn the answers to these burning questions:

  • The first ever SEO Forum, featuring Juan Valdezburg, DevShed Hulk, and Superman. Aqua Man seen crying in the corner.

    Watch the video!

   
ADVERTISEMENT
 
  top
Method Chaining in PHP 5
by Alejandro Gervasio, 2009-10-21

Method chaining is a useful technique that helps you to write more compact and powerful code. In this first part of a series that introduces you to this programming methodology, you'll learn how to define and use chainable methods in PHP 5. The process is quite simple to grasp, even if you have only an intermediate background in using the object-oriented paradigm.
Read the full article
.
The Role of Interfaces in Applying the Dependency Injection Design Pattern
by Alejandro Gervasio, 2009-10-20


Welcome to the sixth part of a series covering the dependency injection pattern. In this part, I build a PHP 5-based application that can work seamlessly with MySQL and SQLite. It will feature a simple interface and a MySQL driver.
Read the full article
.
Dependency Injection: Using a Setter Method within a Model
by Alejandro Gervasio, 2009-10-19

In this fifth part of a six-part series on the dependency injection pattern, I explore the implementation of the pattern by using a simple setter method within a model class. You'll see that this approach is very easy to follow.
Read the full article
.
Using a Model Class with the Dependency Injection Design Pattern
by Alejandro Gervasio, 2009-10-15

Welcome to the fourth part of a series on applying the dependency injection design pattern in PHP 5. Through a strong hands-on approach, this series teaches you several methodologies that you can use for taking advantage of the functionality given by this simple yet powerful design pattern. It shows you how to build classes that follow the schema imposed by the Inversion of Control software design principle.
Read the full article
.
   
  top
Color, Link and Image Editor Controls for MFC
by Gabor Bernat, 2009-10-21

An operating system has crucial building blocks, without which it cannot function. One of these is its controls. They work together to complete complex tasks and to make your work easier. This article will focus on some new controls for an old favorite.
Read the full article.
New Controls for MFC
by Gabor Bernat, 2009-10-20


Looking for information on the new controls in the MFC Feature Pack? Don't expect to find it in a book. Keep reading this article, on the other hand, and you'll find all the details you could want.
Read the full article
.
The Windows Ribbon Framework
Gabor Bernat, 2009-10-19

Throughout our history it seems as if the most revolutionary ideas just pop out of someone's head at a given moment. Then again, there are some that are obtained through deep research. The appearance of the Ribbon in the Microsoft Office environment is the result of the latter. However, inventing something does not necessarily mean instantly making it accessible to the masses. For this, another group of developers from the Redmond giant created the Ribbon Framework.
Read the full article.
Markup Language for the Ribbon Framework
Gabor Bernat, 2009-10-15

If you've started up a computer with an Office application during the past couple of years, you probably met up with the Ribbon. This ingenious visual element of the Office package revolutionized the way we perceive working with documents. In this article, we'll take a closer look at it, and even learn how to use the Ribbon Framework to suit our own programs.
Read the full article.
  top
The jQuery Tooltip Plug-in
by Alejandro Gervasio, 2009-10-21

The popular jQuery JavaScript framework is not only useful on its own; it also boasts a growing list of plug-ins that come in handy for a variety of purposes. This seven-part article series focuses on just one of those plug-ins, the jQuery Tooltip. This versatile application can give your site visitors helpful information, and make your site more dynamic.
Read the full article
.
Active Client Pages at the Server
by Chrysanthus Forcha, 2009-10-20


Active Client Pages produce web pages at the client computer using web technology. The programming analysis, logic and calculations of the data for the pages are done at the client. The data to create the pages resides on the server. So what is the role of the server? That is what this article addresses. You need basic knowledge of JavaScript and Perl to understand it.
Read the full article
.
ACP Tab Web Pages
by Chrysanthus Forcha, 2009-10-19


A tab web page is a perfect candidate for the technology of Active Client Pages (ACP). It's a web page with buttons at the top. When you click a button, all the HTML content below the line of buttons changes. It is as if each button has a page hidden in it. ACP makes loading those pages go much more quickly.
Read the full article
.
Finishing a Slide Show Application with jQuery
by Alejandro Gervasio, 2009-10-16

In the preceding article of this series, I demonstrated how to take advantage of the jQuery JavaScript library's functionality to develop a simple slide show, which used the Ajax module bundled with jQuery as its driving engine. In this part, we'll finish the application.
Read the full article
.
Scope of Variables and Arguments in Nested JavaScript Functions
by Chrysanthus Forcha, 2009-10-15

In this part of the series we shall look at the scope of variables and arguments in nested functions. We shall see whether the outer function can use the variables and arguments of the inner functions and vice versa. We shall also see how many levels downward or upward this can be done.
Read the full article
.
 
  top
Desktops: Dell Studio XPS 435, Acer Aspire M5800-U5802A
by wubayou, 2009-10-21

Buying a desktop doesn't necessarily mean buying the latest and greatest; it all depends on the needs of the user. In this two-part review we will explore the features, performance, and design of three desktops that fill different user needs: the Dell Studio XPS 435, the Acer Aspire M5800-U5802A, and the eMachines EZ1601-01.
Read the full article
.

What Can MiFi Do For You?
by KC Morgan, 2009-10-20

The Internet, as we know it, is about to change. That's right - you can forget WiFi. Novatel is hoping that the MiFi will soon be the wireless Internet connection of choice. What is it, and what can it do for you? Keep reading.
Read the full article
.

Acer Aspire 1410
by jkabaseball, 2009-10-19


If you like to compute on the go but hate the hassle of taking along a full-fledged laptop, you might want to consider a netbook. These little machines were built to handle the basics without weighing you down. Today we'll look at a relatively new entrant to this market, the Acer Aspire 1410.
Read the full article.
The Beatles: Rock Band for Xbox 360
by wubayou, 2009-10-16

The Beatles are one of the most famous music groups ever assembled. With that popularity comes the opportunity for branching off and implementing their fame into other avenues besides music, and such is the case with their movement into the gaming world with The Beatles: Rock Band for Xbox 360. Simply put, if you are a gamer as well as a fan of this group, this game is a must have.
Read the full article
.
HTC Touch Pro2 from Sprint
by wubayou, 2009-10-15

Those in the business world in search of a new smartphone with do-it-all capabilities might want to give serious thought to the HTC Touch Pro2 from Sprint. The Touch Pro2 is a dual mode world phone that is great for travelers who want to avoid the hassle of switching phones every time they go overseas. Let's take a closer look.
Read the full article
.
 
  top
Create a Customized Google XML Sitemap
by Codex-M, 2009-10-21

An XML sitemap is a type of sitemap Google suggests that you submit to them through Google Webmaster tools. This is not the kind of web sitemap you usually see when you are visiting a website. Rather, it is the kind of sitemap that helps Google crawl your site better. This article will show you how to generate one.
Read the full article
.
Building Linkable Pieces and Titles
by Kathy Gatto, 2009-10-20

One of the best ways to drive traffic to your site is to get other blogs to link to your content. Getting any site to do this will increase your site's traffic. Getting a high traffic site to link to your content can be one of the major ways to draw a new, and hopefully steady, readership to your site. The question on the mind of every blogger is, how do I get sites interested in linking to my content?
Read the full article.
Return on Investment Calculation for Online Businesses
by Codex-M, 2009-10-19

"Return on Investment" (also called "ROI" or "Rate of Return") is one of the most important measurements for online business success. A high return on investment means that there is substantially greater income to cover the operating cost of the website. Or in other words, it simply means that the business is profitable.
Read the full article.
  top
How to Expand a Simple Website
by Joe Eitel, 2009-10-21

Do you have a web site that you haven't done much with yet? Would you like to build a blog or other content-based site on that domain? Keep reading. This article will show you how to take your tiny site to the next level.
Read the full article.
Practical Virtualization with VirtualBox
by Tony Antal, 2009-10-14

Most of today's computers are pretty powerful just as they are. We've also gotten into the habit of upgrading our memories far beyond the amount we truly require. These two trends are turning the virtualization of operating systems into a smooth, seamless process. Right now, we're going to discuss the subject of virtualization and learn a few practical uses for it.
Read the full article.
Beladen: 40,000 Website Attackers
by Joe Eitel, 2009-10-07

In June 2009, Websense, an Internet security firm, identified a mass infection of up to 40,000 websites by a new attacker nicknamed "Beladen." Beladen, which translates as "loaded" in German, is so named because the security exploit works by directing visitors to various websites to a website named Beladen. That website then takes advantage of security holes in various applications to "load up" unsuspecting computers with all kinds of bad software.
Read the full article.
 

Check out the amazing tutorials from IBM developerWorks and see what all the buzz is about!

IBM Rational Project and Portfolio Management certification training e-kit
Get free PMI training in the IBM Rational Project and Portfolio Management certification training e-kit. As a member of the Project Management Institute's (PMI's) corporate council, IBM has more than 12,000 PMI-certified project managers and has been honored for its educational programs. Now, you can learn more about the difference that IBM's project management curriculum makes with six free courses based on IBM's best-practices processes and tools.

Download the updated IBM Web 2.0 Developer eKit today!
Take advantage of open, flexible Web 2.0 technologies, like social software and mash-ups. The IBM Web 2.0 Developer eKit has been updated with the latest best practices & technologies from IBM. The eKit is available at no charge and provides resources to help you effectively build and apply Web 2.0 technologies to gain a competitive advantage. This eKit includes podcasts, developerWorks articles, demos, webcasts, case studies and alphaWorks emerging technologies.

Rational Asset Manager eKit
Learn how to do more with your reusable assets with the free Rational Asset Manager eKit. The eKit includes demos on how Rational Asset Manager tracks and audits your assets in order to utilize them for reuse. Plus you'll find white papers and a Webcast that discuss the challenges of a Service Oriented Architecture and how Rational Asset Manager can provide quick and effective solutions.

IBM Rational ClearCase Innovator Series
Learn from the best! Find out how developers use Rational ClearCase to be more flexible, innovative and deliver higher quality code in the Rational ClearCase Power Users eKit. This complimentary eKit provides a collection of materials, like articles, whitepapers, and demos that can help you become a power user of Rational ClearCase.

Download the free Web Application Security eKit
Discover how IBM Rational AppScan Standard Edition can help you detext vulnerabilities in your web applications in the Web Application Security eKit. IBM Rational AppScan is a leading suite of automated web application security solutions that scan and test for common Web application vulnerabilities. The new Web Application Security eKit provides you with valuable resources, including white papers, demos, and additional information on the benefits of testing your Web applications.

IBM Rational Systems Development Solution eKit
With IBM Rational Systems Development Solution, you can deliver products faster with higher quality. Within this kit, Read the "Model Driven Systems Development" white paper to see how to improve product quality and communication. Then check out the rest of the e-Kit to learn more about important topics that can affect the success of any software project through customer examples, tutorials, informative Webcasts, and best practices for designing, building and managing systems. From start to finish, at every stage in your projects, Rational Systems Development Solution can help your company reach its full potential.

Download a free trial of Lotus Quickr 8.0
Visit IBM developerWorks to download a free trial version of Lotus Quickr 8.0, which enables collaboration by transforming the way everyday business content such as documents, rich media, photos, and video can be shared. Lotus Quickr makes it faster and easier to share content of all types (not just documents) within virtual teams. It is designed to make it easier to collaborate across organizational boundaries, while continuing to work within the context of familiar desktop applications.

Evaluate IBM Lotus Sametime Standard V8.0
Visit IBM developerWorks to download a free trial of the latest release of IBM Lotus Sametime Standard V8.0. Lotus Sametime Standard V8.0 is a platform for unified communications and collaboration that combines security features with an extensible, open solution including integrated Voice over IP, geographic location awareness, mobile clients, and a robust Business Partner community offering telephony and video integration.

 
  top

Tutorialized is dedicated to programming, designing, and many other
tech related tutorials.

Change Eye Color in Photoshop
In this video tutorial, you will learn how to change eye color using Photoshop CS3.
Read the tutorial.

Creating a Pong Game - Part 1
This tutorial will teach how to Create a Pong Game in Flash ActionScript.
Read the tutorial.

Basic Outlining and Coloring
Color your illustrations in just minutes using these simple techniques with Illustrator.
Read the tutorial.

Create a Simple Flash Movie
In this video tutorial, you will learn how to create a simple Flash movie.
Read the tutorial.

Building a 3D album with FIVe3D and TweenLite
In this tutorial I will show you how to build a simple 3D photo album.
Read the tutorial.

Simple XML/RSS Parser
XML parser designed to parse most valid news and blog feeds.
Read the tutorial.

 

Want to Earn Cash & Fame Writing
for ASP Free

Developer Shed is actively seeking fresh, new writing talents for our Microsoft Windows technology site. We're looking for Windows programmers, system administrators, and more to provide our readers with the latest, up-to-date techniques and strategies.

Here's your chance to earn some cash, gain some exposure, and beef up your resume! If you would like to join our team, email your name, a description of your qualifications, and the topic areas you would like to cover to contact_editor@developershed.com.

 
  top

Scripts is dedicated to developer and programming related scripts both commercial and free, and for all OS platforms.

Sitemile Freelancer Clone
This script will let you run a freelancer website hands-free. Written using PHP code.
Learn more.

Zee Lyrics V3
Zee Lyrics lets you search lyrics by artists, song, albums/movies, and more.
Learn more.

Fox Audio Recorder
Transfer tapes, LPs, live performances, TV and more to your hard drive with no loss of quality.
Learn more.

VideoIsland
VideoIsland allows you to create your own online professional video management system using your existing web site! Learn more.

Flash Analogue Clock
An all-vector, scalable Flash countdown clock movie. Counts down based on the computer clock.
Learn more.

Random Rotator
Random web page rotators that cannot pick the same item twice in a row making these the best random rotators anywhere. Learn more.

  top
Add Live Chat to Your Site
by KC Morgan, 2009-10-21


Internet users expect to find what they're looking for right away. Anything that adds to the immediacy of your site, or can help them find what they need, will encourage visitors to stay - and to return. Keep reading to find out how live chat can scratch that "want it now" itch.
Read the full article
.
Why Online Polls Work
by KC Morgan, 2009-10-19

"Do you like me? Check yes or no." As children, we discover the value of polling early. As adults, we learn the importance of polling in all things. Isn't it through the polls that some world leaders are chosen? But politicians aren't the only ones who use polls. In fact, you'll find polls all over the Internet.
Read the full article
.
Text Message Advertising: Promoting Through the Mobile World
by KC Morgan, 2009-10-16

Cell phones have become the ubiquitous accessory of the modern world. Everyone has one, everyone wants a new one, everyone knows how to use one - they're everywhere. Cell phones and mobile devices offer convenience, a way to easily keep in touch and stay connected. But they also provide something which might be even more valuable: a rich promotional opportunity. How much do you know about text message advertising?
Read the full article
.
  top
Using PHP to Stream MP3 Files and Prevent Illegal Downloading
by Codex-M, 2009-10-21

Are you looking for a way to sell your music online without your visitors ripping off your stuff for free? If you use streaming MP3s, that's a very real risk. Keep reading to learn how to sell your work online and prevent illegal downloading of your audible art.
Read the full article
.
Monitoring Temperatures with Cacti
by Tony Antal, 2009-10-14

You are reading the sequel to the article we published last week on Cacti, the RRDTool based graphing solution. In the previous article we learned how Cacti works and how to deploy it. While it can monitor network load, hard drive spaces, CPU utilization, available memory, and all that right out of box, there are two things left to monitor: temperatures and voltages. In this article we'll find out how!
Read the full article
.
Cacti: RRDTool-based Graphing Solution
by Tony Antal, 2009-10-07

As you've surely noticed, we frequently cover topics related to server administration, targeting the audience of system administrators and network technicians here on Codewalkers. Today, we will overview Cacti - a complete network graphing solution that utilizes the functionalities of RRDTool. Throughout this article we're going to discuss how implementing Cacti as a network monitoring system can yield good results.
Read the full article
.
  top

That's Not My Cell Phone, it's My Ultrasound Device

Computers have gone from room-sized to pocket-sized (and smaller) in a few short decades. They're not the only devices susceptible to that kind of miniaturization. At the Web 2.0 Summit in San Francisco, General Electric CEO Jeff Immelt unveiled a device certain to make people stop and stare: a pocket-sized ultrasound scanner.

Dubbed the Vscan, the white device apparently folds in the middle like a flip-phone. The top half contains the screen, while the bottom half is for the control keys. Noting that the scanner is about the same size as a BlackBerry, Immelt attributed the device to Moore's Law. Two to three years ago, to get an ultrasound scanner with the same power, you'd need a console-sized machine costing $250,000.

Although Immelt never revealed the price of the pocket-sized scanner, he told the audience that he envisioned its use in Africa, helping health care providers determine, for example, if an unborn baby is head-down or breech. “This could be the stethoscope of the twenty-first century,” he pointed out. The device is expected to be available sometime next year.

Read more about this

Barnes and Noble Unveils Nook eBook Reader

Move over, Amazon Kindle; Barnes and Noble just unveiled its own eBook reader. Dubbed the Nook and due out in late November, the reader not only looks stylish, but it does a number of things the Kindle can't. For example, in addition to its black-and-white eInk screen, it features a second, color touchscreen across the bottom – mainly used for selecting books by their covers.

The Android-powered device supports both WiFi and AT&T 3G – though strangely enough, by some reports the WiFi only works in B&N stores. The Nook charges from nothing to full in 3.5 hours, and that charge lasts for up to 10 days if you turn the wireless off – a few days shy of the Kindle's 14. If the reader's 2 GB of internal storage isn't enough for you, you can use the microSD expansion slot. If you like a little music with your reading, you'll love the Nook's MP3 player and 3.5 millimeter headphone jack.

Aside from the specs, the Nook boasts some other interesting features. It supports bookmarking, making notes, and highlighting passages, as you would with an ordinary book. It also lets you lend out books to your friends for up to two weeks with the “LendMe” feature. Your friends don't need a Nook to borrow from you, either; the feature works with other e-readers, cell phones, and computers. If you happen to leave your Nook somewhere, you can even pick up where you left off on your iPhone or BlackBerry, with all of your marks intact. If you want one, expect it to set you back $259, about as much as a Kindle.

Read more about this

Inventors Win Prizes at UK Show

Plenty of creative thinkers labor quietly in their garages and basements, hoping to come up with the next great invention. The British Invention Show, held last week in London, brought many of them out of their labs to show off their brain children and compete for awards. Some of them are so clever they make you slap your forehead wondering why nobody ever thought of this before.

Take David Graham's creation, for example. The industrial design post graduate came up with the idea to attach recyclable cardboard wheels and handles to the boxes of large purchases such as televisions and kitchen appliances – and knew he was on to something when he stopped in the restaurant of a big London store, and received a round of applause from the staff. The invention won a double gold medal at the show.

Other ideas presented at the show are not only useful, but just plain fun. Tired of misplacing your dish towels in the kitchen? With the magnetic towels presented at the show, once you're done drying dishes with them you can just throw them at the fridge; they'll stick. Or are you so exhausted from work you wish your bath was already waiting for you? Fredy Vasilev came up with a system to control your bath with an iPhone. It lets you choose the fill and temperature levels; all you have to do when you get home is shed your clothes and relax. Lots of other inventors won prizes; the show's web site has the full list.

Read more about this

Advertising
If you wish to advertise in our newsletter, please contact us.

Unsubscribe
If you don't want to receive our emails, please unsubscribe.
An email will be sent with additional instructions to confirm your unsubscription.