I like the idea.  Though I'm not sure how to weigh the extra
processing against the savings in keystrokes.

There are some similar things in various places in BoltWire--but I've
tried to be reserved. If you come up with some code, let me know. I'll
look into implementing it.  Another option is to add a "hook"
somewhere core code, so the programmer can tap into the processing and
add extra steps. This way most of the code can be shunted out of the
core...

Hmmm....

For example, probably between 427 and 428 in markups.php we could do
something looks like:

if (func_exists(BOLTlinkAttrsShortcuts)) $args = BOLTlinkAttrsShortcuts($args);

The function then would take the array of field => value pairs,
iterate through them, and make any substitutions according to your
predefined values, and then return the new array.

It puts a bit of the work on the programmer, but it keeps the core
lean and fast, and gives the advanced user virtually unlimited
options. I suspect this is a nice approach, and it could be extended
to any thing else that has attrs.

What do you think?  I'd implement this happily if it sounds all right...

Cheers,
Dan

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"BoltWire" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/boltwire?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to