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 8511887
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T04:07:52+00:00 2026-06-11T04:07:52+00:00

I got an old running project that was developed with HTML, CSS, PHP, MySQL,

  • 0

I got an old running project that was developed with HTML, CSS, PHP, MySQL, JS, AJAX (jQuery) but without MVC, ORM, etc. Just HTML/CSS/JS and PHP is seperated. I am currently working on this project and do some improvements of the sotware from time to time. Since the system is in use every day, I want to introduce CakePHP module by module and improve the quality step by step.

Having MVC, ORM, etc. would make maintaining more efficient but I don’t have the time to rewrite everything at once. I don’t think there won’t be many problems except the login procedure (make sure that when you log in using the routine of CakePHP that the user is logged in while using modules of the old system) and linking of the files.

What do you think about it? Are there more obstacles?

  • 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-06-11T04:07:54+00:00Added an answer on June 11, 2026 at 4:07 am

    Well… If you already have application (that is not MVC) and you want to convert it to CakePHP, you will have to think about some things…

    1.) As you’ve sad, Logging users will be a problem but there is AuthComponent.

    2.) You will have to think differently about some things because this is MVC.

    3.) All your validations should be in Model.

    4.) Granting access to some pages will be done with isAuthorized function from AuthComponent.

    I think the best way for you is to download a fresh CakePHP and start with models. Do all your validations. Then create controllers and some of code which is “global” put in Components.

    Then do your view.

    Well… Use Bake script and it will be easier a lot. If you have any further questions or if you need help, feel free to ask here or send me an e – mail (provided on my profile).

    I think that converting PHP app to MVC (CakePHP) is a really great idea. It is much easier for changing later, adding some functionality and debugging. 🙂

    Good luck!

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

Sidebar

Related Questions

I've got an ASP document that 5 years old. Actually I'm working with PHP
I have a hard drive with an old Ubuntu Server installation running mysql that
I recently got a new dedicated MySQL machine. Now it's running fine, but sometimes
I got play running perfectly but I loaded the sample project forms and changed
i got an webserver running and old version of gambio (xt:commerce fork). The error_log
So we've got some old-school Firefox extension code that uses the DOM3 methods get/setUserData()
I've got an old application that has user passwords stored in the database with
I've got an old RRD file that was only set up to track 1
I got back on an old project and I ran the nice git status
I just recently got around to converting an old svn project to git. Everything

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.