3 ms·
> it seems like none of the "modern" web frameworks fit such a simple use case Why is that? To me it looks like Django or Ruby On Rails would fit the bill perf
by Rjevski 8y ago
> it seems like none of the "modern" web frameworks fit such a simple use case
Why is that? To me it looks like Django or Ruby On Rails would fit the bill perfectly.
The only things you'd need to do by yourself is the searching & filtering (possibly integrate with ElasticSearch since conventional databases aren't really good at search, especially not full-text search where you want a certain fuzziness to account for typos).
Authentication comes for free thanks to the framework, and Django even gives you the admin-side for free so you have a basic CRUD interface for adding/deleting products.
- tnolet 8y agoFor these low numbers, Postgres will do full text search just fine. So as mentioned, just use Rails or Django with Postgres.
- Rjevski 8y agoIs it fuzzy though? My concern was more about ES being able to handle "approximate" matches; where as I assume Postgres would be limited to regex-like matches.
- hazz99 8y agoPostgres can definitely do fuzzy matches! [0] https://www.rdegges.com/2013/easy-fuzzy-text-searching-with-postgresql/ https://www.rdegges.com/2013/easy-fuzzy-text-searching-with-...