scanreg Posted October 15, 2009 Share Posted October 15, 2009 I'd like to build a shopping system that allows suppliers to upload their data, etc., in addition to the usual shopping system activities. Would it be better to have separate 'sections' of the system for each type of user: /cart/ ../staff/ ../admin/ ../suppliers/ or would it make sense to have a uni-login that then displays whatever the logged-in user has permission to access? I've seen both approaches. Thanks Link to comment https://forums.phpfreaks.com/topic/177781-solved-shopping-system-architecture-customers-staff-admin-suppliers-best-way/ Share on other sites More sharing options...
johnsmith153 Posted October 15, 2009 Share Posted October 15, 2009 Either would work. As long as when they are logged-in they are redirected to the correct area. You certainly wouldn't want customers seeing any text that only suppliers would see. Ensure you have seperate databases for each login type though - as data stored is bound to be different. Personally I would also have seperate areas for each type: www.shoppingsite.com for customers www.shoppingsite.com/supplier www.shoppingsite.com/staff ...but you don't have to as the system could divert to these areas if everyone went to one login page. (but if you do get them to all login on the same page, there must be some way to identify whether they are a customer / supplier / staff - so you can't let a customer AND a member of staff both have the same username. I would do the seperate login pages. Link to comment https://forums.phpfreaks.com/topic/177781-solved-shopping-system-architecture-customers-staff-admin-suppliers-best-way/#findComment-937424 Share on other sites More sharing options...
scanreg Posted October 15, 2009 Author Share Posted October 15, 2009 Yes, agreed, I was thinking the same Thanks Link to comment https://forums.phpfreaks.com/topic/177781-solved-shopping-system-architecture-customers-staff-admin-suppliers-best-way/#findComment-937442 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.