Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old December 4th, 2006, 08:45 PM
Asper Faner
Guest
 
Posts: n/a
Default processing xml file

Processing it by php and javascript, which one might be more preferable
? Thanks

  #2  
Old December 4th, 2006, 08:45 PM
Asper Faner
Guest
 
Posts: n/a
Default Re: processing xml file


Asper Faner wrote:
Quote:
Processing it by php and javascript, which one might be more preferable
? Thanks
I think php does better since it is more functional whereas javascript
still lacks many aspects including its pretty awkward manipulation and
creation of nodes.

  #3  
Old December 4th, 2006, 09:45 PM
Kerrie M. Meyers
Guest
 
Posts: n/a
Default Re: processing xml file

I like to SAX more ? it's better with multiple interfaces and funcions
to process a xml file.
with jscript you go nowhere outof java, so why not SAX then ? not
including it is completely microsoft specific, you will never be able
to use jscript in linux or macos. With SAX you can handle nodes tree in
many ways, i don't know about PHP, but it seems unable to compare with
SAX, and only works in some platforms. Such limitations should be
considered. I have been in java field for over 20 years, and done many
industrial applications,.

Asper Faner wrote:
Quote:
Processing it by php and javascript, which one might be more preferable
? Thanks
  #4  
Old December 5th, 2006, 11:15 PM
David Dorward
Guest
 
Posts: n/a
Default Re: processing xml file

Kerrie M. Meyers wrote:
Quote:
I like to SAX more ? it's better with multiple interfaces and funcions
to process a xml file.
You like SAX more than ... what? (and there are SAX implementations
available for PHP and for some JavaScript implementations).
Quote:
with jscript you go nowhere outof java, so why not SAX then ?
Now I'm confused.

First - why bring JScript into this? If you mean JavaScript then please note
that JScript refers to the Microsoft implementation of the language.

Second - Java? Nobody has mentioned anything relating to Java yet. The
closest that the thread has come so far is JavaScript (which has four
things in common with Java - the first four letters of its name).
Quote:
not including it is completely microsoft specific, you will never be able
to use jscript in linux or macos.
No, but you can use JavaScript. The differences aren't really all that
significant.
Quote:
With SAX you can handle nodes tree in many ways, i don't know about PHP,
but it seems unable to compare with SAX, and only works in some platforms.
You can use SAX parsers from PHP.
Quote:
Such limitations should be considered. I have been in java field for over
20 years, and done many industrial applications,.
Java has been around for slightly more then a decade. It isn't possible to
have been in the Java field for 20 years.

--
David Dorward <http://blog.dorward.me.uk/ <http://dorward.me.uk/>
Home is where the ~/.bashrc is
  #5  
Old December 5th, 2006, 11:15 PM
David Dorward
Guest
 
Posts: n/a
Default Re: processing xml file

Asper Faner wrote:
Quote:
Processing it by php and javascript, which one might be more preferable
? Thanks
Processing it to do what? Where?

As a rule of thumb, if you can do it on the server, then do it on the
server. (PHP /usually/ runs on the server, and JavaScript /usually/ runs on
the client).

In more general terms, my language of choice for processing XML is Perl,
although I'm starting to do some things with XSLT and it looks useful.

--
David Dorward <http://blog.dorward.me.uk/ <http://dorward.me.uk/>
Home is where the ~/.bashrc is
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles