DotNetKick.com is an open-source project. Please report any bugs and let us know your great suggestions. Currently running svn revision 620 (rss)

Kick Spy!, Kick Zeitgeist and Kick Widgets

24
kicks
published 10 months, 27 days ago, submitted by gavinjoyce gavinjoyce 10 months, 27 days ago

dotnetkicks.com — I've just deployed the first set of DotNetKicks JSON services. Have a gander at these initial operations and let me know what you think of the schema.

tags: , , , | tag it

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:

Comments:
These services are provided using Jayrock : http://jayrock.berlios.de/.

There is a test page at http://www.dotnetkicks.com/services/json/jsonservices.ashx?test

The operations are as follows:

getPopularStories()
getPopularStoriesPaged(pageNumber, pageSize)
getPopularStoriesPagedAndSorted(pageNumber, pageSize, sortBy)
getUpcomingStories()
getUpcomingStoriesPaged(pageNumber, pageSize)
getUpcomingStoriesPagedAndSorted(pageNumber, pageSize, sortBy)

The sortBy parameter accepts the following values:

Today,
PastWeek,
PastMonth,
PastYear,
AllTime,
posted by gavinjoyce gavinjoyce 10 months, 27 days ago
posted by gavinjoyce gavinjoyce 10 months, 27 days ago
It is hard to infer the message schema from the actual messages. Here are the message classes:

http://dotnetkicks.googlecode.com/svn/trunk/DotNetKicks/Incremental.Kick/Dal/Entities/DataTransferObjects/
posted by gavinjoyce gavinjoyce 10 months, 27 days ago
Hi Gavin,

Out of curiousity why did you drop ajaxpro? Was there a reason for not using asp.net ajax? I remember someone asking if you were going to do a blog posting about your decision. I'd like to +1 that (if and when you have the time).

Cheers,

John
posted by johnman 10 months, 26 days ago
Atif Aziz contacted me suggesting that I try Jayrock as an alternative to AJAX.NET Pro.

There are a number of things that I like about Jayrock - its simplicity, its 537 unit tests and 75% code coverage, JSONP support and test UI pages.

I have only had brief experience with ASP.NET AJAX but I'm no longer a fan of the ASP.NET postback model and try to stay away from it as much as possible. ASP.NET AJAX seemed to abstract, since working with rails I appreciate working at a lower level.

I still plan to write a blog post on Jayrock after I explore it more.
posted by gavinjoyce gavinjoyce 10 months, 26 days ago
I recently updated to the latest build of Jayrock. This version supports JSONP, allowing us to easily build widgets that can plug in to external sites without cross-site scripting problems. Here is an example call:

http://www.dotnetkicks.com/services/json/jsonservices.ashx/getPopularStoriesPaged?pageNumber=2&pageSize=4&jsonp=loadData

To use, please see:

http://groups.google.com/group/jayrock/msg/d688bc572e5220ad
posted by gavinjoyce gavinjoyce 10 months, 26 days ago
I've just deployed the latest set of JSON operation. We now have:

getFrontPageStories()
Returns a list of the most popular pubished stories from the last 30 days
getPopularStories()
Returns a list of the most popular pubished stories from the last 30 days
getPopularStoriesPaged(pageNumber, pageSize)
Returns a paged list of the most popular pubished stories from the last 30 days
getPopularStoriesPagedFromTimePeriod(pageNumber, pageSize, timePeriod)
Returns a paged list of the most popular pubished stories from a time period
getTaggedStories(tag)
Returns a list of the most recent stories tagged with a tag
getTaggedStoriesPaged(tag, pageNumber, pageSize)
Returns a paged list of the recent stories tagged with a tag
getUpcomingStories()
Returns a list of the most popular upcoming stories from the last 30 days
getUpcomingStoriesPaged(pageNumber, pageSize)
Returns a paged list of the most popular upcoming stories from the last 30 days
getUpcomingStoriesPagedFromTimePeriod(pageNumber, pageSize, timePeriod)
Returns a paged list of the most popular upcoming stories from a time period
getUserFriendsKickedStories(username)
Returns a list of the most recent stories kicked by a user's friends
getUserFriendsKickedStoriesPaged(username, pageNumber, pageSize)
Returns a paged list of the most recent stories kicked by a user's friends
getUserFriendsSubmittedStories(username)
Returns a list of the most recent stories submitted by a user's friends
getUserFriendsSubmittedStoriesPaged(username, pageNumber, pageSize)
Returns a paged list of the most recent stories submitted by a user's friends
getUserKickedStories(username)
Returns a list of the most recent stories kicked by a user
getUserKickedStoriesPaged(username, pageNumber, pageSize)
Returns a paged list of the most recent stories kicked by a user
getUserSubmittedStories(username)
Returns a list of the most recent stories submitted by a user
getUserSubmittedStoriesPaged(username, pageNumber, pageSize)
Returns a paged list of the most recent stories submitted by a user
posted by gavinjoyce gavinjoyce 10 months, 26 days ago



information Login or create an account to comment on this story
 

Sponsored Link: www.carlist.ie

Search:

Ads via The Lounge