Ha! Mine too! How long before this secret gets out and our apps all start
imploding??
Technically this is true. You can't do AJAX with PHP4. Or PHP5. Not the
AJAX part at least, since it's all handled in Javascript.What gets
returned to the AJAX app and what it interacts with on the
Hi
You can make AJAX Applications without XML (AJWOX). You can also make
Synchronous AJAX without using the XMLHttpRequest Object.
You can call it SJWOX (synchronous javascript without XML).
The thing I like is, that character encoding is correct if you use XML
for sending data to the server.
On Thu, 2006-12-21 at 20:02 +0100, Bernhard Zwischenbrugger wrote:
Hi
You can make AJAX Applications without XML (AJWOX). You can also make
Synchronous AJAX without using the XMLHttpRequest Object.
You can call it SJWOX (synchronous javascript without XML).
The thing I like is, that
Hello!
Let us consider my scenario. I am developing a XML based web service. Using
pre PHP 5 features, I am stuck with DOM, SOAP or plain old XML parser. Too
cumbersome - eh.
I specifically upgraded my server to PHP 5 to make use of SimpleXML. I am
sure there are many other packages that are
Nauman Akbar wrote:
Hello!
Let us consider my scenario. I am developing a XML based web service. Using
pre PHP 5 features, I am stuck with DOM, SOAP or plain old XML parser. Too
the DOM extension is php5 only! it replaces DOMXML.
again the SOAP extension (very nice it is too) is php5 only.
# [EMAIL PROTECTED] / 2006-12-19 19:05:23 +0100:
I'm writing a PHP program and I've got a number of concerns. The program is
about 20 KLOC at the moment, but will probably grow quite a lot.
I'm using OOP throughout, and I don't really have a lot of problems with
what PHP4 can do with OOP.
Roman Neuhauser wrote:
# [EMAIL PROTECTED] / 2006-12-19 19:05:23 +0100:
...
...
What major compelling reasons do I have to start using exceptions and OOP-5?
All the things you mentioned, and then some.
Someone else mentioned that PHP 5 is much less inclined to copy objects.
it's not
On Wed, 2006-12-20 at 11:49 +0100, Jochem Maas wrote:
How about iterators? You can have objects that look like arrays yet they
take
much less memory:
$rs = $db-query($select); # query the db
foreach ($rs as $row) { # fetch the row
whatever($row);
}
ah yes
# [EMAIL PROTECTED] / 2006-12-20 11:49:25 +0100:
Roman Neuhauser wrote:
# [EMAIL PROTECTED] / 2006-12-19 19:05:23 +0100:
What major compelling reasons do I have to start using exceptions and
OOP-5?
All the things you mentioned, and then some.
Someone else mentioned that PHP 5 is
Robert Cummings wrote:
On Wed, 2006-12-20 at 11:49 +0100, Jochem Maas wrote:
How about iterators? You can have objects that look like arrays yet they
take
much less memory:
$rs = $db-query($select); # query the db
foreach ($rs as $row) { # fetch the row
whatever($row);
On Wed, 2006-12-20 at 12:27 +0100, Jochem Maas wrote:
Robert Cummings wrote:
On Wed, 2006-12-20 at 11:49 +0100, Jochem Maas wrote:
How about iterators? You can have objects that look like arrays yet they
take
much less memory:
$rs = $db-query($select); # query the db
# [EMAIL PROTECTED] / 2006-12-20 06:05:29 -0500:
On Wed, 2006-12-20 at 11:49 +0100, Jochem Maas wrote:
How about iterators? You can have objects that look like arrays yet they
take
much less memory:
$rs = $db-query($select); # query the db
foreach ($rs as $row) { #
All the XML things are new
Start with DOM. If you know DOM in Browser you can use DOM in PHP5.
AJAX Webapplications are not possible in PHP4. The experimental DOMXML
in PHP4 is NOT standard conform and has DIFFERENT syntax than DOM in
Javascript.
To retrive data from AJAX is simple.
On Wed, 2006-12-20 at 15:14 +0100, Bernhard Zwischenbrugger wrote:
AJAX Webapplications are not possible in PHP4.
Bullshit.
Cheers,
Rob.
--
..
| InterJinn Application Framework - http://www.interjinn.com |
Robert Cummings wrote:
On Wed, 2006-12-20 at 15:14 +0100, Bernhard Zwischenbrugger wrote:
AJAX Webapplications are not possible in PHP4.
Bullshit.
Indeed, what with PHP being server-side and AJAX being client-side.
Where AJAX is concerned the server-side technology is irrelevant.
-Stut
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 20, 2006 8:37 AM
To: Robert Cummings
Cc: Bernhard Zwischenbrugger; php-general@lists.php.net
Subject: Re: [PHP] Are PHP5 features worth it?
Robert Cummings wrote:
On Wed, 2006-12-20 at 15:14 +0100, Bernhard Zwischenbrugger wrote:
AJAX
Stut wrote:
Robert Cummings wrote:
On Wed, 2006-12-20 at 15:14 +0100, Bernhard Zwischenbrugger wrote:
AJAX Webapplications are not possible in PHP4.
Bullshit.
Indeed, what with PHP being server-side and AJAX being client-side.
Where AJAX is concerned the server-side technology is
: [PHP] Are PHP5 features worth it?
Robert Cummings wrote:
On Wed, 2006-12-20 at 15:14 +0100, Bernhard Zwischenbrugger wrote:
AJAX Webapplications are not possible in PHP4.
Bullshit.
Indeed, what with PHP being server-side and AJAX being client-side.
Where AJAX is concerned
On Wed, 2006-12-20 at 17:38 +0100, Bernhard Zwischenbrugger wrote:
Is there a way to parse XML in PHP4?
Yes. And even if there weren't any libs, there's nothing stopping anyone
from writing a parser in PHP itself!
Cheers,
Rob.
--
..
|
Robert Cummings wrote:
On Wed, 2006-12-20 at 17:38 +0100, Bernhard Zwischenbrugger wrote:
Is there a way to parse XML in PHP4?
Yes. And even if there weren't any libs, there's nothing stopping anyone
from writing a parser in PHP itself!
ai, and in most cases a regexp will cut it,
gotta love
-
From: Jochem Maas [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 20, 2006 12:22 PM
To: Robert Cummings
Cc: Bernhard Zwischenbrugger; php-general@lists.php.net
Subject: Re: [PHP] Are PHP5 features worth it?
Robert Cummings wrote:
On Wed, 2006-12-20 at 17:38 +0100, Bernhard Zwischenbrugger
At 3:14 PM +0100 12/20/06, Bernhard Zwischenbrugger wrote:
AJAX Webapplications are not possible in PHP4.
Please be very, very quite, my PHP4 web AJAX Web applications don't
know that and I don't want them revolting.
tedd
--
---
http://sperling.com http://ancientstones.com
On Tue, 2006-12-19 at 19:05 +0100, Niels wrote:
Hi list,
I'm writing a PHP program and I've got a number of concerns. The program is
about 20 KLOC at the moment, but will probably grow quite a lot.
I'm using OOP throughout, and I don't really have a lot of problems with
what PHP4 can do
PHP5 is more than just OO features, SimpleXML, SPL, Filter and the newly
added Date/Time functions just to mention a few. If you need any of those
PHP5 is the way to go.
The first version of PHP5 was released in 2004, so it's been arround for a
while now. In most cases you can still use the old
24 matches
Mail list logo