473,320 Members | 1,612 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,320 software developers and data experts.

PHP clients: what web-service is best? (SOAP etc)

Hi PHP gurus!

Our team will be creating a web-application that must have an easy to use
programmatic interface for our web-developer clients. The data transferred
will primarily be taken from a database (which may be remote) like a true
3-tier app. Load tolerance for us is quite important.

We are considering creating a SOAP service. We have found that the php_soap
extension is easy to use for our clients and seems to do everything we need
(from a client perspective). We have however, heard others mention XML RPC
as a better alternative (especially relative to bandwidth) and just as easy
to consume by PHP.

My main questions for you PHP gurus are:

1) What is the approximate likelihood that clients who have sites that
support PHP will have the soap extension installed (or are willing to
install it). Good? Fair? Bad?

2) Is there a better technology choice for our software development team to
provide a web-service to our web-developer clients? XML RPC, custom CGI
protocol? others?

TIA
J.

Jul 17 '05 #1
4 2653
Hello,

on 12/30/2004 01:17 AM John Doe. said the following:
Our team will be creating a web-application that must have an easy to use
programmatic interface for our web-developer clients. The data transferred
will primarily be taken from a database (which may be remote) like a true
3-tier app. Load tolerance for us is quite important.

We are considering creating a SOAP service. We have found that the php_soap
extension is easy to use for our clients and seems to do everything we need
(from a client perspective). We have however, heard others mention XML RPC
as a better alternative (especially relative to bandwidth) and just as easy
to consume by PHP.

My main questions for you PHP gurus are:

1) What is the approximate likelihood that clients who have sites that
support PHP will have the soap extension installed (or are willing to
install it). Good? Fair? Bad?
Bad. It is PHP 5 only extension. Until PHP 5 gets really popular things
won't improve. Try it in 6 months or more.

2) Is there a better technology choice for our software development team to
provide a web-service to our web-developer clients? XML RPC, custom CGI
protocol? others?


I am not that sure that XML-RPC is a better RPC protocol. Keep in mind
that some people just want to force that claim due to the anti-Microsoft
bias. SOAP was specified by Microsoft and other big companies, so now
you may understand that at least in part some people just tell you to
not use SOAP because they think it is a Microsoft thing, which is a kind
of stupid logic as it is not good to have too many protocols to use for
the same thing.

Anyway, if you do not plan to wrap large data in RPC requests, you may
just to stick to plain and simple REST. It is as simple as passing the
request arguments in the URL separated by ? and & just like when you use
forms.

Amazon also jumped into the Web services era with SOAP, but soon the
realized that it would be much simpler if they would also provide a REST
interface. It does not require large marshalling and unmarshalling
libraries and you can still reuse your normal PHP scripts to provide a
REST interface.

--

Regards,
Manuel Lemos

PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/

PHP Reviews - Reviews of PHP books and other products
http://www.phpclasses.org/reviews/

Metastorage - Data object relational mapping layer generator
http://www.meta-language.net/metastorage.html
Jul 17 '05 #2
Manuel Lemos wrote:
Until PHP 5 gets really popular things
won't improve. Try it in 6 months or more.


How can PHP 5 improve if everyone waits 6 months?

Regards,
Matthias
Jul 17 '05 #3
Hello,

on 12/30/2004 04:06 PM Matthias Esken said the following:
Manuel Lemos wrote:
Until PHP 5 gets really popular things
won't improve. Try it in 6 months or more.


How can PHP 5 improve if everyone waits 6 months?


You have waited 3 years for PHP 5 and that did not stop its developers
to work on it.

Once it was released it has been getting much more testing by early
adopters that are either naive or do not have much to loose by the
things that were broken.

Now, if you have sites running perfectly with PHP 4, you may break your
face if you try to upgrade now. It has always been like that on every
new PHP release.

--

Regards,
Manuel Lemos

PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/

PHP Reviews - Reviews of PHP books and other products
http://www.phpclasses.org/reviews/

