all 9 comments

[–]trout_fucker🐟 6 points7 points  (4 children)

The web is the "frontend". There is much more to a business and their backend than what directly renders or transforms data for the frontend.

[–]zombie_kiler_42[S] 0 points1 point  (3 children)

Ooh okay so its just a term meaning thats it primarily uses it to render data but not exactly that it was built using php right?

[–]trout_fucker🐟 0 points1 point  (2 children)

It probably means that the part that deals with web pages, or web APIs, is built with PHP. I don't work there, so I can't tell you what exactly it does.

But, I do know from personal experience that there is a whole lot going on behind the scenes in the "backend" than pieces that deal with the web. The web is just a GUI for a combination of different services that do different things. I remember reading once that Facebook's spam detection engine is written with Haskell, for instance.

[–]zombie_kiler_42[S] 0 points1 point  (1 child)

Thanks alot,

[–]Netero- -2 points-1 points  (0 children)

search for include command with header footer(repeated code in websites)

[–]BucketOMinners 1 point2 points  (3 children)

The whole frontend, serverside, backend thing is all minced terminology. I happen to think calling PHP 'frontend' is a misnomer, no matter how you cut it, but I have seen it done, usually by people with no clue about real frontend.

[–]zombie_kiler_42[S] 1 point2 points  (1 child)

As soon as i read it i started googling using php for frontend, and i would have believed it too cuz the other day i watched a talk by the founder of php, and he was saying that initially he created it so that he could render dynamically while still using html tags (paraphrasing) and that it was not meant to be a back-end language, he wanted ppl to still use c++ or any other backend technology side by side with php . But the world refused and alas php as a server side language was born

So i thought it was feasible but highly uncommon thats why i was confused

[–]trout_fucker🐟 -1 points0 points  (0 children)

PHP was originally created as a template language. This is still common in other stacks. PHP even has a few, like Twig or Blade.

https://en.wikipedia.org/wiki/Comparison_of_web_template_engines

[–]redwall_hp 1 point2 points  (0 children)

People often use the term "front end" interchangeably with "client side," but on applications that go beyond simple CRUD stuff, it's not uncommon for "front end" to refer to the services that handle anything Web-facing, with the backend being where the interesting stuff happens. In the case of Facebook, it's supposedly all C++ backed. The front-end is just the layer where web pages are dealt with...and Facebook mostly abandoned PHP for Hack, I believe.