473,326 Members | 2,099 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

IBM Goes Gonzo Now for PHP!

This is big news!

http://story.news.yahoo.com/news?tmp...4&sid=96120751
http://story.news.yahoo.com/news?tmp...0&sid=96742458
http://story.news.yahoo.com/news?tmp...0&sid=96120750

Please don't consider this a troll -- my contributions to this
newsgroup should show that I am not. However, I have to speak out
against Java for a few reasons and cite this move from IBM as a big
boost for PHP and a chip away at Java. So, if you're a newbie who is
pondering which language to switch to, I don't recommend Java. Heck,
even Sun's own Scott McNeally once said that they underestimated LAMP
(and my favorite -- LAPP (because of PostgreSQL instead of MySQL)).

I used to be a Java fan before I became a PHP fan. I used to do Java
Server Pages and had also done some standalone Java apps with a GUI. I
was Java crazy. But then I was blinded by my own enthusiasm, blocking
out the sun. I soon realized that the object nazis have infected Java
with a slow, convoluted API. In order to do what would normally be some
simple tasks in Java, you often have to fight with the strict typing.
For instance, I recall time after time of finding the very function I
wanted to get something done, but then found I had to run my string or
other variable data through anywhere from 5 to 6 hard-to-understand,
poorly documented APIs in order to get the right data type ready to
send to my final function I had found to complete the task. So then
they say, "Yeah, but well, that strict typing means you have more
speed," but I don't buy that. It meant more APIs (each with their own
speed hit) and the strict typing didn't give me any more performance
gain than I would have with other comparable languages. And then there
was the Java version thing with almost an uncanny lack of regard for
prior support. And last there was the Java vendor thing where my Java
code won't work on your Java vendor's server software.

Last, I have to speak out against all this object modeling stuff which
is something that happens with .NET and Java dev teams. Programmers
these days often go too far in this direction, delaying project
deadlines in the name of object purity and object worship. Sure, the
opposite side of this -- spaghetti code -- is a bad thing, but like the
ancient Greeks used to say, "Nothing in excess" is the best advice. I
can sit down with some good thought and prior work on PHP, think out a
good long range strategy with only a handful of objects, and knock a
project out in record time. I can even make it so that a workgroup of
programmers can each work on their part of the PHP project without
being hung up in object workshops (which should be called object ritual
ceremonies).

So, newbies -- go PHP, not Java, and you'll see what I mean. It's like
a breath of fresh air.

Jul 17 '05 #1
6 1461
In the article they also mention that they wish to push Cloudscape.
Let's hope they don't try to push a Cloudscape/PHP combo. That would
like totally suck, and here's why:

* It would basically mean that you now have a Java dependency, and I've
already spoken out about that here.

* Cloudscape is like HSQL. The main Swiss developer who wrote HSQL left
that for Cloudscape. Am I right on this? There are some similarities in
concept. I recall using HSQL and was thrilled with its low dependencies
and how powerful it was. I also looked at the early Java code for that
project and was fascinated by how simple the design was, which should
be an inspiration for any GCC++ programmer out there if they want to
build something comparable in C++ that runs much faster. However, that
was in my Java days which I have since left behind, most gladly.

* One of the reasons that PHP is great is because its extension
libraries are writen in GCC++ and so are cross-platform and run fast.
So when you want a database, PHP gives you APIs that are super fast to
reach it.

* My recommendation for PHPers is PostgreSQL as one's database of
choice, no matter how large or small the project. I'm like a bigot in
this sense and I'd be hard-pressed, after my excellent experiences with
it, to leave it for something else. PostgreSQL simply just /works/. And
I have tried and left MySQL behind. In fact, here's a link for you PHP
developers on a recent survey of open source databases:

http://weblog.infoworld.com/techwatc...es/001018.html

....which lists MySQL as #1, but, surprisingly, Firebird is now #2.
PostgreSQL is #3, but perhaps it has to do with the funny name?? Notice
how everything else falls way down in percentage of usage.

Jul 17 '05 #3
"Google Mike" <go********@hotpop.com> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
Last, I have to speak out against all this object modeling stuff which
is something that happens with .NET and Java dev teams. Programmers
these days often go too far in this direction, delaying project
deadlines in the name of object purity and object worship. Sure, the
opposite side of this -- spaghetti code -- is a bad thing, but like the
ancient Greeks used to say, "Nothing in excess" is the best advice. I
can sit down with some good thought and prior work on PHP, think out a
good long range strategy with only a handful of objects, and knock a
project out in record time. I can even make it so that a workgroup of
programmers can each work on their part of the PHP project without
being hung up in object workshops (which should be called object ritual
ceremonies).


I am not sure IBM's declaration is such great news. Their involvement will
probably destroy the very thing you described that's nice about PHP.
Jul 17 '05 #4
NC
Google Mike wrote:

I soon realized that the object nazis have infected Java
with a slow, convoluted API.


