Organizing Using Directives in Visual Studio

When it comes to removing and sorting unused using directives in the Visual Studio Editor, a useful feature that is not enabled by default is to place all System directives on the top.

Here’s what it looks like with the option disabled:
phong 1

And here’s one with the option enabled:
phong 2

Step 1: Turn on the option
phong 3

Step 2: Use the “Remove and Sort” option
phong 4

Phong Hoang
Director of Development
ImageSource, Inc.

How to minify your JavaScript files and why you shouldn’t wait

It is common in fast responsive web apps to minify JavaScript files to reduce file size and increase app performance.

What is it?
Minification means to remove all unnecessary characters (e.g. comments, spacing, line breaks, shortening names, etc.) from a JavaScript file so that the resulting file behaves the same but is much more compact.

Why should you minify your JavaScript files?
Here are some benefits:
– Faster load speed
– Small files and cache size
– Less demand on your web server
– Uses less bandwidth especially on mobile devices

How to minify your JavaScript files with two popular tools: Continue reading

How to run SQL code against an Oracle databse

Context: ILINX Capture, ILINX Release and Oracle IPM 11g

Problem: A customer wanted the ability to run some custom SQL code against an Oracle database after a doc has been released to Oracle IPM 11g.

Solution: Place the built-in DatabaseLookup IXM after Release and use the return value from Release to call Oracle. Below is a screen shot of the workflow:

phong

Phong Hoang
Development Manager
ImageSource, Inc.

Defining Batch Profiles in ILINX Capture

In ILINX Capture, the most basic unit is a batch profile. A batch profile is a container that includes batch fields, one or more document types and a workflow. It is unique, self-contained and completely independent from each other. In general, you would want to create a batch profile for each unique workflow process in the system.

If you have multiple doc types that mostly follow the same process, you should think about creating a single batch profile to hold all the doc types. With this setup, you can then use permissions to give users access to their specific doc types. Furthermore, within the workflow designer you want to break your workflow logic into common processes, shared by all doc types and specific doc type sub-flows. If you find that you need to create too many sub-flows, re-evaluate the relationship between a batch and doc types and see if you can fix the problem.

The goal is to create unique workflow processes so that system maintenance is easy; and one way to deal with that is to avoid duplicating batch profiles that are performing the same tasks.

Phong Hoang
Development Manager
ImageSource, Inc.

Windows Phone 8 Features Detail Leaks

If you have not seen the features list, check them out here.  I think the most important items from that list is the tight integration between Windows Phone and Windows, the desktop version.  According to various leaked info this layer will contain the kernel, networking stacks, security model, multi-core processor, and multimedia.

It would be interesting to see how much of it is true later this year.