Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Create ProvidetType for BlogPost

#1

Create a ProviderType for BlogPost. A typical BlogPostProvider should be able to do the following:

  • Get a total count of available posts.
  • Receive the n newest posts, cronologically (publishdate), not by when they were added.
  • Receive post n to m.
  • The two points above should be able to do sow in the well-known syntax SomeGetFunc(int pageIndex, int pageSize, out int totalPosts).
  • Get posts by a list of ids.
  • Add post.
  • Delete post.
  • Modify post.

A post should at least contain the following information:

  • The id of the post.
  • The title of the post.
  • The slug of the post.
  • The Ingress-part of the post (might need renaming).
  • The More-part of the post (might also need renaming).
  • The date and time published (might be never or in the feature).
  • The date and time created.
  • The state of the post (published, draft, etc.).
  • The author of the post (both a string-representation and an id is needed. The string-representation might be overridden).

Reported by Alxandr · March 21st, 2010 @ 12:40 AM

State: new
Milestone: ProviderTypes
Assigned to: nobody

Activity

No comments yet.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.