O'Reilly logo

Programming Social Applications by Jonathan LeBlanc

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using a Blended Server and Client Environment

As mentioned earlier, when beginning a new application project, developers usually face questions about the proper methods for building its programming logic. Developers tend to use an approach that is comfortable to them, sometimes ignoring other good options that are available because of their ingrained habits.

When it comes to developing an application, is a heavy client-side system better than a heavy server-side implementation, or vice versa? The short answer is that both approaches provide different benefits that add to the performance, functionality, or development ease of an application.

Most containers that currently allow applications to be developed on their platforms offer a series of secure tags from which the developer can create quick visualizations of user social data without actually having to make any server calls. This provides an obvious boon to frontend development, as the container can take care of processing social data without actually requiring the user to grant the application permission to access her personal information. Secure tags are just one benefit available to developers who are building out a frontend system, but having the container manage the frontend processing of social data is usually the critical piece that allows developers to build highly social applications.

Exploring the alternate side of the fence, a server-side approach has obvious benefits for developers. First of all, server processing doesn’t ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required