Introductions to PHP
what is PHP ?
- PHP is an acronym for “PHP: Hypertext Pre-processor “
- PHP is widely – used, open source scripting language
- PHP is server scripting language.
- A powerful tool for making dynamic and interactive web pages.dynamic mean user change data time to time as need that date come from PHP.
- PHP 8.1 is latest stable release time to time update.
- It is integrated with a number of popular databases including MYSQL, POSTGRESQL, ORACLE, SYBASE, INFORMIX, and Microsoft SQL Server.
what is PHP file?
- PHP file can contain text, HTML, CSS, Java Script, and PHP code
- PHP code is executed on the server and the result is returned to the browser as plain HTML.
- PHP file have extension “.php”
so our next steps is PHP Frameworks and Content Management System (CMS)
What is: Content Management System (CMS)
A content management system, or CMS, is software that is used to develop websites and material for publication on the internet. CMSs often allow you to build a website without writing any code.
To construct a website and publish your material online in the early days of the web, you needed to know HTML. That used to be difficult, but CMS has made it much simpler. The CMS software writes your website code for you instead of you building it from scratch.
Consider it like driving a vehicle. You don’t need to comprehend the mechanics of how anything works. Instead, you utilise a simpler dashboard and pedals to instruct the automobile.
You may log in to your website dashboard and utilise a simpler interface to create web pages, add content, and change the look with a sophisticated CMS platform like WordPress. The CMS will then undertake the hard job of developing the code for you.
With the correct CMS, you may develop a blog, an eCommerce business, an instructional website, portfolios, and much more.
what is PHP Frameworks ?
PHP frameworks aid in streamlining and improving workflow. These technologies offer resources to make the web development process easier, such as libraries of pre-made code and components to minimise repetitive writing.
Why You Should Use PHP Frameworks
A PHP framework offers the fundamental structure and components for developing online applications. It also reuses code to prevent repeating chores. However, there are several advantages beyond simply speeding up the development process.
11 Best PHP Frameworks For Beginner to Pro Developers
- Laravel – a popular PHP web framework with great extendability for high-quality applications.
- CodeIgniter – one of the most popular PHP frameworks with MVC support, great for creating lightweight web applications.
- Symfony – a modular PHP framework with a built-in debugging system and extensive documentation.
- Laminas Project – an object-oriented framework that consists of three parts: the main MVC-based PHP framework, the middleware application builder, and the RESTful API builder.
- Phalcon – a lightweight C-based PHP framework designed to be fast.
- CakePHP – the first MVC-based PHP framework with the most thorough set of libraries.
- Yii – a PHP framework that packs many features, including built-in security measures, a code generator, and a customizable setup.
- FuelPHP – a powerful PHP framework that supports HMVC architecture.
- Slim – a PHP micro-framework that’s perfect for developing web applications for HTTP requests.
- PHPixie – an HMVC-based PHP framework that features fully-tested independent components.
- Fat-Free Framework – a modular PHP micro-framework with great plugins available.
so you need upload any framework program upload on any server for use php.
List of PHP server
- WAMP ( windows, Apache, MySQL, PHP ) for windows
- LAMP ( Linux, Apache, MySQL, PHP) for Linux
- MAMP (Mac, Apache, MySQL, PHP) for Mac
- XAMPP (Cross, Apache, MySQL, PHP perl ) for Cross