Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. It's time for the Naming Game again.

It's time for the Naming Game again.

Scheduled Pinned Locked Moved The Lounge
game-devquestion
23 Posts 16 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Brady Kelly

    What does one call something that replaces placeholders in a template with real values? TemplateFillerOuter just isn't how I roll.

    L Offline
    L Offline
    Lost User
    wrote on last edited by
    #4

    Template Instantiator?

    B 1 Reply Last reply
    0
    • B Brady Kelly

      What does one call something that replaces placeholders in a template with real values? TemplateFillerOuter just isn't how I roll.

      P Offline
      P Offline
      Pete OHanlon
      wrote on last edited by
      #5

      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.

      My blog | My articles | MoXAML PowerToys | Onyx

      1 Reply Last reply
      0
      • L Lost User

        Template Instantiator?

        B Offline
        B Offline
        Brady Kelly
        wrote on last edited by
        #6

        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. :)

        K M 2 Replies Last reply
        0
        • B Brady Kelly

          What does one call something that replaces placeholders in a template with real values? TemplateFillerOuter just isn't how I roll.

          P Offline
          P Offline
          PIEBALDconsult
          wrote on last edited by
          #7

          Replace-inator Replace-omatic Replace-a-tron ValueAddedReplacer

          1 Reply Last reply
          0
          • M martin_hughes

            Substitute values?

            Books written by CP members

            B Offline
            B Offline
            Brady Kelly
            wrote on last edited by
            #8

            "What does one call something", I.e. I am looking for an object name, not an action name.

            1 Reply Last reply
            0
            • B Brady Kelly

              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. :)

              K Offline
              K Offline
              Keith Barrow
              wrote on last edited by
              #9

              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.

              B 1 Reply Last reply
              0
              • K Keith Barrow

                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.

                B Offline
                B Offline
                Brady Kelly
                wrote on last edited by
                #10

                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.

                1 Reply Last reply
                0
                • B Brady Kelly

                  What does one call something that replaces placeholders in a template with real values? TemplateFillerOuter just isn't how I roll.

                  A Offline
                  A Offline
                  Andy Brummer
                  wrote on last edited by
                  #11

                  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

                  1 Reply Last reply
                  0
                  • B Brady Kelly

                    What does one call something that replaces placeholders in a template with real values? TemplateFillerOuter just isn't how I roll.

                    A Offline
                    A Offline
                    AspDotNetDev
                    wrote on last edited by
                    #12

                    Placeswapper.

                    [Forum Guidelines]

                    1 Reply Last reply
                    0
                    • B Brady Kelly

                      What does one call something that replaces placeholders in a template with real values? TemplateFillerOuter just isn't how I roll.

                      C Offline
                      C Offline
                      Chris Maunder
                      wrote on last edited by
                      #13

                      TemplatePlaceholderReplacer

                      cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

                      K 1 Reply Last reply
                      0
                      • B Brady Kelly

                        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. :)

                        M Offline
                        M Offline
                        Mark_Wallace
                        wrote on last edited by
                        #14

                        Surely this thread belongs in the buzzword hall of shame forum.

                        I wanna be a eunuchs developer! Pass me a bread knife!

                        1 Reply Last reply
                        0
                        • B Brady Kelly

                          What does one call something that replaces placeholders in a template with real values? TemplateFillerOuter just isn't how I roll.

                          H Offline
                          H Offline
                          hairy_hats
                          wrote on last edited by
                          #15

                          Sandra?

                          P 1 Reply Last reply
                          0
                          • B Brady Kelly

                            What does one call something that replaces placeholders in a template with real values? TemplateFillerOuter just isn't how I roll.

                            P Offline
                            P Offline
                            peterchen
                            wrote on last edited by
                            #16

                            Mine is: CTokenReplacements::Replace(thingToMutilate)

                            Agh! Reality! My Archnemesis![^]
                            | FoldWithUs! | sighist | µLaunch - program launcher for server core and hyper-v server.

                            1 Reply Last reply
                            0
                            • H hairy_hats

                              Sandra?

                              P Offline
                              P Offline
                              peterchen
                              wrote on last edited by
                              #17

                              Gina?

                              Agh! Reality! My Archnemesis![^]
                              | FoldWithUs! | sighist | µLaunch - program launcher for server core and hyper-v server.

                              1 Reply Last reply
                              0
                              • B Brady Kelly

                                What does one call something that replaces placeholders in a template with real values? TemplateFillerOuter just isn't how I roll.

                                B Offline
                                B Offline
                                Bassam Abdul Baki
                                wrote on last edited by
                                #18

                                TokenFiller

                                1 Reply Last reply
                                0
                                • C Chris Maunder

                                  TemplatePlaceholderReplacer

                                  cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

                                  K Offline
                                  K Offline
                                  Keith Barrow
                                  wrote on last edited by
                                  #19

                                  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.

                                  C 1 Reply Last reply
                                  0
                                  • K Keith Barrow

                                    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.

                                    C Offline
                                    C Offline
                                    Chris Maunder
                                    wrote on last edited by
                                    #20

                                    Well, it is kinda the obvious name ;)

                                    cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

                                    1 Reply Last reply
                                    0
                                    • B Brady Kelly

                                      What does one call something that replaces placeholders in a template with real values? TemplateFillerOuter just isn't how I roll.

                                      N Offline
                                      N Offline
                                      Nougat H
                                      wrote on last edited by
                                      #21

                                      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.

                                      B 1 Reply Last reply
                                      0
                                      • N Nougat H

                                        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.

                                        B Offline
                                        B Offline
                                        Brady Kelly
                                        wrote on last edited by
                                        #22

                                        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.

                                        1 Reply Last reply
                                        0
                                        • M martin_hughes

                                          Substitute values?

                                          Books written by CP members

                                          S Offline
                                          S Offline
                                          Sandesh M Patil
                                          wrote on last edited by
                                          #23

                                          :laugh: :laugh: :laugh: :laugh: :laugh:

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups