It's time for the Naming Game again.
-
What does one call something that replaces placeholders in a template with real values? TemplateFillerOuter just isn't how I roll.
-
What does one call something that replaces placeholders in a template with real values? TemplateFillerOuter just isn't how I roll.
Brady Kelly wrote:
What does one call something that replaces placeholders in a template with real values?
Gertrude Inglethorpe the Third.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith
As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
-
Harold, my man, have some points. I had just come up with TemplateResolver, but Instantiator has a much better ring to it. I think I'll use that for now, unless of course someone exceeds that hard to exceed term. :)
-
What does one call something that replaces placeholders in a template with real values? TemplateFillerOuter just isn't how I roll.
Replace-inator Replace-omatic Replace-a-tron ValueAddedReplacer
-
Substitute values?
"What does one call something", I.e. I am looking for an object name, not an action name.
-
Harold, my man, have some points. I had just come up with TemplateResolver, but Instantiator has a much better ring to it. I think I'll use that for now, unless of course someone exceeds that hard to exceed term. :)
It's not really instantiating anything, so I think think TemplateInstatiator might not be so goo. It sounds more like a factory (other than the fact it doesn't have "Factory" in it). Failing TemplateResolver (which I think is pretty good) how about TemplatePlaceHolderReplacer?
ragnaroknrol The Internet is For Porn[^]
Pete o'Hanlon: If it wasn't insulting tools, I'd say you were dumber than a bag of spanners. -
It's not really instantiating anything, so I think think TemplateInstatiator might not be so goo. It sounds more like a factory (other than the fact it doesn't have "Factory" in it). Failing TemplateResolver (which I think is pretty good) how about TemplatePlaceHolderReplacer?
ragnaroknrol The Internet is For Porn[^]
Pete o'Hanlon: If it wasn't insulting tools, I'd say you were dumber than a bag of spanners.How about TemplatedMessageInstantiator? :laugh: I'm inspired by your TemplatePlaceHolderReplacer toward TemplatePlaceHolderResolver, as it doesn't merely replace them. Placeholders are of the form object$property, where object is one of a collection of objects passed in an anonymous type to the TemplatePlaceHolderResolver, e.g.
ResolveTemplatePlaceHolders(template, new {Customer = person1, Salesman = person2});
And placeholders are then, e.g. {Customer$Surname}, {Salesman$PhoneNumber} It's becoming quite a templating engine.
-
What does one call something that replaces placeholders in a template with real values? TemplateFillerOuter just isn't how I roll.
TemplateStufferInner?
I can imagine the sinking feeling one would have after ordering my book, only to find a laughably ridiculous theory with demented logic once the book arrives - Mark McCutcheon
-
What does one call something that replaces placeholders in a template with real values? TemplateFillerOuter just isn't how I roll.
Placeswapper.
-
What does one call something that replaces placeholders in a template with real values? TemplateFillerOuter just isn't how I roll.
TemplatePlaceholderReplacer
cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP
-
Harold, my man, have some points. I had just come up with TemplateResolver, but Instantiator has a much better ring to it. I think I'll use that for now, unless of course someone exceeds that hard to exceed term. :)
Surely this thread belongs in the buzzword hall of shame forum.
I wanna be a eunuchs developer! Pass me a bread knife!
-
What does one call something that replaces placeholders in a template with real values? TemplateFillerOuter just isn't how I roll.
Sandra?
-
What does one call something that replaces placeholders in a template with real values? TemplateFillerOuter just isn't how I roll.
-
Sandra?
-
What does one call something that replaces placeholders in a template with real values? TemplateFillerOuter just isn't how I roll.
TokenFiller
-
TemplatePlaceholderReplacer
cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP
Too late: http://www.codeproject.com/Lounge.aspx?msg=3552134#xx3552134xx[^] :cool: ;P I'm ducking now in case of flying hamsters :-).
ragnaroknrol The Internet is For Porn[^]
Pete o'Hanlon: If it wasn't insulting tools, I'd say you were dumber than a bag of spanners. -
Too late: http://www.codeproject.com/Lounge.aspx?msg=3552134#xx3552134xx[^] :cool: ;P I'm ducking now in case of flying hamsters :-).
ragnaroknrol The Internet is For Porn[^]
Pete o'Hanlon: If it wasn't insulting tools, I'd say you were dumber than a bag of spanners.Well, it is kinda the obvious name ;)
cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP
-
What does one call something that replaces placeholders in a template with real values? TemplateFillerOuter just isn't how I roll.
-
I made something like that for pdf forms the other day. I called it a pdf populator.
____________________________ I didn't know what to put in here.
Ah yes, but to be picky, and I love being picky (that's why I would like being a senior contract lawyer), if some of my template placeholders were holding places for form fields, calling something working with it a populator is like calling a property Property. I have many evil examples like that I have done, because it made sense on the inside, and on the outside the user only knew of one Property, the one for sale.
-
Substitute values?
:laugh: :laugh: :laugh: :laugh: :laugh: