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. General Programming
  3. XML / XSL
  4. Dynamic model using XML

Dynamic model using XML

Scheduled Pinned Locked Moved XML / XSL
questionxml
2 Posts 2 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.
  • P Offline
    P Offline
    peepys
    wrote on last edited by
    #1

    Hi, I'm designing a framework for an enterprise application. I have done this earlier but I used to define model (properties, methods, events…) inside framework itself. Programmer writes codes based on the model defined in framework, in other words interface that is created inside framework later implemented by the programmer. Now I would like to isolate model definition from framework and define the model in a separate XML file so that framework will extract model definition from XML file dynamically. How do I achieve this ? Advance Thanks ! Regards, aB

    G 1 Reply Last reply
    0
    • P peepys

      Hi, I'm designing a framework for an enterprise application. I have done this earlier but I used to define model (properties, methods, events…) inside framework itself. Programmer writes codes based on the model defined in framework, in other words interface that is created inside framework later implemented by the programmer. Now I would like to isolate model definition from framework and define the model in a separate XML file so that framework will extract model definition from XML file dynamically. How do I achieve this ? Advance Thanks ! Regards, aB

      G Offline
      G Offline
      George L Jackson
      wrote on last edited by
      #2

      Using "Reflection" might be an option.

      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