I have thought about this, and the most obvious place to use hungarian 
notation would be with form variables, where a text box would be labeled as 
txt_fieldname, and a check box would be labeled as chk_fieldname, etc.

However, in my experience, these "object types" are not so critical in 
HTML, since they all come in as form variables.  While form field types 
sometimes do need to be handled differently in the action page (most 
notably check boxes and radio buttons), it is a lot easier to construct 
your UPDATE or INSERT statements if you don't have to remember if the field 
was a check-box or a radio button, or a text field, etc.

UPDATE MyTable SET MyField = '#Form.MyField#'


At 02:12 PM 5/23/01, Paul Mone wrote:
>Hello All,
>         I've finally begun reading the Fusebox book.  I'm surprised at 
> how much I
>like it, I really feel like it's making me a better developer already.  I
>enjoy the standards and methodologies that are laid down, I look forward to
>putting them into practice.
>         Just out of curiosity, why isn't a form of Hungarian notation 
> implemented
>in the standard?  It seems like it compliment many of the other practices in
>Fusebox.
>
>Paul
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to