Developer's Corner

by Antonio Bello

iOS User Interfaces: Storyboards vs. NIBs vs. Custom Code

| Comments

I often hear iOS developers ask some variant of the same key question:

What’s the best way to develop a UI in iOS: through Storyboards, NIBs, or code?

Answers to this question, explicitly or implicitly, tend to assume that there’s a mutually exclusive choice to be made, one that is often addressed upfront, before development.

I’m of the opinion that the answer instead should take the form of one or more counter questions.

Cloning Dijit Widgets

| Comments

Dojox and Dijit widgets are undoubtedly cool, bringing a richer user experience to your web site.

One of their drawback though is that they are not easily cloneable. A typical example is for instance a table with a set of controls per row and a “Add new row” button, allowing to add a new row to the table.

This article provides a simple solution to clone a table row containing dijit widgets.

Slow Build on Compact Framework Projects

| Comments

I’ve been experiencing an extremely high build time on a windows mobile project targeted to compact framework 2.0 before finding out what was responsible of such slowness. Fortunately solving this problem is as easy as adding a line to a configuration file.

Choosing a Web Color Scheme

| Comments

When designing a web site, on of the problems I face with is how to choose colors. Usually I choose a base color, which is the predominant color used in the web design, but how to choose other colors, such as background, headings, panels, borders and so on?

Data Integrity Check Using Hashing

| Comments

When data is moved across a network, the recipient might require a verification to ensure that data has not been modified after send.

For example, in a client/server scenario where a client application sends some updates to a remote database via a web service, the web service might need to verify whether the data has not been modified while travelling across the network, either due to corruption or because somebody changed it. A simple way to implement such kind of verification is utilizing hashing.

Single Sign on Across Multiple ASP.NET Applications

| Comments

Single Sign On (SSO) is a term used to indicate when a pool of applications need a centralized authentication, so that users log in once and access to any application.

Implementing a single sign on is pretty simple, and can be done by configuring the applications using the web.config file.