while on the "subject" of best practice, I have a question re CFC practice. 



In the days I made my app, I have a table (simplified) that lists IT servers. 
Looks kinda like this:



serverid | servername | servertype |

    1         |    win01      |        1        |

    3         |    win09      |        2        |

    2         |    win06      |        3        |



Now server type was just 1=production, 2=dev, 3=test. 



And as such no servertype table was ever made, I just had the cfml convert the 
number to name in the cfm pages, like this:



Server Type: <cfswitch... </cfswitch>



Is this a bad practice? am wondering if this way of handling
information is too much "putting business logic into presentation
layer"  Might I find out in Flex that I can't display the server type
text after retrieving a query result?





Thanks all, enjoying the dialog very much!



Jim C


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2

Archive: http://www.houseoffusion.com/groups/Flex/message.cfm/messageid:3639
Subscription: http://www.houseoffusion.com/groups/Flex/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.37

Reply via email to