Posts Tagged ‘cli’

PHP Programming is Your Ticket to Web Success

Jon Caldwell asked:


Just like any programming language today, PHP has its share of commands which we now call as tags. These as the ones used to start and end a program or a website output in this case.

For some people, it may be too complicated but given a couple of sessions and trial on how to program using PHP, most of these tags such as and will become elementary for most.

You can build a lot of things with PHP and one important program you can compile are file uploaders which will be important when you need to place images or other files necessary for you site.

If you’re a PHP developer who has built a certain number of web applications, then it’s quite probable that you’ve already worked with HTTP file uploads. They play a relevant role in the business logic of any PHP program that permits users to transfer specific files from their client computers to a web server via a web-based front-end, which is generally represented by an online form.

Ranking behind Java, C, and Visual Basic, PHP is the fourth most popular computer programming language that is especially suited for web development. It mainly runs on a web server with PHP code as its input and generating web pages as output. PHP can be installed on web servers, operating systems and platforms. It can be used for command-line scripting and client-side GUI application, as well as with several relational database management systems. The PHP group provides the complete source code for users to build, customize and expand for their own purposes and the best part is, it is free of charge.

PHP is considered to be one of the most popular server-side scripting systems on the web. And because of PHP’s popularity, a new generation of programmers who are familiar with PHP alone makes it possible to open a “command line interface” for PHP. Along with GUI functions support (Gtk or ncurses support), CLI or “command line interface” is a process of interacting with a computer by providing lines of text commands in written structure either from a keyboard input or from a script. This whole process of command line interface is considered to be a major step for PHP as it stands for its implementation as a genuine programming language.

Rasmus Lerdorf in 1994 originally generated PHP as a wrapper around Perl to display his resume information and collect some data like how many hits it was making. In 1995 Leodorf combined his own Form Interpreter with “personal home page tools” to create PHP/FI. In 1997, two Israeli developers of the Technion, Zeev Suraski and Andi Gutmans, rewrote the parser thus the basis of PHP3. PHP/FI 2 was officially released in November 1997 and public testing of PHP 3 began right away and the official launching was in June 1998. in 1999, the two Israelite started a new rewrite of PHP’s core thus producing the Zend Engine. And in May 2000, PHP 4 was released and the development continues with PHP 5.

PHP’s principal focus is server-side scripting which is a web server technology in that involves the process of running a script directly on the web server to create dynamic HTML pages thus fulfilling the user’s request. PHP is originally intended to generate dynamic web pages and its server-side scripting function is the same with other server-side scripting languages that offer dynamic content from a web server to a client, such as http://ASP.NET system of Microsoft, Sun Microsystems’s JavaServer Pages and mod perl. PHP attracted development of various frameworks (code library made for helping in software development) as well that give building blocks and a design structure to promote rapid application development (RAD).



Kansieo.com

Technorati Tags: , ,

/` 100% Easy /` Shell Scripting in Perl (and PHP!)

Yes in this tutorial I demonstrate scripting in Perl and later on demonstrate web scripting language PHP for making regular shell scripts..

This tutorial will let you fiddle around with your scripting ideas, without having to get to “geeky”..

Some of us uber-geeks started with basic on a commodore 64, or started programming in Logo (which is a language that was designed entirely to teach people how to program). Well I feel sorry for those who took Pascal too serriously, and as a result made a teaching language a full fledged programming language.. Yes Delphi started life as a learning language, it was never meant to be a real programming language.. A god awful programming language..

Please if you intend to become a uber-geek, use C, you know literally can learn all the other languages because Perl and PHP and Python are described as being “C-like”.. However LISP is a whole other planet.

I can’t put the scripts here in this description, if I even put a “less-than” symbol youtube’s form filter will croak.

Note, some people still make web scripts in C, and embly if they want bragging rights, weird people.. Now those are the real uber-geeks.. I started programming web scripts in C, but moved to Perl, and now all I use is PHP.. So if you are intent on making web programs, using PHP as a scripting language can’t hurt..

Duration : 1:18:48

Read the rest of this entry »

Technorati Tags: , , , , , , , , , , , , , , ,