Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skeleton App components #40

Open
gianarb opened this issue Nov 3, 2015 · 11 comments
Open

Skeleton App components #40

gianarb opened this issue Nov 3, 2015 · 11 comments

Comments

@gianarb
Copy link

gianarb commented Nov 3, 2015

Hello Guys!

Idea around the best components to build this skeleton application? :)

  • php-di
  • event-manager
  • diactoros

and.. ? :)

  • Twig
  • doctrine
  • monolog

Develop

  • VarDump
  • filp/whoops
@gianarb
Copy link
Author

gianarb commented Nov 3, 2015

@EmanueleMinotto can you help me to understand Puli? :)
maybe it could be a good solution to load external components here.

@samsonasik
Copy link
Member

twig and filp/whoops ;)

@samsonasik
Copy link
Member

but plates is ok

@EmanueleMinotto
Copy link

@gianarb sure, ping me on hangout when you want :)
I don't know what you mean with "components", just be aware that Puli is more about resources (not only assets, but no PHP logic, there are PSRs for the PHP logic).

@samsonasik
Copy link
Member

@gianarb time for fast-eventmanager usage?

@gianarb
Copy link
Author

gianarb commented Nov 10, 2015

Yes we must replace it in penny..

Maybe we can write a layer to use it in penny.. :) What do you think?

@samsonasik
Copy link
Member

Did you mean layer means separate repo? if yes, then I prefer just use it
in penny repo instead, many repo - many effort to maintain.

Warm Regards,

Abdul Malik Ikhsan

2015-11-10 15:07 GMT+07:00 Gianluca Arbezzano [email protected]:

Yes we must replace it in penny..

Maybe we can write a layer to use it in penny.. :) What do you think?


Reply to this email directly or view it on GitHub
#40 (comment)
.

@gianarb
Copy link
Author

gianarb commented Nov 10, 2015

At the moment doesn't exist a good structure to change the event manager, you can replace it by DiC but without a guarantee because doesn't exist interface/s on this implementation :)

@fntlnz
Copy link
Contributor

fntlnz commented Nov 10, 2015

👍 for php-di + doctrine + twig :)

@gianarb
Copy link
Author

gianarb commented Nov 11, 2015

many repo - many effort to maintain

@samsonasik too easy! There are a lot of words to spend about this topic.. :)

If we create separate repositories we remove event-manager dependency by penny and every developer can choose your best implementation.

An intermediate project, between Zend\EventManager and penny or between FastEventManager and penny is necessary because penny will require an interface to work with different evm implementations.

for example

<?php
use Penny\Event\PennyEventInterface;

interface PennyEVMInterface
{
    public function trigger($eventName, PennyEventInterface $event);
    public function attach($eventName, callable $listener);
}

To guarantee the correct flow of every evm implementations.

@samsonasik
Copy link
Member

Ok ;)

Warm regards,

Abdul Malik Ikhsan

Pada 11 Nov 2015, pukul 08.02, Gianluca Arbezzano [email protected] menulis:

many repo - many effort to maintain

@samsonasik too easy! There are a lot of words to spend about this topic.. :)

If we create separate repositories we remove event-manager dependency by penny and every developer can choose your best implementation.

An intermediate project, between Zend\EventManager and penny or between FastEventManager and penny is necessary because penny will require an interface to work with different evm implementations.

for example

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants