mitechie
Hands on with the CODE keyboard
Re:Building a higher-level query API: the right way to use Django's ORM
on Thursday May 10, 2012 @09:02AM (#3953234)
I can't agree more. Always wrap your ORM with your own logic that makes sense to you and your application. You'll find code reuse will go way up, readability will go way up, testing is easier. You can actually test the model without bootstrapping the whole app. I've been preaching this in my SqlAlchemy talks and tutorials for years.
Re:Why I'm building Nilai - A simple bookmarking service
on Monday March 19, 2012 @07:43AM (#3723445)
Re:Why I'm building Nilai - A simple bookmarking service
on Sunday March 18, 2012 @11:03PM (#3722031)
Yea, the big issue is the denormalization of the data in the json dump. While it's machine readable, it's still a bit of a pita to put it together. The other thing is that since you're a folder user, how to you transition that to the tags concepts most services use. Right now I just import the folders as tags from the html dump, but want users that have tags in their stuff to be able to load the json dump to preserve those tags, which seems like it'd still not do what you were looking for. I need to make sure that nested folders means you get multiple tags during import, and I wonder if that'd help you out.
Re:Why I'm building Nilai - A simple bookmarking service
on Sunday March 18, 2012 @10:45PM (#3721977)
Ok cool, I've been investigating firefox json dump imports, so wanted to make sure that's what you were using.
Re:Why I'm building Nilai - A simple bookmarking service
on Sunday March 18, 2012 @10:26PM (#3721930)
What browser are you using that you've got your bookmarks setup in?