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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T09:59:04+00:00 2026-05-19T09:59:04+00:00

I am building a new web application and playing around with the architecture and

  • 0

I am building a new web application and playing around with the architecture and would like some opinions about splitting UI and business logic and running them on separate servers.

This means that if someone requests a page, the front end will itself request the data from a back-end server and then not actually perform any calculations/logic but just use the data to populate a template and then respond with that.

  • Back-End: Java + JAX-WS
  • Front-End: Kohana 3.1 (PHP)
  • Data Interchange Format: JSON

Advantages:

  • clear separation of logic and UI
  • ability to choose language/framework best suited for either end
  • possibility to add logic/UI servers depending on which one is the bottleneck in case of performance issues
  • possibility to make the API publicly available without any extra work (pseudo-internal requests will go to the same API as requests from third-part applications)
  • ability to change (if need be) the framework/language of either side without having to edit the other
  • ability to specify different server hardware according to the needs of the logic/UI application
  • better security (if API private) (??)

Disadvantages:

  • latency (??)
  • more servers

So what do you think? Is this a good idea? I haven’t been able to find much information so far but my guess is that many big sites do it this way, right? How will performance be affected (I am thinking of running it on EC2)? What are further advantages/disadvantages? Any thoughts on the languages/frameworks choices?

  • 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-19T09:59:05+00:00Added an answer on May 19, 2026 at 9:59 am

    A similar architectural pattern is often employed, though generally the UI part is often moved to the client. So you have a backend that responds with JSON, a quick http server with full-blown caching (and that can use html5 app caching as well) and a rich javascript client which requests the JSON from the backend and builds the UI.

    More on this pattern: http://www.metaskills.net/2008/05/24/the-ajax-head-design-pattern/

    The main negative of the approach is that is generally more work in the beginning – if you don’t need an external API then using a simpler architecture will be easier to program.

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

Sidebar

Related Questions

I'm playing around with building a new web application using DB4O - piles of
I am beginning a new Java web application using Netbeans, and I would like
I'm building a new Java web application for my employer. First thing it needs
I'm building a web application using Yii framework, and i'm quite new to it.
Building a new ASP.net application, and planning to separate DB, 'service' tier and Web/UI
I am part of a development team building a new ASP.NET 3.5 web application.
I am new to ASP.NET and building a financial web application. I have a
I am working on building a web-application using Django. Since I'm new to working
I am considering building some services using the new Web API that's introduced in
I'm building a new ASP.NET web application based on a legacy one (Classic ASP).

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.