Browse > Home / development, plugins / REST api interface plugin - PHP4 or PHP5?

| Subcribe via RSS

REST api interface plugin - PHP4 or PHP5?

October 31st, 2007 Posted in development, plugins

If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!

This is just a short post to ask for some advice and/or opinions.

I am working on the generic XML and JSON generating functions as part of the REST interface plugin that is currently in development.

I have started using the plugin in-house with good results and performance, but as we are running PHP5 pretty much exclusively here - it makes use of the native PHP5 XML and JSON functionality.

My question is - is it worth me providing a PHP4 version which uses external libraries? Or, more to the point - how many people out there are still running on PHP4 based servers?

Any advice would be greatly appreciated.

admin

Feeling generous? Why not sponsor my 100km run and send a donation to Oxfam.

3 Responses to “REST api interface plugin - PHP4 or PHP5?”

  1. Rick Says:

    Well, there are still a lot of people with PHP4, but I think PHP5 is the way to go. And I am not the only one: http://www.gophp5.org/ :)


  2. Barry Says:

    Thanks for the link Rick.
    I think I will release the initial version as PHP5 only. The built in JSON and XML libraries are just too nice not to use :) If there is enough call at a later date then I may try to hunt down some external libraries.
    Barry


  3. Brad Says:

    When will this RESTful interface plugin be released? I’m anxious to see how it will work!


Leave a Reply