Guess what? Now they are doing it to PHP, too... :)

Cheers,
NC

Jul 17 '05 #5
Yikes. Didn't think of that. I'll keep it in mind.

Jul 17 '05 #6
Hi Mike,

If you would have known a little about the history of OO you wouldn't
have had to try out Java yourself to know that it was just another
product that attempted to get away with stealing one of Smalltalk's
features and not be haunted by the rest of it's fabulous design. Like
Bill, who stole the GUI (thoug it was already second hand by then) and
ignoored the VM, got haunted by the VM through Java, Java is now haunted
by weak typing. I wonder what will be next.

Greetings,

Henk Verhoeven,
MetaClass.

Google Mike wrote:
This is big news!

http://story.news.yahoo.com/news?tmp...4&sid=96120751
http://story.news.yahoo.com/news?tmp...0&sid=96742458
http://story.news.yahoo.com/news?tmp...0&sid=96120750

Please don't consider this a troll -- my contributions to this
newsgroup should show that I am not. However, I have to speak out
against Java for a few reasons and cite this move from IBM as a big
boost for PHP and a chip away at Java. So, if you're a newbie who is
pondering which language to switch to, I don't recommend Java. Heck,
even Sun's own Scott McNeally once said that they underestimated LAMP
(and my favorite -- LAPP (because of PostgreSQL instead of MySQL)).

I used to be a Java fan before I became a PHP fan. I used to do Java
Server Pages and had also done some standalone Java apps with a GUI. I
was Java crazy. But then I was blinded by my own enthusiasm, blocking
out the sun. I soon realized that the object nazis have infected Java
with a slow, convoluted API. In order to do what would normally be some
simple tasks in Java, you often have to fight with the strict typing.
For instance, I recall time after time of finding the very function I
wanted to get something done, but then found I had to run my string or
other variable data through anywhere from 5 to 6 hard-to-understand,
poorly documented APIs in order to get the right data type ready to
send to my final function I had found to complete the task. So then
they say, "Yeah, but well, that strict typing means you have more
speed," but I don't buy that. It meant more APIs (each with their own
speed hit) and the strict typing didn't give me any more performance
gain than I would have with other comparable languages. And then there
was the Java version thing with almost an uncanny lack of regard for
prior support. And last there was the Java vendor thing where my Java
code won't work on your Java vendor's server software.

Last, I have to speak out against all this object modeling stuff which
is something that happens with .NET and Java dev teams. Programmers
these days often go too far in this direction, delaying project
deadlines in the name of object purity and object worship. Sure, the
opposite side of this -- spaghetti code -- is a bad thing, but like the
ancient Greeks used to say, "Nothing in excess" is the best advice. I
can sit down with some good thought and prior work on PHP, think out a
good long range strategy with only a handful of objects, and knock a
project out in record time. I can even make it so that a workgroup of
programmers can each work on their part of the PHP project without
being hung up in object workshops (which should be called object ritual
ceremonies).

So, newbies -- go PHP, not Java, and you'll see what I mean. It's like
a breath of fresh air.

Jul 17 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: krystoffff | last post by:
Hi all ! I've got a very weird problem ! I was trying to make my PHP script to send emails to every subscribed member to go faster (each email takes 1 or 2 seconds to be sent !) so I tried to...
3
by: Steve Macleod | last post by:
Hi, I am using the following code to initialise a session, depending on whether-or-not the users' log in attempt has been successful. if ($session_ok == "TRUE") { //open the session...
6
by: gs | last post by:
Sorry if it will be second post, but after few hours I still can't see my previous post. I have problem with decimal parts on Solaris (PHP+ZendOptimizer). When I get value from MySQL (or from...
2
by: Andre Phandana | last post by:
Hi, I tried to send email from my server using mail() but the email goes to @xyz.com junk mail folders. Why is that so? How can I fix it? Thank you, --Andre Phandana
5
by: noname | last post by:
I made a test page that just outputs about 100 date('Y-m-d H:i:s'); Occationally (say, 1 out of 30 tries) the time goes backwards by one or two seconds. Like: 2006-11-14 07:29:16 2006-11-14...
2
by: cxian | last post by:
Hi all, I am trying to download files from a remote with the use of ftp_get. Somehow, the script always return to false. Here's what I got: $conn_id = ftp_connect($ftp_host);...
2
by: jonas1000 | last post by:
Hello! I've been looking for some code to help me to do this. My site is loading every html file in a div using a javascript code like this one: http://www.thescripts.com/forum/post2614087-3.html...
6
by: neearj2008 | last post by:
i am trying to send mail through php, it goes to bulk for rediff and yahoo. what should i do to prevent this?
2
mikek12004
by: mikek12004 | last post by:
Before posting here I google it and saw ablut 30 pages for a solution so I pretty much excluded the obvious things. The code is <?php //now to send the mails to seller...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.