Skip to main content

PHP Tutorial - Lesson 1: Introduction to PHP - Part I

Why PHP?

We might find a suitable answer for this question from the answer to the question “What can PHP do?”.
According to PHP official site, PHP can do anything. PHP is mainly focused on server-side scripting, so you can do anything any other CGI program can do, such as collect form data, generate dynamic page content, send/receive cookies. But PHP can do more.
PHP Areas
There are three main areas where php script are used.
Server-Side Scripting: This is the most traditional and main target field for php.
Command Line Scripting: You can make a php script to run it without any server or browser. You only need the php parser to use it this way. These scripts can be used for simple text processing.
Writing Desktop Applications: Actually, PHP is not the very best language to create a desktop application with a graphical user interface. But if you know php very well and would like to use some advance php features in your client-side applications, you can use PHP-GTK to write such programs.
PHP can be used on all major operating systems including Linux, Unix, Microsoft Windows, Mac OS X, RISC OS. 
PHP is an embedded language, which means that we might use non-php codes inside php code, such as html tags and JavaScript codes.
PHP is an OPEN SOURCE language. Which means that you are free to use, develop, and distribute without having any license issues, of course you should read any software privacy and license before use or distribute it.
PHP equipments: server, parser, are free to use and distribute, by a license from PHP official site.
• To download and install server on your localhost, I recommend using AppServNetwork at http://www.appservnetwork.com/ go to downloads page and download server suitable to your operating system. 


PS, download this lesson as PDF file PHP Tutorial - Lesson 1: Introduction to PHP - Part I
Best Wishes, 
Anas Jaghoub  

Comments

Popular posts from this blog

PHP Tutorial–Guest Book–System Definition and Requirements

In this lesson I’m going to illustrate the system definition and requirements for the Guest Book application. It is an important step in developing any application, since this step gives us an orientation about the system and its functionality, what is expected from the system to do. actually the system definition comes from keywords from customers and end users, usually try to make it clear for what they need in the application, and what they expect the system to do.  As developers it is our role to define the requirements for the system to be developed. In our example the system definition for the Guest Book is: A system that allows visitors of the site to post their comments and feedbacks about the site, with the possibility for managing comments and maintain it easily and user friendly. On the other hand, the system requirements are: a web server, since it is clear that the developed system is going to run on the Internet, so it is a web-based application not windows-based.

تعلم تطوير تطبيقات للموبايل باستخدام الأندرويد

مرحبا أصدقائي يسعدني أن أبدأ معكم سلسلة حلقات في تعلم تطوير تطبيقات للموبايل باستخدام الأندرويد ، وسأسعى جاهدا معكم في أن تكون هذه السلسلة من أوائل السلسلات في اللغة العربية لتعليم برمجة تطبيقات الأندرويد من البداية وحتى الاحتراف. وسأحاول قدر المستطاع الشرح بلغة عربية بسيطة ومفهومة. حيث ستكون غدا إن شاء الله الحلقة الأولى من تعلم تطوير تطبيقات الموبايل باستخدام الأندرويد. أنس الجاغوب Twitter: @anasjaghoub Facebook: anasjaghoub

Web Development Best Practices (PHP Best Practices)

Websites development is one of the most challenging projects ever to develop, according to the large number of components you deal with, integrate, and manage in your application. For example, most web projects Deal with databases as their data source, and I ntegrate with external services called web services and APIs. As well the application M anages its own objects and components from views to models to controllers to plugins and so on. A skilled web developer should have a great/deep knowledge in most of components used in his system, and as well should ha ve intensive focus on how each component work and how can be used, what can be done, and what cannot. On the other hand, the huge amount of requirements, components to manage, and time frame given to you to accomplish your mission, and number of people in your team, all these factors together requires from you to organize your tasks, and priorities your requirements, do deep analysis and planning in order to have a hi