I
I
Ivan Timofeevich2015-12-21 23:09:36
PHP
Ivan Timofeevich, 2015-12-21 23:09:36

What is the state of affairs with PHP on the front?

It is necessary to do the front (rendering) in PHP, under a separate back. That is, PHP will accept requests, give them to the API, receive a response and render it. The API is also in PHP.
1. Where can I find the status of PHP?
2. What runtime to take (php-fpm, amphp, php-pm, KPHP, Hip-Hop)?
3. What framework to use? (now Zend is standing)
4. What about internationalization (what approaches are in use)?
5. How is it with KPHP and Hip-Hop?
I love higher order functions, hashes and "Simple Made Easy" approaches , how about PHP? I heard that it is Easy, but not Simple, but also that it is designed to die . And it would be desirable for me to plan on the front the ability to also distribute notifications from the web socket.
Regards, Ivan.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
index0h, 2015-12-21
@overmind0

To paraphrase your question: what is the status of the nail hammer?))
php.net
habrahabr.ru
opennet.ru
7 just came out, so far it's dangerous. Take 5.6
See what project.
If an implementation from a framework is used, then what is in the framework. If samopis - how to write so be it.
In php, of course, they can be used, but only where necessary. Generally speaking, this is excellent practice for shooting eggs.
That's right, it's a stateless language, it's designed in such a way that they haven't come up with a better one for their tasks.
Plan for your health, but on the backend, nodejs is better suited for this. Demons write in php, of course, but this is not the intended use of the language, such things.

A
Alexander Aksentiev, 2015-12-21
@Sanasol

Everything is fine with php.
and this does not apply to him at all, unless the server is made on it (bad idea)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question