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 Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones AWS Cloud
by AWS Developer Relations
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones
AWS Cloud
by AWS Developer Relations
  1. DZone
  2. Data Engineering
  3. Data
  4. More Layers = More Complexity

More Layers = More Complexity

Simon Brown user avatar by
Simon Brown
·
Jan. 31, 12 · Interview
Like (0)
Save
Tweet
Share
6.61K Views

Join the DZone community and get the full member experience.

Join For Free

we had an interesting discussion on the course a couple of weeks ago that i thought was worth summarising here. one of the key functional requirements of the case study that we run through is that the system should be able to distribute data to a subset of users on the corporate lan. now there are 101 different ways to solve this problem, with one of the simplest being to allow the users to access the data via an internal web application. since only a subset of the users within the organisation should be able to see the data, any solution would need some sort of authentication and authorisation on the data.

given the buzz around web 2.0, ajax and ria in recent times, one of the groups decided that it would be nice to allow the data to be accessed via a silverlight application. they'd already thought about building an asp.net application but liked the possibilities offered by silverlight (e.g. the ability to slice and dice the data interactively). another driving factor for their decision was that the silverlight client could be delivered "for free" in that it would take just as long as building an asp.net application. "for free" is a pretty bold claim, especially considering that they were effectively adding an extra architectural layer into their software system. i drew up the following summary of their design to illustrate the added complexity.

where is the data coming from?


while i don't disagree that silverlight applications aren't hard to build, the vital question they hadn't addressed was where the data was going to come from. as always, there are options; from accessing the database directly through to exposing some data services in a middle-tier. the group had already chosen windows communication foundation (wcf) as the mechanism for exposing the data, but this led to yet further questions.

  1. what operations do you need to expose?
  2. which technology binding do you use?
  3. how do you ensure that people can't plug in their own client and consume the services?
  4. ...


in the context of the case study, the third question is important. the data should only be accessible by a certain group of people and we really don't want to expose a wcf service that anybody with visual studio could consume. this led to discussion about the use of ssl to secure the service, but ssl only secures the transport layer to stop data being looked at in transit. in this case, some thought needs to be given to authentication/authorisation of the service itself .

coming back to "it won't take longer than building an asp.net application" then. in this situation, the benefits brought by the additional silverlight layer need to be considered alongside the additional complexity that's also been introduced. more moving parts means more work designing, developing, testing and deploying. despite what it might say on the box, nothing is ever free and you need to evaluate the pros and cons of adding additional layers into a design, particularly if they result in communication between containers .


source: http://www.codingthearchitecture.com/2010/07/16/more_layers_more_complexity.html

Data (computing) application

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • GitLab vs Jenkins: Which Is the Best CI/CD Tool?
  • Master Spring Boot 3 With GraalVM Native Image
  • Rust vs Go: Which Is Better?
  • [DZone Survey] Share Your Expertise and Take our 2023 Web, Mobile, and Low-Code Apps Survey

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

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

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends: