I am having some trouble creating a beginning ZF2 application. My trouble stems from still learning ZF2, and from a LOT of options available when it comes to development, and a lot of modules available, and from not being crystal clear on how to deal with such modules.
Here is what I want to do: I want to create a basic application where a user can: * sign up (verify themselves via email) * authenticate themselves (log in), * if the user is authorized, they can access a protected "resource" page * various resources have their own sets of permissions (aka permissions are not global) * (eventually) a page where I can edit users, resources, and access permissions Sounds great, and this can be kind-of done by several different modules, if you do not care about how the details are implemented. And here is the problem: I would like to have more of a precision control over how things are implemented at the database level. In fact, I have created a database model of how my 'user' will look like, what 'roles' the user will have, what 'access permissions' the user will have to what 'resources', how users can form 'teams', and how 'users' can have access to certain 'teams. In a word, my specific business logic. No module out there has my desired business logic, nor how would they? They do not know what my application is. I need to make my own customizations. Not knowing how to use ZF2 I downloaded coolcsn modules and started hacking up the code in 'vendor' packages, realizing only today that I am not supposed to do this. I was doing it all wrong. It was going along splendidly, but I want to do things right, so now I am back to square one. My question is: How can I create an application, where the above-listed specifications hold true, and I have freedom to define my database relations, tables, and objects, the way I see fit? Do I use modules, do I create my own, do I do something else? Can you give me a concrete, possibly detailed set of steps that I can follow please? Thank you for reading! -- View this message in context: http://zend-framework-community.634137.n4.nabble.com/Having-trouble-writing-a-basic-application-after-making-first-steps-into-ZF2-tp4661220.html Sent from the Zend Framework mailing list archive at Nabble.com. -- List: [email protected] Info: http://framework.zend.com/archives Unsubscribe: [email protected]
