Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6545625
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T11:36:30+00:00 2026-05-25T11:36:30+00:00

I have been working on a website with PHP + Kohana for more than

  • 0

I have been working on a website with PHP + Kohana for more than a year. There are ~100K – 150K lines of codes (CSS + JS + PHP), and there are ~150 PHP files (application classes and helper modules, not including the Kohana’s system & module files).

Because of some reasons, I need to transfer the whole projects to Java (with Play! framework). It obviously will take not a short period of time to finish the transfer, so I plan to do it step by step, say replacing the modules, controllers and models one by one, then update the view files. During the transfer, the server needs to be able to handle PHP and JAVA simultaneously. But I have no idea how to do it.

Does anyone have experience to transfer PHP projects to Java? A list of steps, references, advices and suggestion is highly appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T11:36:31+00:00Added an answer on May 25, 2026 at 11:36 am

    Doing the whole thing at once, and having no way to test until you finish, is going to be a nightmare. As you’re going, you’ll learn better techniques and have changes of direction, that are going to be really hard to apply to the whole code base.

    Any web application that large is going to break down into core features (say 20%), and additional bits (say 80%). Before you start any coding at all, work out what the core features of the system are by discarding anything that’s superfluous. Keep going, ruthlessly cutting things, until you have it down to a small subset of the features that hangs together.

    Code an application that does those core features, get that working perfectly, and test it to destruction. In the process you’ve probably learned a lot about how you should have written it, so take the time to refactor the core code to work in exactly the way you want. If you need to experiment with different ways of doing things, now is the time. Make sure it passes every test you can think of, and make sure it keeps passing those tests through the next bit.

    Once you have that core not just working but working in the right way, then you can start expanding it to include some of the extra features. The bigger the system gets the more awkward it will be to change things, so if at any point you find you need to change how the system is architected then focus on that in favour of adding new bits.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

A friend and I have been working on a moderate-sized PHP website for some
I have been working with an existing website out company has running until I
I'm working on a website and have been using absolute positioning, since the viewport
I have been working on a Timesheet Management website. I have my home page
I am currently working on a website and lately have been using GD with
I have been working on a scheduling website for the past few weeks. I
I have been using a php sql system to manage images on my website.
I have a website which I have been working on creating very rapidly, and
I am working on a website: http://homegym.sg/index.php/ Have used jquery to create an effect
I have been working on a web services related project for about the last

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.