boss_db and MongoDB

68 views
Skip to first unread message

Werner Buchert

unread,
Sep 9, 2015, 3:23:46 AM9/9/15
to ChicagoBoss
Hi,
I want to use Chicagoboss with MongoDB, but I have one question:
Why should I use MongoDB with boss_db, with boss_db i have to use a relational data model.
I'm losing all advantages of NoSQL or not?

Best regards,
Werner.


David Welton

unread,
Sep 22, 2015, 2:27:38 PM9/22/15
to chica...@googlegroups.com
I'd personally suggest that Postgres is a pretty good database unless
you are absolutely, positively sure that you must have features that
MongoDB has.

"NoSQL" is a wide range of things - what particular advantages are you
looking for?
> --
> You received this message because you are subscribed to the Google Groups
> "ChicagoBoss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to chicagoboss...@googlegroups.com.
> Visit this group at http://groups.google.com/group/chicagoboss.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/chicagoboss/73a07695-b8ae-4720-bf4b-d53ac08a15fe%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



--
David N. Welton

http://www.welton.it/davidw/

http://www.dedasys.com/

kotedo

unread,
Sep 22, 2015, 2:33:29 PM9/22/15
to chica...@googlegroups.com
Hi Werner,

I have used MongoDB a LOT with different ChicagoBoss applications and I loved it.
I think I love the idea of being schema free; updates to a model are reflected without 
any migrations (that ChicagoBoss really doesn’t have).


Just my $0.02.

—Kai

Werner Buchert

unread,
Sep 23, 2015, 9:30:01 AM9/23/15
to ChicagoBoss
Hi Kai,

I agree with you.
The point is, you haven't used boss_db, right?

Best regards,
Werner.

kotedo

unread,
Sep 23, 2015, 9:37:07 AM9/23/15
to chica...@googlegroups.com
Werner,

as a matter of fact, I did use MongoDB WITH boss_db.  That’s what I said.

—Kai

Werner Buchert

unread,
Sep 23, 2015, 9:44:23 AM9/23/15
to ChicagoBoss
Hi Kai,

really, okay, sorry.


Best regards,
Werner.

kotedo

unread,
Sep 23, 2015, 9:56:58 AM9/23/15
to chica...@googlegroups.com
Werner,

Kein Problem. 

I have used a lot of MongoDB with ChicagoBoss and boss_db.  I drove Evan Miller nuts
about adjusting boss_db to work with MongoDB.  A lot of the changes on boss_db in
regards of MongoDB were instigated by me.

This being said, boss_db and MongoDB are pretty good together.
There is even support for MongoDB clusters/replication in boss_db due to my pushing for it.

—Kai


Werner Buchert

unread,
Sep 23, 2015, 10:03:13 AM9/23/15
to ChicagoBoss
Hi Kai,

but how can you model subdocuments with boss_db, like that:

{
	first_name: “Paul”,
	surname: “Miller”,
	city: “London”,
	location: [45.123,47.232],
	cars: [
	   { model: “Bentley”,
		year: 1973,
		value: 100000, ….},
	   { model: “Rolls Royce”,
		year: 1965,
		value: 330000, ….},
	]
	}

I don't see it here:
http://chicagoboss.org/doc/api-record.html

Vielen Dank,
Werner.













Reply all
Reply to author
Forward
0 new messages