New Haiku Services Kit Takes Shape

This summer, too, the Haikuproject is part of the Google Summer of Code event. One of the more interesting projects is the Services Kit (draft document!) by Christophe “Shusui” Huriaux, which is an API to facilitate the creation of native web-enabled programs using standard web protocols and data exchange mechanisms.

At Haikuzone, Jorge G. Mare gives a succinct but thorough explanation of what the Serives Kit really is. “The Services Kit is comprised of three layers: a network layer for sending and receiving data using standard web protocols such as HTTP, HTTPS, FTP or LDAP; a data interchange layer with support for standard specifications such as XML, JSON or REST; and the API layer that provides the interface for developers to use,” Mare writes.

Huriaux explains what the Services Kit does in its most basic form. “In its simplest shape, the kit takes an URL, decide what protocol he should instantiate, make the request to retrieve a resource, ensure that the request is well completed and return an object containing all the resulting data,” he details.

The goal of the Services Kit, therefore, is to make it easier to develop web-enabled applications in Haiku using a standardised API. As such, it made sense to test the Services Kit with WebPositive, the WebKit browser for Haiku. After a lot of work, a WebPositive build using the Services Kit instead of cURL was built, and it offered compelling performance improvements.

“A little test of a huge file download over my local network led me to this conclusion: Web+ with cURL was downloading at ~250kB/s whereas Web+ with Services Kit was around 1.5MB/s,” Huriaux writes, “The core of the Kit is not yet optimized with deferred loading and other features like that, but we could expect much more good things!”

This seems like a great new addition to the Haiku landscape, and I’m sure many developers of web-enabled Haiku applications are eager to start implementing Services Kit. For now, the Kit is not yet done, but Huriax has already made it clear he’s going to continue development even after GSoC.

89 Comments

  1. 2010-08-20 10:15 pm
  2. 2010-08-20 10:22 pm
  3. 2010-08-20 11:54 pm
    • 2010-08-21 12:09 am
      • 2010-08-21 11:55 pm
    • 2010-08-21 2:18 am
      • 2010-08-21 3:32 am
        • 2010-08-21 4:43 am
        • 2010-08-21 10:18 am
          • 2010-08-21 3:11 pm
          • 2010-08-22 1:45 am
          • 2010-08-22 5:49 am
          • 2010-08-22 1:26 pm
          • 2010-08-22 2:53 pm
          • 2010-08-23 6:33 am
          • 2010-08-22 4:36 pm
          • 2010-08-22 6:57 pm
          • 2010-08-22 7:01 pm
          • 2010-08-22 9:11 pm
          • 2010-08-23 1:32 am
      • 2010-08-22 1:19 pm
      • 2010-08-23 12:28 am
      • 2010-08-23 10:56 am
    • 2010-08-21 3:15 pm
  4. 2010-08-21 5:48 am
  5. 2010-08-21 6:30 am
    • 2010-08-21 7:48 am
  6. 2010-08-21 7:54 am
    • 2010-08-21 8:27 am
    • 2010-08-21 8:31 am
      • 2010-08-21 9:17 am
        • 2010-08-21 1:15 pm
          • 2010-08-22 2:14 am
          • 2010-08-22 3:45 am
          • 2010-08-22 5:30 am
          • 2010-08-22 10:40 pm
          • 2010-08-22 12:22 pm
          • 2010-08-22 4:45 pm
          • 2010-08-22 2:41 pm
          • 2010-08-22 3:59 pm
          • 2010-08-23 2:58 am
          • 2010-08-23 9:02 am
          • 2010-08-22 9:29 pm
          • 2010-08-22 10:42 pm
          • 2010-08-22 11:02 pm
          • 2010-08-23 2:18 pm
          • 2010-08-23 3:52 pm
          • 2010-08-23 5:03 pm
          • 2010-08-22 11:26 pm
          • 2010-08-23 3:04 am
          • 2010-08-23 12:49 pm
          • 2010-08-25 10:38 am
          • 2010-08-25 3:11 pm
    • 2010-08-21 1:32 pm
    • 2010-08-21 1:36 pm
      • 2010-08-21 2:54 pm
      • 2010-08-21 11:09 pm
        • 2010-08-22 5:52 am
          • 2010-08-22 9:11 am
          • 2010-08-22 10:16 am
          • 2010-08-22 1:29 pm
          • 2010-08-22 1:42 pm
          • 2010-08-22 2:59 pm
          • 2010-08-22 4:04 pm
          • 2010-08-25 11:57 am
          • 2010-08-24 5:27 pm
        • 2010-08-22 1:37 pm
    • 2010-08-21 11:43 pm
      • 2010-08-22 8:40 pm
        • 2010-08-23 12:27 am
          • 2010-08-23 9:37 am
          • 2010-08-23 1:56 pm
  7. 2010-08-21 9:04 pm
  8. 2010-08-23 1:20 am
  9. 2010-08-23 4:38 am
    • 2010-08-23 1:23 pm
  10. 2010-08-23 9:00 am
    • 2010-08-23 1:48 pm
  11. 2010-08-23 5:21 pm
    • 2010-08-23 6:00 pm
    • 2010-08-23 6:11 pm
      • 2010-08-23 6:21 pm
        • 2010-08-23 7:28 pm
      • 2010-08-24 12:59 am
        • 2010-08-24 2:26 pm
    • 2010-08-23 10:36 pm