UI Building Blocks

Next

Header Footer Web Service

Overview

The Responsive Header Footer provides HP.com customers with a single worldwide architecture and navigation system. By creating the navigation as a web service, HP is able to centrally manage and easily change the navigation model by country whenever new product lines are launched or retired from the product mix.

Technical Hightlights

  • RESTful web service and framework for exposing Tridion Content As A Service (CaaS)
  • Powered by JAX-RS – Jersey implementation on top of the DCP 2.0 and CWA
  • Global Navigation – Consitent worldwide site architecture and navigation system
  • Multiple output formats such as XHTML, XML, JSON, JSON-P are supported
  • Automated content and style updates using 'latest' URL implementation

Integration

The Header and Footer web service can be integrated on both the server-side and client-side. The choice depends on the technology used to produce the page. Server-side integration is preferred because that type of technology – such as JSP, ASP, or similar – gives performance benefits and more room for improvement.

REST Service API: All resources for the Header Footer REST-service supports the GET HTTP, HTTPS request and has the below URI convention.

  • http://www8.hp.com/caas/header-footer/{cc}/{ll}/{section}/{version}/{resource}/{sub-resource}?{params}
  • https://ssl.www8.hp.com/caas/header-footer/{cc}/{ll}/{section}/{version}/{resource}/{sub-resource}?{params}

Codes Defined:

  • {cc} = Country code
  • {ll} = Language code
  • {section} = Section of website
  • {version} = Version of resources
  • {resource} = Resource identier
  • {params} = Request paramters

End-point Example: Responsive Header Footer

For comprehensive integration instructions and FAQs, visit the HP.com Web Standards website for the official documentation and instructions.