DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Newsletter
Log In / Join
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Related

  • Architecture Review Boards for Generative AI: A Framework for Governance, Risk Management, and Responsible Adoption
  • A Reference Architecture for Constrained AI-Assisted Design
  • GenAI Security Gateway: An End-to-End Architecture
  • Your Cloud Diagram Is Already Out of Date: An Operating Model for Continuous Security Architecture

Trending

  • Event-Driven AI Systems With Kafka and Autonomous Agents
  • Claude Code Superpowers: The 5-Tool Stack That Ends Limits and Context Amnesia
  • Idempotency Under Concurrency: Why Your Application Check Isn't the Last Line of Defense
  • Build Software Faster With Three Simple Principles

Draft This article hasn't been published, so readers can't see it.

In moderation This article is waiting for review, so readers can't see it yet.

Deleted This article has been deleted, so readers can't see it.

  1. DZone
  2. Software Design and Architecture
  3. Microservices
  4. All About SOFEA: Service-Oriented Front-End Architecture

All About SOFEA: Service-Oriented Front-End Architecture

The basic idea of SOFEA is that we should stop downloading from the server side and send this responsibility to the client side.

By 
Rafael Salerno
·
Sep. 27, 16 · Opinion
Post on X (opens in a new tab) Share on LinkedIn (opens in a new tab)
17.4K Views

Join the DZone community Save articles, join the discussion, and download Refcards and Trend Reports with a free account.

Join for free Already a member? Log in

The basic idea of SOFEA is that we should stop downloading from the server side and send this responsibility to the client side. I propose removing all of the logical presentation of the service side and moving them to JavaScript and to the client side. 

Why?

Because with the SOA (Service Oriented Architecture) maturity and browser evolution, we can change some ways that we work on the front-end side and better utilize the client machine. This architecture style is precisely for application web in SOA and Cloud environments. It is intended to bring a revolution that was brought from SOA on the back-end to the front-end.

How?

We treat all communication server with web service by way of REST or SOAP. For example, it is possible for the server-side to focus only on business and be exposed in a format of service. SOFEA can be considered a synonym of Single Page Application and should not be confused with Framework or implementation, is style architecture.

What is Single Page Application (SPA) in this story? Furthermore, why should we underuse the client side and overload the server side? Why not balance this load? Is it possible to improve the user experience with these techniques?

Another important question: why has SOFEA just now appeared? I think it's because the JavaScript engines to the browser and AJAX toolkit have had great development in recent years. The client-side frameworks had a great evolution as well. SOFEA allows for simplicity on the client-side, a more heterogeneous team, and the continued growth of mobile clients.

In the picture below, it is possible to see where the older web frameworks are living:

This is the life cycle in the older architectures:

This is the SOFEA life cycle:

Where are the components living in SOFEA?

Some frameworks that implement Single Page Application are Knockout, React, Backbone, Angular, and Ember.

In conclusion, here are the benefits of SOFEA: 

  • Scalability. Service has less work and simply processes the business logic.
  • Better user response and low latency. After the app is download, just data travels.
  • Organized programming model. It's possible to have a team just for the client-side and another for the server-side.
  • Interoperability; easy integration with many platforms; clients don't matter for the service language.
  • Higher ROI is possible. You can reuse more services.

This architecture style impulses the Web 2.0. This is the one of the many techniques, movements, and cultures that offers a new perspective to the client-side, so it is important to know them instead of just using and choosing the fashion frameworks.

My slides about front-end architecture including SOFEA. 

Architecture

Opinions expressed by DZone contributors are their own.

Related

  • Architecture Review Boards for Generative AI: A Framework for Governance, Risk Management, and Responsible Adoption
  • A Reference Architecture for Constrained AI-Assisted Design
  • GenAI Security Gateway: An End-to-End Architecture
  • Your Cloud Diagram Is Already Out of Date: An Operating Model for Continuous Security Architecture

Partner Resources

×

Comments

Loading comments

The comments didn't load

Please try again in a moment.

Likes

Loading

The next likes didn't load. Please try again.

The likes didn't load

Please try again in a moment.

See who liked this

Log in or join DZone for free to see who liked this article.

Log in Join for free
  • RSS
  • X
  • Facebook

ABOUT US

  • About DZone
  • Support and feedback
  • Community research

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 215
  • Nashville, TN 37211
  • [email protected]

Let's be friends:

  • RSS
  • X
  • Facebook