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

  • Home
  • SEARCH
  • 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 9009063
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T02:05:54+00:00 2026-06-16T02:05:54+00:00

I have baked a project in cakephp. I have done custom modification in the

  • 0

I have baked a project in cakephp. I have done custom modification in the controller, when I bake the code again those changes are lost.
Is there any way to keep those changes?
I am new in cakephp please help..

  • 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-16T02:05:55+00:00Added an answer on June 16, 2026 at 2:05 am

    No, if you keep the files in the app directory you will loose those changes because the Bake Console will override them.

    What can you do then? Well you could:

    1. bake inside a new app (just connect to the same DB) and then merge the changes with your existing Controllers. For merging you could use Diffuse – a very nice and small footprint merge editor which works on almost all OSs (Linux, Mac OS, BSD and Windows).

    2. back up your existing application and bake over it. Then merge the changes you’ve done back to the application.

    It should be better to use method 1. if your changes are more code than the parts that you wish to bake.
    This could be a nice add-on to the existing console’s functionality. Maybe via a diff from the original baked version and the current changed one. However I am not sure if this is needed, since the idea is to initially bake and then develop.

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

Sidebar

Related Questions

I have a fresh baked (with bake console) project in which I have 2
I have created my database, and used cake bake my_project to create my project,
i have done some learning on struts based on one project that i got.Now
Greetings! I have CakePHP based app on shared hosting I wonder if there's a
I have started a Mercurial based project on google code. I have worked in
I have a console-based C project in Eclipse. Is there a button I can
I have a created C based project with CDT from pidgin source code. Everything
We have a git based project with a friend and one master branch. He
I have developed a view based project in Xcode. It is successfully running in
I'm working on a larger Web based Project, that probably will have to handle

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.