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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T00:43:18+00:00 2026-05-16T00:43:18+00:00

I know that MVC is highly acclaimed for PHP applications, but I am not

  • 0

I know that MVC is highly acclaimed for PHP applications, but I am not sure at all that it fits in JavaScript. If you think otherwise, then please explain how and where you handle common scenarios like AJAX requests, data saving (offline storage), presentation, how do you handle controller logic (do you have a front controller?), and so forth.

What about Model-View-Presentation?

I am using ExtJS and using the server only for permanent data storage.

  • 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-16T00:43:19+00:00Added an answer on May 16, 2026 at 12:43 am

    If you’re planning on coding your UI purely with JavaScript, you could think your PHP end of things as more of a web service or an API.

    Basically your View would be the Ext JS stuff you write in JS. To work with your data, the Ext frontend would perform requests to your “service”. Basically you would have a sort of model-controller architecture on your server, where the job of the controller would be to process requests and output JSON (for consumption by your Ext frontend)

    Essentially, the “view” in your backend would simply be output from json_encode, which is then consumed by your actual Ext based view.

    In JS, you can have controllers depending on what sort of stuff you’re doing. If you’re just displaying data from the server, you may not require much separate logic. If you’re doing some more complex processing, it may be useful to separate the code into a separate controller and view.

    It’s mostly up to how much you want to separate the logic.

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

Sidebar

Related Questions

Yes, I know that in ASP.NET MVC you have to use ViewModels. But I'm
I know that ASP.NET MVC will allow me to swap in various View engines
I'm starting a project that will be public facing using asp.net mvc. I know
I know that |DataDirectory| will resolve to App_Data in an ASP.NET application but is
Just wanted to know that does Visual web Developer 2010 [Free tool] contains MVC
How does Microsoft MVC know that the name of the property is Phone since
I am quite familiar with ASP.NET MVC and know that a controller’s method can
I have my ADO entity generated in MVC 2 and I know that if
I know that I can do something like $int = (int)99; //(int) has a
I know that default cron's behavior is to send normal and error output to

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.