Thanks I haven't seen that method of paging before. The trade offs are interesting. I've been toying around with how we might make sweet liberty have more of a pluggable architecture -- allowing you to choose a custom feature set. This could allow features that are independent, 3rd-party implementations. Your example would be a perfect use case.
Bill On Saturday, February 21, 2015 at 11:43:11 AM UTC-5, Andy Chambers wrote: > > > > On Tuesday, February 17, 2015 at 11:24:48 AM UTC-5, Bill Piel wrote: >> >> Blog post: >> https://blog.rjmetrics.com/2015/02/15/sweet-liberty-set-your-data-free-with-clojure-and-rest/ >> >> >> Sweet-Liberty is a library for building database-backed RESTful services >> using Clojure. You can think of it as a means to build and configure >> components that translate between REST and SQL. Or, you might say that it >> helps you wrap a REST interface around a relational database. Besides >> standard CRUD operations (available via appropriate HTTP methods), it also >> supports some other features through query parameters, such as: filtering, >> paging and returning a subset of fields. >> >> >> Feedback is welcome and appreciated. Thanks >> > > It looks cool! > > I started out on a similar track but using datomic as the storage and > ended up with http://github.com/cddr/crud > > Since you have implemented paging, you might be interested in reading > http://use-the-index-luke.com/sql/partial-results/fetch-next-page which > provides a method of paging with different (IMO better) trade-offs to the > method you see in most tutorials. > > Cheers, > Andy > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.