Metastorage - Data object relational mapping layer generator
http://www.meta-language.net/metastorage.html
Jul 17 '05 #4
On Thu, 30 Dec 2004 19:06:02 +0100, Matthias Esken wrote:
Path:
nwrddc03.gnilink.net!cyclone2.gnilink.net!cyclone1 .gnilink.net!gnilink.net!
in.100proofnews.com!in.100proofnews.com!fu-berlin.de!uni-berlin.de!individu
al.net!not-for-mail
From: Matthias Esken <mu******************@usenetverwaltung.org>
Newsgroups: comp.lang.php
Subject: Re: PHP clients: what web-service is best? (SOAP etc)
Date: Thu, 30 Dec 2004 19:06:02 +0100
Organization: Usenetverwaltung
Lines: 9
Message-ID: <cr*********@usenet.esken.de>
References: <ArKAd.604498$Pl.132451@pd7tw1no>
<33*************@individual.net>
Reply-To: Matthias Esken <ne******************@usenetverwaltung.org>
X-Trace: individual.net RdywKGvP5CgQ6+TOfolZwQZWiQHPICtOClaIyoDk3f+wS3fdU=
X-Newsreader: Forte Agent 1.93/32.576 Deutsch (Standard)
User-Agent: Hamster/2.0.2.1
Xref: cyclone1.gnilink.net comp.lang.php:74511
X-Received-Date: Thu, 30 Dec 2004 13:07:55 EST (nwrddc03.gnilink.net)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Manuel Lemos wrote:
Until PHP 5 gets really popular things
won't improve. Try it in 6 months or more.


How can PHP 5 improve if everyone waits 6 months?

Regards,
Matthias


a local hosting co. called serveryard.com told me they were using P5 just
a few weeks after it was released.

What is needed, I think, is just demand. Shop around for hosts and tell
them you want/need P5 support. The more calls like this the sooner it'll
happen.
Jul 17 '05 #5

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

Similar topics

7
by: anon | last post by:
I am trying to stress test the effects of SSL on a web server using Web Application Stress Tool (WAST). However, when using SSL and according to the WAST Help files, the peformance HIT is in the...
5
by: Gidraz | last post by:
Hello, i can't figure out how to retrieve clients MAC address using C#.NET. I can get IP but not MAC. Thanks in advance. Gidraz
65
by: Pmb | last post by:
I'm confused as to what the compiler error message I'm getting is refering to. Can someone take a gander and let me know what I did wrong? The program is below. When I compile it I get the...
15
by: Stanley Sinclair | last post by:
What's the difference between "Run-Time Client" which I received with DB2 Developer's edition (used in Workgroup Server Edition for Windows) and "Redistributible DB2 Run-Time Client Lite" available...
4
by: Ersin Gençtürk | last post by:
Server : WEB System.Web.HttpUnhandledException: Exception of type System.Web.HttpUnhandledException was thrown. ---> System.Web.HttpException: The View State is invalid for this page and might be...
2
by: Luis Esteban Valencia | last post by:
Is there a way to send timed alerts to ALL web clients conencted to the IIS server (on a server level)? IF NOT Is there a way to send timed alerts to ALL web clients using a certain .Net web...
3
by: roni | last post by:
hi. if i work with the vs.net on project X ,that is web application is there a problem for the IIS to serve web clients with project Y dlls ,at the same time ? meaning, can i server web...
0
by: microcosmos | last post by:
We have developed a web-based "intranet" application using ASP.NET, C# and SQL Server 2000, session management with State Server. This application will not be used on internet, just an intranet...
3
by: Bryan | last post by:
I think it's okay to ask this question in this group, but if not please point me to the correct one! How does one go about doing asynchronous updates between two web clients? Take Google Chat...
7
by: thisis | last post by:
Hi All, myGetImage.asp is suppose to create a temporary file in the client side, and display in on the client web browser. myGetImage.asp needs to know the clients web browser temporary...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
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...
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: 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...
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)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
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.