About PHP


PHP is a general-purpose scripting language especially suited to web development. It was created by Danish-Canadian programmer Rasmus Lerdorf in 1994; the PHP reference implementation is now produced by The PHP Group. PHP originally stood for Personal Home Page, but it now stands for the recursive initialism PHP: Hypertext Preprocessor.[9] PHP code is usually processed on a web server by a PHP interpreter implemented as a module, a daemon, or as a Common Gateway Interface (CGI) executable. On a web server, the result of the interpreted and executed PHP code – which may be any type of data, such as generated HTML or binary image data – would form the whole or part of an HTTP response. Various web template systems, web content management systems, and web frameworks exist which can be employed to orchestrate or facilitate the generation of that response. Additionally, PHP can be used for many programming tasks outside of the web context, such as standalone graphical applications and robotic drone control. Arbitrary PHP code can also be interpreted and executed via a command-line interface (CLI). The standard PHP interpreter, powered by the Zend Engine, is free software released under the PHP License. PHP has been widely ported and can be deployed on most web servers on almost every operating system and platform, free of charge. The PHP language evolved without a written formal specification or standard until 2014, with the original implementation acting as the de facto standard which other implementations aimed to follow. Since 2014, work has gone on to create a formal PHP specification. By September 2020, two out of every three websites using PHP are still on discontinued PHP versions, and almost half of all PHP websites use version 5.6 or older, that not even Debian supports (while Debian 9 still supports version 7.0 and 7.1, those versions are unsupported by The PHP Development Team). In addition, PHP version 7.2, the most popular supported PHP version, will stop getting security updates on November 30, 2020, in less than 2 months, and therefore unless PHP websites are upgraded to version 7.3 (or newer), 84% of PHP websites will thus use discontinued versions. PHP development began in 1994 when Rasmus Lerdorf wrote several Common Gateway Interface (CGI) programs in C, which he used to maintain his homepage. He extended them to work with web forms and to communicate with databases and called this implementation "Personal Home Page/Forms Interpreter" or PHP/FI. PHP/FI could be used to build simple, dynamic web applications. To accelerate bug reporting and improve the code, Lerdorf initially announced the release of PHP/FI as "Personal Home Page Tools (PHP Tools) version 1.0" on the Usenet discussion group comp.infosystems.www.authoring.CGI on June 8, 1995. This release already had the basic functionality that PHP has today. This included Perl-like variables, form handling, and the ability to embed HTML. The syntax resembled that of Perl but was simpler, more limited, and less consistent. PHP bootstrap - I recommend you use frontend frameworks such as Bootstrap or Tailwind CSS if you are an HTML, CSS, and JavaScript beginner. Bootstrap is a framework to assist you with planning HTML components in your sites quicker and simpler. It incorporates HTML and CSS-based components for forms, tables, modals, images, etc. It likewise gives you support for JavaScript customization as well. You do not have to cram each and everything but, you should use the official bootstrap site www.getbootstrap.com whenever you need to copy any component. I have copied a navbar from the bootstrap website. You can get some very good-looking nav bars that you can copy and paste in your PHP codebase and you can further edit the company names, the dropdown, and other elements in the navbar. Just keep watching this video series and with time we will be exploring various tags, assisting tools, and many other things which will help us become an excellent web programmer. Or you can use java for the backend

0 Comments