Help Implimenting a modular structure and role based security

Ok, I have a php/mysql web application I have been building for many years. When I started building the app I didn't know anything about php/mysql, so its pretty amateur, some of the newest code is a bit better....

The web app is a CRM package, but it uses multiple databases, so each account will have their own database but use the same front end code.

The problem is that adding customer specific modules, or any sort of module is a little tedious.

I know nothing about implementing a modular structure. I do have a 'sort of' modular structure, however I don't know if it’s a little amateur as there maybe a much better way of modularising a system.

The module structure is simply a set of fields in the database. At the top of each page I query the table and get back a set of variables. Within the page I use the variables to determine whether to display something or not.

i.e. navdiary = 1 (this is if the diary module is active)

then in the code I would do something like:


If($navdiary == 1){

Echo ‘this is the diary’;


I have also implemented a very standard security system. A user has level 1-5. Level 5 can do everything, level 1 can't!

Again the problem is flexibility. I want to add a role based system.

Now the design I have in mind is basic, however I want the users to be assigned to a role, but they can have individual preferences to.

This was I can assign 10 people to a role that can view notes, and only one person within those 10 that can view and delete the notes.

Now, I don't expect anyone to actually implement this throughout the app (unless you give me a good price!) however I would like you to implement this on a couple of pages. I can then have a go at using the structure and implementing it site wide.

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):

a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.

b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.

3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).

## Platform

Linux/mysql 5/php

Habilidades: Vale Tudo

Ver mais: s.i.s. security, set a bit in c, no structure, modular design, little people for hire, i want to design a building, i hire security, hire security, hire little people, get a coder problem, get a coder app, echo web design, echo design, database design for crm, app get linux, amateur good design web site, package structure design, very basic crm, Structure, php software structure mysql, customer help, crm app, mysql structure, bit linux web server, price building database

Acerca do Empregador:
( 71 comentários ) Northwood, United Kingdom

ID do Projeto: #3021680