TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: create, share, explore database patterns

125 pointsby fatiherikliover 12 years ago

20 comments

dangover 5 years ago
The original URL was <a href="http:&#x2F;&#x2F;dbpatterns.com&#x2F;" rel="nofollow">http:&#x2F;&#x2F;dbpatterns.com&#x2F;</a>, which no longer points to the right content, so we replaced it with an archive.org copy.
rlanderover 12 years ago
Wow, very clean UI, great work.<p>On a related note, if anybody is looking for a mature source but with a substantially worse UI, I've been referencing the Library of Free Data Models [1] for years.<p>[1] <a href="http://www.databaseanswers.org/data_models/" rel="nofollow">http://www.databaseanswers.org/data_models/</a>
评论 #4658826 未加载
ripperdocover 12 years ago
A great interface, but I see one huge omission - a place to discuss or comment the patterns. A pattern doesn't live in vacuum, it is good under certain circumstances and bad in others. So the pattern is only valuable to me if it comes with an explanation of what it's trying to achieve and why it looks the way it does. Link it up to Stackoverflow or at least throw in some basic commenting function and this would be a useful tool.
评论 #4658823 未加载
martin-adamsover 12 years ago
Nice idea but needs a comment system. For example, I know a pattern like this has problems: <a href="http://dbpatterns.com/show/5072096089cbad6a389867c7/" rel="nofollow">http://dbpatterns.com/show/5072096089cbad6a389867c7/</a><p>Change the price of a product then calculate last months revenue.<p>I'd also like to see a brief about what the pattern is trying to solve and why it is the way it is. I've used patterns for sortable hierarchical categories before which is more complex than a parent/position relationship. That would take a bit of explaining with regards to querying, sorting, inserting, removing records.<p>But all in all, I like it. Nice clean UI and can see it growing.
评论 #4659231 未加载
3amOpsGuyover 12 years ago
Any plans for NoSQL patterns? I'd be happy to share some useful schemas for column stores like Cassandra.
评论 #4658579 未加载
elchiefover 12 years ago
If you are looking for good books on data modeling patterns, I recommend these:<p>David Hay's <i>Enterprise Model Patterns</i> (and his earlier ones). This is a beast of a book, but has some great patterns. <a href="http://www.amazon.com/dp/1935504053/" rel="nofollow">http://www.amazon.com/dp/1935504053/</a><p>Len Silverston's <i>Data Model Resource Book</i> Vols. 1, 2, 3. Good case studies by industry in the last 2 books. <a href="http://www.amazon.com/dp/0471380237/" rel="nofollow">http://www.amazon.com/dp/0471380237/</a><p>Michael Blaha's <i>Patterns of Data Modeling</i> . This one has some interesting temporal, graph, and tree models. <a href="http://www.amazon.com/dp/1439819890/" rel="nofollow">http://www.amazon.com/dp/1439819890/</a><p>Martin Fowler's <i>Analysis Patterns</i>. This one skims some of the other patterns, but gives accounting a solid treatment. <a href="http://www.amazon.com/dp/0201895420/" rel="nofollow">http://www.amazon.com/dp/0201895420/</a><p>They are all well-rated on Amazon and I have read them and they are all very good. A few are available on Safari too.
modartsover 12 years ago
Looks good; it'd be great to have a SQL generation feature which will allow you to generate scripts from the design surface.
评论 #4657660 未加载
salimmadjdover 12 years ago
Great idea and nice design. If anything, I can find it useful as a starting point. But it would be good to put some requirements behind the designs. Meaning here is what was required designed to allow us expand this or that direction, etc.
simonwover 12 years ago
Suggestion: support sign in with GitHub. It's really easy to do (they have a very clean oauth implementation) and would fit your target audience well.
评论 #4659225 未加载
ineedtosleepover 12 years ago
Site went down while I was using it, however, this could be very interesting (coming from a database noob). Definitely will keep my eye on the site as long as it's up ;P<p>EDIT: Noticed you also use jsPlumb. How was your experience with that and did you ever consider other options? I had a few smaller projects that used jsPlumb, but it seemed pretty limiting once my diagrams needed a little more functionality.
评论 #4657240 未加载
dplescaover 12 years ago
I used <a href="http://dbdsgnr.appspot.com/" rel="nofollow">http://dbdsgnr.appspot.com/</a> for something like this. It has sql export and it supports a few database engines. If it would allow better forking it would be awesome.
DLarsenover 12 years ago
I like the idea. Would love to have authenticated with my GitHub account.
krichmanover 12 years ago
It looks cool, but I don't see the utility just yet. Are there patterns that are very useful, but difficult to come up with just by following one of the normal forms?
评论 #4658374 未加载
fusiongyroover 12 years ago
Very impressive. Of course, some sort of SQL export would be very helpful (I couldn't find one before it went down, if there is one).
quadrant6over 12 years ago
I should be able to start creating a pattern without having to register. Ask me for that if I want to save.
ecesenaover 12 years ago
Nice work! I've noticed in Friendship model that some ids are strings...
pjscottover 12 years ago
Site is down at the moment. Maybe this is a demonstration of the "Crash and burn under load, even though it worked so well when nobody else was using it" database pattern? I run into that pattern way too often, i.e. more than zero times.
jfaucettover 12 years ago
can't even get to the site, but the idea sounds good, will definately check back in a day or two, once the load on the servers goes back to normal.
评论 #4657246 未加载
chris_wotover 12 years ago
What is tastypie?
评论 #4659997 未加载
jaequeryover 12 years ago
this is definitely cool