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. Design and Architecture
  4. Design question for a Plugin Framework

Design question for a Plugin Framework

Scheduled Pinned Locked Moved Design and Architecture
helpworkspacedesignsecuritydebugging
3 Posts 2 Posters 5 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.
  • S Offline
    S Offline
    ssack
    wrote on last edited by
    #1

    Had this question in the wrong forum. I'm at a breakpoint with my architecture and could use some guidance in finishing up my vision. I will give a rundown of the current architecture so far: This is a plug-in architecture, that automates the loading and un loading of plug-ins for the users and developers. By using a defined interface and custom attributes my architecture will auto load plug-ins without the use of ini files or configuration files. The current issue I have is security and applying security filters to screens as they display. What basically will happen is an admin will setup security and access points for roles. Roles are then assigned to a user. What I need is to be able to disable, hide, unhide or re-enable elements on the form at the time the page is loaded based on that users security role. This is simple if I have every developer call a set of security procedures, but what I want is the framework to automatically do this for the developer. The one idea so far is the use of “Application Event Handler” which is looking for a certain windows message to be sent. I was wondering if anyone else had any other ideas that might be worth looking into. ( IE: any patterns or such) Thanks for the Help. Sal

    L 1 Reply Last reply
    0
    • S ssack

      Had this question in the wrong forum. I'm at a breakpoint with my architecture and could use some guidance in finishing up my vision. I will give a rundown of the current architecture so far: This is a plug-in architecture, that automates the loading and un loading of plug-ins for the users and developers. By using a defined interface and custom attributes my architecture will auto load plug-ins without the use of ini files or configuration files. The current issue I have is security and applying security filters to screens as they display. What basically will happen is an admin will setup security and access points for roles. Roles are then assigned to a user. What I need is to be able to disable, hide, unhide or re-enable elements on the form at the time the page is loaded based on that users security role. This is simple if I have every developer call a set of security procedures, but what I want is the framework to automatically do this for the developer. The one idea so far is the use of “Application Event Handler” which is looking for a certain windows message to be sent. I was wondering if anyone else had any other ideas that might be worth looking into. ( IE: any patterns or such) Thanks for the Help. Sal

      L Offline
      L Offline
      led mike
      wrote on last edited by
      #2

      ssack wrote:

      IE: any patterns or such

      Have you had a look at the Portland Pattern Repository?

      S 1 Reply Last reply
      0
      • L led mike

        ssack wrote:

        IE: any patterns or such

        Have you had a look at the Portland Pattern Repository?

        S Offline
        S Offline
        ssack
        wrote on last edited by
        #3

        No i have not, thanks for the heads up and i will take a look.

        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