PHP client-side?

1

Developing in PHP and, I would love to do everything in PHP only on dynamic programming issues, but I know that to do everything I need web-facing would be impossible without a client-side language.

  

My goal with the dynamic programming language is only for web-based systems, so PHP always becomes the main language of my projects with approximately 80% of the scope.

Is there anything that can make PHP a client-side language, some library, or something? If not, is there any possibility of this happening or a server-side server-side language?

Note: This question is about innovations that I did not expect in the HTML language, for example, I understand that HTML is a static language, but HTML5 now performs dynamic client-side checks on inputs. CSS is a static language for styles, today CSS3 uses dynamic (client-side) conditions for a given class to be loaded.

If I've been wrong, please correct me.

    
asked by anonymous 25.10.2015 / 15:08

1 answer

6

If you are programming for web you have no way to get away from JS. It can escape all programming languages, less than JS. The most you can avoid is just using HTML5. It would limit some actions and I doubt that it would benefit. Learn what you have to learn to do your best for the users. Do not cling to tools.

Use the right tool for each application. There is no universal tool.

Oh, neither PHP, nor other languages can be used in browsers. It would even give someone a converter, but the result would be so bad, they would have to adapt so much that it was not worth the effort.

Some people use PHP as a client but not web. The results are also not wonderful.

    
25.10.2015 / 15:31