[UPHPU] Rails vs PHP
John David Anderson
uphpu at johndavidanderson.net
Mon Mar 26 16:38:12 MDT 2007
On Mar 26, 2007, at 4:23 PM, Joshua Simpson wrote:
> On 3/26/07, Roberto Mello <rmello at fslc.usu.edu> wrote:
>>
>>
>> Can you give us some examples of functionality that is PHP but not in
>> other languages? 'cause I don't see this at all.
>
>
> Obviously, it's not possible. And I like to quote Python, so I
> will here.
> urllib, and urllib2
http://php.net/fopen (you can do "fopen("http://...");
http://php.net/curl
> and BeautifulSoup, and HTMLParser, all offer far more
> possibilities than PHP, and I don't think anyone can argue that
> (woe to
> those who do!).
http://php.net/tidy-get-html
Are these comparable?
> Well, this is why I compare PHP to other language's frameworks;
> all PHP
> offers is a simple, function derivative focus on the web, while
> Ruby on
> Rails offers a complete package ( as much as I may dislike Ruby
> itself ),
> and the various Python frameworks do the same.
PHP isn't just for web development. First example that comes to mind
is PHP-GTK, but there are process control functions and other stuff
in there, too. I also use PHP scripts for most sysadmin tasks.
-- John
More information about the UPHPU
mailing list