devxlogo

The Latest

Why Mobilise Websites? You Can Win BIG!

Did you know that 40% of all internet users today have mobile internet access? That means mobile internet users could represent a large percentage of your site’s traffic. Are you

Show a Footer for All ASP .NET Pages in a Site

This tip is useful for displaying a uniform footer in all your site’s pages, including any pages served from the site’s subdirectories. In this case, assume you want to display

Silverlight-Enabled Live Search

any web services offer clients a variety of ways to communicate with them, including SOAP and REST, and can often return either XML or JSON. Silverlight can communicate with any

Using LINQ to Manage File Resources and Context Menus

anguage Integrated Query, or LINQ, is a new Microsoft technology introduced with the .NET 3.5 framework. This Microsoft quote describes its purpose succinctly: “Traditionally, queries against data are expressed as

Developing a DSL Abstract Syntax with Eclipse

omain-specific languages (DSLs) and model-driven development (MDD) offer developers powerful new ways to improve productivity, enhance quality, and insulate systems from rapid technological change. The Eclipse Modeling Project allows developers

Writing a Parameterized SQL Query in EJB 3.0

protected EntityManager manager;…String ejbqlDelete = “delete from ClientTicket p where ” + “p.closed = :paramClosed and ” + “p.department = :paramDepartment and ” + “p.ticketUserID = :paramTicketUserID and ” +

Avoid Object Instantiation Within Loops

Avoid defining new objects within loop structures. Doing so hampers performance significantly, due to object creation overhead. Instead, define objects outside the loop and then use them inside the loop.

Programming Twittering with Visual Basic

ocial networking has reached critical mass. One unique social networking platform, Twitter, launched in March of 2006 and took the world by storm with its social networking and microblogging platform.

Putting a YUI Face on a Java Web Application

uilding on my previous article Yahoo’s Rich web UIs for Java Developers, which discussed how to use various Yahoo User Interface (YUI) web components for setup and design, this article

Develop Provider-Based Features for Your Applications

he ASP.NET Provider Model drives many features within the ASP.NET architecture, yet most developers associate it only with security or membership-related functionality. This article takes you deep into the provider

Measuring A Program’s Speed

The simplest way to measure the performance of a block of code (or an entire program) is to obtain the elapsed time. This tip shows you how. ‘At the top

Optimizing Loops in JavaScript

Not all JavaScript loops are identical. Try the code below by pasting the HTML in this tip into a file and then opening the file in your browser. You should

An Introduction to Variadic Templates in C++0x

f you’ve been programming in C++ for any time at all then you’re familiar with variadic functions, functions (such as printf) that can take a variable number of arguments. C99

Unzipping an Archive from a Servlet

package com.extensions;import java.io.IOException;import java.io.File;import java.io.PrintWriter;import java.io.FileOutputStream;import java.io.FileInputStream;import java.io.OutputStream;import javax.servlet.ServletException;import javax.servlet.ServletContext;import javax.servlet.http.HttpServletRequest;import javax.servlet.http.HttpServletResponse;import javax.servlet.http.HttpServlet;import javax.servlet.http.HttpSession;import org.apache.commons.logging.Log;import org.apache.commons.logging.LogFactory;import java.util.zip.ZipEntry;import java.util.zip.ZipFile;import java.util.zip.ZipInputStream;import java.util.StringTokenizer;public class ExtractZipsServlet extends HttpServlet { protected void processRequest(HttpServletRequest request, HttpServletResponse

Automating Visual Studio Solution Builds

You can make Visual Studio build a solution automatically at certain time of the day using a batch file. In the example below, devxtry.sln is the name of the solution

If You Can’t Beat ‘Em, Join ‘Em: Think Robotics

Related Posts Google Opens European Machine Learning LabGraham Cochrane’s success with minimal weekly hoursTip: How to Turn on TLS Versions Without Affecting Earlier Versions of Security Protocol in .NETCycle Taskbar

If You Can’t Beat ‘Em, Join ‘Em: Think Robotics

As job losses in the U.S. mount, under pressure not only from the current economic downturn/depression, but also from foreign competition, de-unionization, outsourcing, offshoring, and imported labor (both legal and

All Java ME Goodies Consolidated into One SDK

evice fragmentation is an issue that plagues the mobile application developer. With the thousands of devices on the market, it is difficult to know which devices can host a new