Z
Z
zeuss562018-04-27 22:44:23
PHP
zeuss56, 2018-04-27 22:44:23

How to build web service architecture in PHP?

Today I went through scripts from three years ago again, put everything together, threw out the garbage and that's what happened.
I am attaching two archives: an unfinished framework (I collected everything in lib and made a router), also an unfinished MVC application
. I'm tired and can no longer mess with this junk, but the thought that I'm halfway to creating my own mini-framework amuses me.
How to properly design PHP applications and what advice can you give on what you have attached? What's next to turn this into a working framework? Perhaps all this is not necessary and it is better to use ready-made solutions, and not a bicycle?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Y
Yan-s, 2018-04-27
@zeuss56

https://www.youtube.com/watch?v=w4iqxN0nfTs

I
ipokos, 2018-04-28
@ipokos

Perhaps all this is not necessary and it is better to use ready-made solutions, and not a bicycle?

And what is the general purpose of writing a bicycle (Besides the only goal, to learn)?
(well, and another option, if you have such a unique functionality that this is nowhere close to being used)
In other cases, a ready-made solution is better, at least for the following reasons:
- they are made by more than one person
- a lot of time is devoted to extensibility and universality
- more application being tested
- more time for micro-optimization
If you take a few popular frameworks, then what's the point of reinventing the wheel? (besides, as I wrote above - learn)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question