Lunatech Research - IT consulting, product research and software development

English
 

Struts URLs for perfectionists

Écrit par Peter Hilton le Fri, 2005-07-29 16:36

Many web applications inelegantly expose themselves in their URLs. While ASP.NET applications tend to have an .aspx in the URL, Struts' default configuration gives you a .do in your URL. It is possible to reconfigure a Struts web application that uses URLs like /customer.do?method=edit&id=42 to use something like /customer/edit/42 instead. This article covers several separate techniques that you can use for different parts of the URL.

Lire

Paranoid configuration: tamper-proof text

Écrit par Peter Hilton le Sun, 2005-07-17 21:18

I've just finished reading The Pragmatic Programmer, which is an interesting book about software development that I wish I had read years ago*. One of the books intriguing ideas is to use a secure hash, e.g. MD5, of a configuration file to prevent people tampering with system parameters after deployment (page 74). Working out when this would be useful comes later: first, where do you store the calculated hash?

Lire

À propos de Lunatech

Fondé en 1993, Lunatech Research propose du consulting TIC, de la recherche de produits et des équipes de développement. Sous la forme d’une équipe d’experts programmeurs auto-managés travaillant avec une équipe commerciale expérimentée.

Contactez-nous

Lunatech Research B.V.
Heemraadssingel 70
3021 DD Rotterdam, Pays-Bas.

Téléphone et email

Tél : +31 10 750 2600
Fax : +31 10 243 9902
Email : contact@lunatech.fr