![]() |
||||||||
|
|
About PHP - the language for beginnersby Tony Potter
About PHP - the language for beginners
The most popular scripting language used for creating interactive and dynamic websites is PHP. This is not just a statement, but a real fact according to the Internet research companies. The reasons are many â" flexible, compact, easy for learn and usage, including almost all abilities for creating dynamic, contemporary website, covering even the biggest expectations. Created in 1994 as a personal project by Rasmus Lerdorf called âPersonal Home Page Toolsâ, PHP was revised by group of developers and quickly find a place in Internet as PHP: âHypertext Preprocessorâ as in the same time keeps the idea of usage simplicity. Till today PHP is really strong script language with many abilities for web developers and probably the easiest for learning and usage for beginners in programming. It is fact that PHP allows you to achieve a particular goal with just few rows of code, since if you are using other programming languages the same goal may need to write dozens of code lines. This is the main reason why the language has became so popular among the web developers. Using PHP save time and in the same time allows to be created interactive website even by beginners. Here is an example of how some languages display the sentence âHello worldâ. You will see that with PHP it will be just a line. Imagine what is the difference will be if it is a matter of thousand lines of code. ********************************************* Comparison between PHP and other popular languages. ----- Java ----- import javax.swing.*; class HelloWorldSwing { public static void main(String args[]) { JFrame mainWin = new JFrame("MainWindow"); JButton button = new JButton("Hello World"); mainWin.getContentPane().add(button); mainWin.pack(); mainWin.show(); } } ----- C++ ----- using System; class HelloWorld { static void Main() { Console.WriteLine("Hello World"); } } ----- PHP ----- <?php echo "Hello Worldn"; ?> ********************************************* PHP usage. As we mentioned already the big popularity of PHP is mainly because of its flexibility, especially when it must be included into HTML documents. There are arguments about that the PHP is a mixture of Perl, Java and C, but it is most close to C. In this way PHP offer easily abilities for complicated mathematic calculations as well as network functions, mail service, regular expressions and many other options. But indisputably the biggest power of PHP is the ability to use databases. PHP supports the most popular databases like MySQL, PostgreSQL, Oracle, Sybase, mSQL and many others which allows easy and effective websites. Bellow is a list of tutorials on our website regarding PHP. Also we will continue to fill our collection with PHP examples about common and specific issues as well as starter PHP tutorials. Create PHP Testimonials PHP 5: MySQLi Prepared Statements Simple File or Image Uploads Using PHP HTML Working with PHP Arrays Beginning PHP-GTK: Creating a Simple Interface Sending e-mails with PHP mail() function PHP Coding Tips and Tricks How to use PHP while operator Send header to browser with PHP 5 Tips to Write Shorter PHP Code Limit Characters From Your Text PHP info IP Location with PHP How to return more than one value with Functions PHP - Step by Step Howto Integrating Flash file in PHP document Working with PHP functions PHP Array Sort Empty Directories from the files Unix time converter online How to make "Page Load Time" stopwatch on PHP How to convert/encode files to FLV using FFMPEG and PHP Coloring PHP code output in text Check MySQL database connection using PHP test script Also you can visit the official website php.net for changes and updates.
With this article ONLINEHOWTO.net represents citation or only personal opinion of the author and don't targets advertising or discriminating any company, product, service, technology, inovation, etc.
Post Comment
|
RECOMMENDED TUTORIALS Need a specific tutorial? Do not hesitate and submit a request! |
||||||
|
Home | Sitemap |
Terms & Privacy
© ONLINEHOWTO.net 2006-2010 |
||||||||