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 5 of 5
  1. #1
    Regular Coder
    Join Date
    Aug 2004
    Location
    The Netherlands
    Posts
    211
    Thanks
    0
    Thanked 1 Time in 1 Post

    Develop a commercial product for PHP5 or PHP4?

    As the topic title says, do you think a commercial product, like a CMS, would survive if it would not be compatible with PHP4?
    Last edited by Jero; 11-05-2006 at 10:51 AM. Reason: Added CMS example.

  • #2
    ess
    ess is offline
    Regular Coder
    Join Date
    Oct 2006
    Location
    United Kingdom
    Posts
    866
    Thanks
    7
    Thanked 30 Times in 29 Posts
    There is no easy answer to this question, as it all depends on the services you wish to provide and whether your customers have their servers configured with PHP5 or PHP4.

    Of course, the benefit of developing a product in PHP4 is obvious, as customers with PHP5 will be able to use the same product.

    I would recommend that you read this article and find out whether you would be missing added functionalities if you were to develop your product in PHP4.

    Good luck

  • #3
    Regular Coder
    Join Date
    Aug 2004
    Location
    The Netherlands
    Posts
    211
    Thanks
    0
    Thanked 1 Time in 1 Post
    Thanks for your reply, ess. I've been working with PHP5 for quite some time now, but only for my personal projects, so I know about all the cool stuff. But now that I'm working on something that I want to release in public, I'm wondering whether or not it's still necessary to make it backwards compatible with PHP4 (because of the large amount of people still using it) or not.

    As you said, the advantage of the backwards compatibility is obvious. However, now that I've worked with PHP5 for a while, I know how great it is to use features like objects and exception, which are not available in PHP4. So for me it would be ideal to not have to think about making everything compatible with PHP4. Therefore I was wondering if it were possible to create a successful application that only works in PHP5, or is the PHP5 adoption still too low (I guess I should've been more clear in my first post about my real question)?

  • #4
    Senior Coder
    Join Date
    Aug 2003
    Location
    One step ahead of you.
    Posts
    2,815
    Thanks
    0
    Thanked 3 Times in 3 Posts
    You should make an estimate if PHP5 will be used by enough potential users by the time you finish developing your project.
    I'm not sure if this was any help, but I hope it didn't make you stupider.

    Experience is something you get just after you really need it.
    PHP Installation Guide Feedback welcome.

  • #5
    ess
    ess is offline
    Regular Coder
    Join Date
    Oct 2006
    Location
    United Kingdom
    Posts
    866
    Thanks
    7
    Thanked 30 Times in 29 Posts
    Hi Jero,

    Yes, the adoption of PHP5 is very slow. In fact, if you look at the major players in website hosting in the UK, you will find that they still have not upgraded to PHP5 yet.

    I think that should be a good indicator as a lot of people would go for shared hosting.

    Good luck Jero.

    bye


  •  

    Posting Permissions

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