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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T08:11:16+00:00 2026-05-24T08:11:16+00:00

Any good resources on this? Ideally a tutorial or walkthrough of an application being

  • 0

Any good resources on this?

Ideally a tutorial or walkthrough of an application being designed from the ground up or even just tutorials on the inns and outs of the framework.

I have a lot of php scripts and jquery is used to update various containers on the page. I have the Auth Module working and the homepage is displaying, but where do i start in terms of converting all those php scripts into MVC compliant code?

Currently, the majority of my scripts work similar to this example:

$.post('/scripts/getUserInfo.php', { id:id },
    function(output){
        $('div#user_info_container').html( output );
    }
);

QUESTION:

What are the steps involved in creating MVC compliant code from php scripts? Do you start by writing a controller for each script?

Am relatively new to Cake so any advice appreciated guys…

  • 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-24T08:11:17+00:00Added an answer on May 24, 2026 at 8:11 am

    Write one controller and create one action for every script, where You query data from DB. For each action You will have to add a view with html output from Your previous script.

    But it very much depends on Your DB model structure – if Your scripts updates data from different tables, probably You should create actions in apriopiate controllers (connected with that table model).

    You can check $this->isAjax() in You controller[s] and change render layout to minimalistic (without page layout)

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

Sidebar

Related Questions

Are there any 'good' resources for porting a VB.NET winforms application to C#? I'm
Now, I haven't been able to find any good resources on this subject so
This is driving me crazy and I can't find any good resources to explain
Does anybody know any good resources for learning how to program CIL with in-depth
Could someone recommend any good resources for creating Graphics User Interfaces, preferably in C/C++?
Can anyone recommend any good resources for learning C++ Templates? Many thanks.
Are there any good resources (books, authoritative guides, etc.) for design patterns or other
Does anyone have any good resources for refining my skills in developing class diagrams?
Does anyone know any good resources with tasks or problems to get practice in
does anyone knows any good resources and articles that can explain how to create

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.