473,406 Members | 2,633 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,406 software developers and data experts.

processing xml file

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

Dec 4 '06 #1
4 1031

Asper Faner wrote:
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.

Dec 4 '06 #2
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:
Processing it by php and javascript, which one might be more preferable
? Thanks
Dec 4 '06 #3
Kerrie M. Meyers wrote:
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).
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).
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.
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.
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
Dec 5 '06 #4
Asper Faner wrote:
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
Dec 5 '06 #5

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

Similar topics

0
by: Ganapathy | last post by:
I have COM dll code written in VC 6.0. When i tried compiling this code in VC 7, The MIDL cmpiler gets called twice. i.e. it initially compiles fully & immediately a line - 64 bit processing'...
2
by: devendra pardeshi | last post by:
hi friends/seniors i am stuck on one problem in VB 6.0 and need solution. see if u can help me. first i describe the problem. Can u imagin the WinZip scenario. we right click on some file...
6
by: James Radke | last post by:
Hello, I have a multithreaded windows NT service application (vb.net 2003) that I am working on (my first one), which reads a message queue and creates multiple threads to perform the processing...
5
by: Geoff Pennington | last post by:
My VB.Net app reads an Excel file, processes it one row at a time, and when processing is complete writes the row to a database. The typical file will have several thousand rows and may take a...
4
by: hzgt9b | last post by:
Using VB .NET 2003, I have a windows application that performs a series of file actions (copy, move, delete) but the actions are completing before the window is painted on the screen... how can I...
4
by: Alexis Gallagher | last post by:
(I tried to post this yesterday but I think my ISP ate it. Apologies if this is a double-post.) Is it possible to do very fast string processing in python? My bioinformatics application needs to...
0
by: Kalpesh | last post by:
Hi All, I am using .net crystal reports to develop the reports. The version of crystal report assemblies is 10.2.3600.0. When i run the reports i got following error. #region Retry Report...
5
by: B. Williams | last post by:
I need some assistance with random access file processing. I have a function that I would like to change from sequential file processing to random access. Thanks in advance. void...
2
by: patrice.pare | last post by:
Hello, Here is a summary of my Dev Environment: I use Visual Studio 2005 Team Suite SP1 with Crystal Report XI SP1 on a Windows XP SP2 development workstation. I also use SQL Server 2000 SP4. ...
1
by: Xah Lee | last post by:
Text Processing with Emacs Lisp Xah Lee, 2007-10-29 This page gives a outline of how to use emacs lisp to do text processing, using a specific real-world problem as example. If you don't know...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...

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.