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. Tag Helper vs Angular Directives

Tag Helper vs Angular Directives

Scheduled Pinned Locked Moved The Lounge
performancec++javascriptvisual-studiowpf
3 Posts 3 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.
  • A Offline
    A Offline
    Anurag Gandhi
    wrote on last edited by
    #1

    Since I have got the options to have custom tags/attributes that can do wonders, I am in a phase to decide which to use (and in what situation) in normal line of business application. Assuming that I have flexibility to choose either architecture to build web app. Tag helpers or Angular Directives? I, personally, would not like to mix both in same application. Some parameters I am considering: 1. Security: Risk of leaking out by business logic even if it is UI related business logic. 2. Client side vs server side: code execution, caching result of custom tag (if feasible), data binding. 3. Performance: Load time, execution time, memory taken in server as well as browser. 4. Flexibility: watching change in my custom tag and providing dynamic behavior accordingly. 5. Logging and Exception handling: Should log to a persistence storage if exception occurred. 6. Modularity/Portability: I should be able to port my directives/taghelpers to other apps easily with single copy of source code (let version control handle other things). 7. Customization: Any custom needs should be derived from my native directive/tag helpers. 8. Features and community support. 9. <Add your parameter here>... Requesting to share your opinion on a scale of 10 against each parameter. I know all parameters can be handled properly in both technologies, but, Which one would you prefer and why?

    Life is a computer program and everyone is the programmer of his own life.

    S L 2 Replies Last reply
    0
    • A Anurag Gandhi

      Since I have got the options to have custom tags/attributes that can do wonders, I am in a phase to decide which to use (and in what situation) in normal line of business application. Assuming that I have flexibility to choose either architecture to build web app. Tag helpers or Angular Directives? I, personally, would not like to mix both in same application. Some parameters I am considering: 1. Security: Risk of leaking out by business logic even if it is UI related business logic. 2. Client side vs server side: code execution, caching result of custom tag (if feasible), data binding. 3. Performance: Load time, execution time, memory taken in server as well as browser. 4. Flexibility: watching change in my custom tag and providing dynamic behavior accordingly. 5. Logging and Exception handling: Should log to a persistence storage if exception occurred. 6. Modularity/Portability: I should be able to port my directives/taghelpers to other apps easily with single copy of source code (let version control handle other things). 7. Customization: Any custom needs should be derived from my native directive/tag helpers. 8. Features and community support. 9. <Add your parameter here>... Requesting to share your opinion on a scale of 10 against each parameter. I know all parameters can be handled properly in both technologies, but, Which one would you prefer and why?

      Life is a computer program and everyone is the programmer of his own life.

      S Offline
      S Offline
      Super Lloyd
      wrote on last edited by
      #2

      Choose Vue[^]! :P I made a few sample / demo here![^]

      All in one Menu-Ribbon Bar DirectX for WinRT/C# since 2013! Taking over the world since 1371!

      1 Reply Last reply
      0
      • A Anurag Gandhi

        Since I have got the options to have custom tags/attributes that can do wonders, I am in a phase to decide which to use (and in what situation) in normal line of business application. Assuming that I have flexibility to choose either architecture to build web app. Tag helpers or Angular Directives? I, personally, would not like to mix both in same application. Some parameters I am considering: 1. Security: Risk of leaking out by business logic even if it is UI related business logic. 2. Client side vs server side: code execution, caching result of custom tag (if feasible), data binding. 3. Performance: Load time, execution time, memory taken in server as well as browser. 4. Flexibility: watching change in my custom tag and providing dynamic behavior accordingly. 5. Logging and Exception handling: Should log to a persistence storage if exception occurred. 6. Modularity/Portability: I should be able to port my directives/taghelpers to other apps easily with single copy of source code (let version control handle other things). 7. Customization: Any custom needs should be derived from my native directive/tag helpers. 8. Features and community support. 9. <Add your parameter here>... Requesting to share your opinion on a scale of 10 against each parameter. I know all parameters can be handled properly in both technologies, but, Which one would you prefer and why?

        Life is a computer program and everyone is the programmer of his own life.

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

        A tag helper as far as I understand runs on the server side and "renders" some HTML crap, while Angular is a client side framework, not sure how you can even compare them. It's not even apples and oranges.

        it ain’t broke, it doesn’t have enough features yet.

        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