4 ms·
I'd love to hear a bit more detail about how MongoDB helped with the project.
by davedx 14y ago
I'd love to hear a bit more detail about how MongoDB helped with the project.
- ericingram 14y agoIn Forward, MongoDB makes custom features easier by allowing each template to store data in different ways, without doing any database migrations or really thinking too hard about schema design. The Forward data model operates on certain fields it knows about, but allows other fields to be saved/searched in the same way. For example: {put [custom_field => "Blue"] in "/products/123"} {get $product from "/products/123"} Value is: {$product.custom_field} You can also search for that value... {get $blue_products from "/products" [search => [custom_field => "Blue"]]} While you could accomplish this with a SQL database also, it wouldn't be as easy to read, and probably slower. Performance in early projects has been phenomenal with MongoDB.
- davedx 14y agoThanks for the explanation!