Hi,

I would suggest get the Skeleton App (
http://zf2.readthedocs.org/en/latest/user-guide/skeleton-application.html)
working first as this will give you a basic CRUD implementation that you
can build upon and change.

Then I would suggest installing at ZfcUser (
https://github.com/ZF-Commons/ZfcUser) module as this will give you the
authentication aspect you are looking for -  you can of course edit this to
your liking.

Build Incrementally.

HTH
Daniel


On 15 November 2013 07:52, [email protected] <
[email protected]> wrote:

> Hello Denis,
>
> Your business logic is very specific.
> Maybe the best way to do it is to try building it yourself.
> Also you will learn a lot. This will take time.
> The most important is to get the app running right, the way you want it.
> If there are no suitable modules you have to build them.
> I can not give you step by step instructions, but start from what is
> obvious.
> First create the Authentication. Just go step by step. If you have to, go
> back
> and refactor.
> There are so many different ways.
>
> Take care!
> Stoyan
>
> > dennis-fedco <[email protected]> hat am 15. November 2013 um 00:03
> > geschrieben:
> >
> >
> > 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]
> >
> >
>

Reply via email to