Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    Jun 2004
    Posts
    26
    Thanks
    0
    Thanked 0 Times in 0 Posts

    javascript or php ? for serverside xml generating

    hi gang
    i am creating an web application. the serverside scripting needs to manipulate XML (reading, writing, generating). The client just needs to be able to read to XML and do stuff with it.

    i am using Javascript for the client side stuff as i have most experience with it

    i need to know what to use for the server side??? javascript of php. my initial impressions are that php would be far easier. your welcome to put me right on that. also i would not need to use lasso.

    can someone confirm that php is the way to go for generating my xml

    thankX

  • #2
    Senior Coder
    Join Date
    Feb 2004
    Location
    Edinburgh
    Posts
    1,352
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by kattie
    i need to know what to use for the server side??? javascript of php.
    well, since you can't use javascript on the server (unless you're talking about JScript, ASP and IIS; or Serverside Javascript (which is dead and required a specialist Netscape server)), then I think the answer should be pretty clear, don't you.

    PHP -> serverside XML generation
    JS -> clientside XML manipulation

    hope that clears it up for you

  • #3
    New Coder
    Join Date
    Jun 2004
    Posts
    26
    Thanks
    0
    Thanked 0 Times in 0 Posts
    sweet!!!

  • #4
    Senior Coder
    Join Date
    Feb 2004
    Location
    Edinburgh
    Posts
    1,352
    Thanks
    0
    Thanked 0 Times in 0 Posts
    you can generate XML clientside, but it's much more work than to do it on the server. furthermore, why would you want to if it's just going to sent back to the server anyway.

    the nice thing about clientside XML manipulation is that you can use RPCs to update the page without having to refresh it.

    now, that really is sweet


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •