One-Click Registration with Facebook Connect

May
18

Facebook continues to grow at a rapid pace, and many sites have started to integrate Facebook Connect as a single sign on solution. Drupal has two modules available for integration with Facebook Connect: FB Module and Facebook Connect Module. This post uses our recent experiences to show how Facebook Connect can be extended in Drupal to offer a one-click to full profile (including image) solution. The results can look like this:

Read More >>>

20 APIs in 20 Days: Feeds and Aggregation

Oct
15

This post is an entry in our 20 APIs in 20 Days series. Learn more about how best practices lead to sustainable development at www.trellon.com. Read More >>>

20 APIs in 20 Days: Remember to Bring Your Tokens

May
20

This post is an entry in our 20 APIs in 20 Days series. Learn more about how best practices lead to sustainable development at www.trellon.com.

Often, the most important part of a website is the users of the site itself. They are unique individuals who form the basis of thriving communities. It's vital to support users by delivering content in predictable and personalized ways. Read More >>>

20 APIs in 20 Days: The Forms API

Apr
08

This post is an entry in our 20 APIs in 20 Days series. Learn more about how best practices lead to sustainable development at www.trellon.com.

There's not much that has not been said about Drupal's Forms API, and it can be a challenging concept for developers who are used to working with other platforms. Any series talking about the underlying framework would be incomplete without some discussion of how it is used.

The Forms API in Drupal provides developers with a way to dynamically construct, modify and secure forms on your web sites. Instead of writing out the markup for individual form elements, developers define a form through an array that instructs Drupal on how to assemble the form and present it to users. The Forms API also tells Drupal how to validate form submissions and what to do with any data being received.

The real power of the API, however, lies in the fact that custom modules can modify forms as they are being generated. Developers can create new fields, provide additional validation conditions, and handle form submissions dynamically. This kind of extensibility is unique to Drupal, and represents a very different pattern for designing web applications. Read More >>>

20 APIs in 20 Days: View on Views API

Apr
05

This post is an entry in our 20 APIs in 20 Days series. Learn more about how best practices lead to sustainable development at www.trellon.com.

Views is the most widely used of all the contributed modules for Drupal. It offers the ability to easily create pages and blocks of dynamic content, which can be authored through a web based interface. It also allows site admins to attach filters to views, providing useful ways to drill down on data without too much effort.

The Views module also possesses a well defined API for working with views in code. Developers can call views within their modules, modify the way views are displayed, and even create new views programmatically. There is extensive documentation and community discussion about the different ways you can work with views in your code. This edition of the 20 APIs in 20 Days series seeks to provide an overview of some of the less well-known features of the API, that our team often finds useful when developing sites for clients. Read More >>>