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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T22:19:05+00:00 2026-06-01T22:19:05+00:00

Let’s say I’ve decided to try and make a web application where the client

  • 0

Let’s say I’ve decided to try and make a web application where the client is only html and javascript/jquery and I will fetch the data from a json service.

I come from the land of web forms and is now learning and loving mvc and here we have master pages and components like user controls and partial views etc, which enables us to re-use components and structure our code.

How do I do this when I’m using only html and javascript?

I’ve seen that jquery has the method load() which loads data from the server. Is this the best approach to achieve what I want? Or is it something out there that I have missed?

  • 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-01T22:19:06+00:00Added an answer on June 1, 2026 at 10:19 pm

    This is a rather big and subjective question.

    If you plan to consume your data using JSON the method, what you’d probably want to use is getJSON() which is a wrapper of the more flexible ajax().

    Then you’ll probably need a templating system, to avoid creating and injecting html using javascript (it can become a real mess for every task which is a bit more complex than the trivial ones).

    Regarding your application structure you might consider patterns such as MVC, MVP or MVVM. There are several good libraries that allow you to leverage these patterns, but personally I’d recommend to start to play without frameworks, and switch to one of them only when you feel a real need for it, and you grasp at least some basic concepts.

    Good luck 🙂

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

Sidebar

Related Questions

Let's say I have two assemblies: BusinessLogic and Web. BusinessLogic has an application setting
Let's say I have an facebook application running using the JS SDK. First user
Let's say after I had login I will be prompt to enter the Name
Let say I have some code HTML code: <ul> <li> <h1>Title 1</h1> <p>Text 1</p>
Let's say I have a javascript array with a bunch of elements (anywhere from
Let's say I'm writing a Windows Forms (.NET Framework 3.5) application which shows the
Let's say you create a wizard in an HTML form. One button goes back,
Let's say I'm building a data access layer for an application. Typically I have
Let's say I have 2 strings AAABBBCCCCC and AAAABBBBCCCC to make these strings as
Let's say i have two tables in db: Car and Part. Car owns arbitrialy

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.