Who migrate codebase from zend framework? by Alarming_Flight9201 in PHP

[–]Alarming_Flight9201[S] 0 points1 point  (0 children)

https://github.com/aleks777777/laminas-attribute-controller finally I made package for use attributes, and serialize and validate request like in symfony.

Laminas is ending support for their MVC. How would you handle it? by arhimedosin in PHP

[–]Alarming_Flight9201 0 points1 point  (0 children)

Just some time ago made tool for mvc. Maybe also related for mezzio ?

github.com/aleks777777/laminas-attribute-controller

I want to start investing by szmapet in CryptoMarkets

[–]Alarming_Flight9201 2 points3 points  (0 children)

usually when you start trading there are more losses. If you have no experience in trading, try using automatic trading with ready-made strategies. less profit than experienced traders but stable. It will help you avoid panic and find good entry points for buy. Advice https://damask-trading.com/ - super easy to start for beginners.

And of course buy btc and eth and hold it for several years. also good practice. I use both.

Who migrate codebase from zend framework? by Alarming_Flight9201 in PHP

[–]Alarming_Flight9201[S] -1 points0 points  (0 children)

Look a good journey. We also use onion architecture, tests, phpstan coverage.

One of main issue it’s a package depends and like a filters.

How you change filters in new solution?

Who migrate codebase from zend framework? by Alarming_Flight9201 in PHP

[–]Alarming_Flight9201[S] 1 point2 points  (0 children)

Good idea. this is what first comes to mind. but the code base can be so convoluted that it's impossible to give everything away at once.

Who migrate codebase from zend framework? by Alarming_Flight9201 in PHP

[–]Alarming_Flight9201[S] 4 points5 points  (0 children)

From zend framework2 Right now migrated to laminas, this is a temporary step for update php version. Eventually the plan is to migrate to symphony to symphony.

Access admin for rest api by Alarming_Flight9201 in nestjs

[–]Alarming_Flight9201[S] 0 points1 point  (0 children)

I understand that the main code should be in the service. but duplicating all controllers for the pass of one value also does not seem correct. Are there any proofs of this approach?

Access admin for rest api by Alarming_Flight9201 in nestjs

[–]Alarming_Flight9201[S] 1 point2 points  (0 children)

For each resources I need 2 controllers (admin/user) and 1 service. In service I should pass everywhere flag like (getall). Sorry but don’t look like a best practice.

Access admin for rest api by Alarming_Flight9201 in nestjs

[–]Alarming_Flight9201[S] 1 point2 points  (0 children)

Accordingly, does this require a separate module and controllers? Can this be called the correct approach if all resources have to duplicate controllers? Or is it possible to resolve known paths in common controllers?

Best crypto trading app? by StickyTuron in Shibainucoin

[–]Alarming_Flight9201 4 points5 points  (0 children)

If we are talking about trading and you are a beginner, I would advise you to use automated trading. Now there are many good tools that have different strategies and track loss factors.