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
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Related

  • The Rise of Microservices Architecture in Scalable Applications
  • Building a Multi-Agent Orchestration Capability: Architecture and Code Walkthrough
  • Operationalizing Enterprise AI at Scale: Architecture, Governance, and Adoption
  • Architecting Proactive IT: NinjaOne Remote Monitoring and Management

Trending

  • RAG Done Right: When to Use SQL, Search, and Vector Retrieval and How To Combine Them
  • Mastering Fluent Bit: Beginners' Guide for Contributing to our CNCF Project Docs
  • 8 Major Challenges Faced by Android Application Developers
  • Reproducible Development Environments, One Command Away: Introducing CodingBooth
  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 user avatar
Rafael Salerno
·
Sep. 27, 16 · Opinion
Likes (12)
Comment
Save
Tweet
Share
17.3K Views

Join the DZone community and get the full member experience.

Join For Free

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

  • The Rise of Microservices Architecture in Scalable Applications
  • Building a Multi-Agent Orchestration Capability: Architecture and Code Walkthrough
  • Operationalizing Enterprise AI at Scale: Architecture, Governance, and Adoption
  • Architecting Proactive IT: NinjaOne Remote Monitoring and Management

Partner Resources

×

Comments

The likes didn't load as expected. Please refresh the page and try again.

  • 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