Hi all,
    I'm sure you have all are in the situation where you often have to
write the same code, but it is just different enough to make a custom tag
not really possible, for example when I make an online administration area
(I'm using Fusebox) I generally make several files for each database table
(or more specifically, each type of thing that can be changed (eg products,
categories, images ...)), a form a query for the form and generally 2
action files (insert/update) for the form), a display for all records and
query for the display, and a delete action.  These files are all basically
of the same format.

    Anyway, I was thinking wouldn't it be cool if we had some sort of a
`smart' snippet system, more like macros, that we could get to create
files with certain names and fill with certain contents, and insert say
the shell of a fuseaction <CFCASE> into a file all based on some input ? 
Then all I need to do is go in and flesh it out a bit.  

    Currently the snippet system (as I see it) can only insert text before and
after the selected text, is there anything more powerful, like a full
macro language, that would REALLY enhance CFStudio for me and others I'm
sure.  It would be really cool if it could ask questions from the user
through dialogs also, say `Does this admin section have an image to
edit ?' in which case it would insert an example code for showing,
changing and deleting images - saves me remembering what I called all
those attributes to that custom tag.


 


------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to