Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Zend Framework's implementation of Mashup Web Services

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Page: 1
Go to End
Author Topic: 3039 Views
  • laktek
    Avatar
    Google Summer of Code Hacker
    76 Posts

    Zend Framework's implementation of Mashup Web Services Link to this post

    Seems like Zend framework also following similar approach to what we are doing at Mashup Web Services (seriously I didn't know it before hand). In Zend framework too, they have a extendable Zend_Service class which supports REST as our RestfulService class.

    They ships their framework with builtin support to web services such as Akismet, Amazon, Audioscrobbler, Del.icio.us, Flickr, Simpy, StrikeIron, Yahoo! and they plans to add more services later.

    I think this is great as a source of inspiration when coming to ideas and planning of our module.

  • Tim
    Avatar
    Core Development Team
    201 Posts

    Re: Zend Framework's implementation of Mashup Web Services Link to this post

    It's also interesting to note that the Zend Framework is licensed under the BSD licence, same as SilverStripe.

    Are there components which we can borrow or reuse from this? Would there be any value?

  • elijahlofgren
    Avatar
    Google Summer of Code Hacker
    222 Posts

    Re: Zend Framework's implementation of Mashup Web Services Link to this post

    > They ships their framework with builtin support to web services such as Akismet, Amazon, Audioscrobbler, Del.icio.us, Flickr, Simpy, StrikeIron, Yahoo! and they plans to add more services later.
    > I think this is great as a source of inspiration when coming to ideas and planning of our module.

    I just wanted to say that it would be great if Del.icio.us support was added to SilverStripe mashups. I just started using Del.icio.us today and it's great!

  • laktek
    Avatar
    Google Summer of Code Hacker
    76 Posts

    Re: Zend Framework's implementation of Mashup Web Services Link to this post

    Elijah >> You can use RestfulServices class to list your DEL.ICIO.US links on your homepage. Try this out !

    Have this on your Page.php

    function DeliciousLinks(){
          $delicious = new RestfulService("http://del.icio.us/rss/yourname");
          
          $conn = $delicious->connect();
          $result = $delicious->getValues($conn, "item");
          
          return $result;
       }

    And this on your template :

    <% control DeliciousLinks %>
       <li><a href="$link">$title</a></li>
    <% end_control %>

    I guess we should introduce a formal way to build and consume such widgets in SS easily. Similar application would be twittr, lastfm, amazon and much more!

  • elijahlofgren
    Avatar
    Google Summer of Code Hacker
    222 Posts

    Re: Zend Framework's implementation of Mashup Web Services Link to this post

    > Elijah >> You can use RestfulServices class to list your DEL.ICIO.US links on your homepage. Try this out !

    Hi laktek,

    Wow, this is great! This is a much better solution than using LastRSS

    I've posted a quick howto on http://doc.silverstripe.com/doku.php?id=mashups#how_to_use_mashups_to_easily_embed_an_rss_feed. Feel free to move/change it. ;)

    Thank you very much for telling me about this,

    Elijah

  • laktek
    Avatar
    Google Summer of Code Hacker
    76 Posts

    Re: Zend Framework's implementation of Mashup Web Services Link to this post

    Yeah! this would be a much nicer and more SilverStripe way to handle the problem. Yet I'm not sure whether it would work perfectly for any RSS feed type (but it should in theory ;) )

  • elijahlofgren
    Avatar
    Google Summer of Code Hacker
    222 Posts

    Re: Zend Framework's implementation of Mashup Web Services Link to this post

    > Elijah >> You can use RestfulServices class to list your DEL.ICIO.US links on your homepage. Try this out !
    > I guess we should introduce a formal way to build and consume such widgets in SS easily. Similar application would be twittr, lastfm, amazon and much more!

    I've created a RSSFeedURL page type allowing easy embedding of an RSS feed (such as one from del.icio.us) on a page. I'll probably use that until the cool widgets I'm hearing about become available.

    3039 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.