Jump to content

Converting a lot of java to PHP


tibberous

Recommended Posts

I have a bunch of java I want to convert to PHP - thus making me rich and famous[er]. Sadly, java is kind of the anti-php. It is so bad, I am not sure whether it would be easier to convert the code, or to recode it based on output, or to find the output functions, and record the engine.

 

Anyone know anything to make this easier?

 

Anyone sit down and convert the java foundation classes to PHP?

Link to comment
Share on other sites

as far as i understand, java's oop is what php5 is aiming for, but loosely typed.  I havent worked with java, but it looks just like php classes with some javascript-like syntax thrown in there. and i know java has a ton of built in libraries that the classes may use, so recreating them may be an exercise.

 

Good luck

Link to comment
Share on other sites

I think you're better of recoding with heavy influence on the java foundation.

 

Problem solving is a strategy and the language is just syntax. Solving a problem in different languages both have different strengths and weaknesses, make sure that before you switch from Java, you're doing it for the right reasons :)

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.