Re: [DataMapper] Re: newbie questions

2012-12-01 Thread Perry Smith

On Dec 1, 2012, at 7:30 AM, solnic wrote:

 Hey Perry,
 
 DM1 implements Active Record pattern so there's no big difference between DM1 
 and ActiveRecord in Rails from the app's design point of view. You *can* 
 separate persistence concerns from domain logic using either DM1 or AR; 
 however, it adds a lot of extra work so you should really think if that's 
 what you need.
 
 It's also probably worth to mention that DM1's development is no longer very 
 active. We're busy working on the next major version of DM which implements 
 Data Mapper pattern and that's probably something you're looking for 
 unfortunately it's not finished yet.
 
 If you want to learn about DM 2.0 you can check out my slides from RubyShift 
 conf: https://speakerdeck.com/solnic/datamapper-2-an-object-mapping-toolkit

Thank you immensely.  Things make much more sense now.  It was DM 2.0 that was 
being mentioned in the other sources.

Is it too early to use DM 2?  As I said, my current project is mostly to learn. 
 I'd be more than happy to piddle and play and provide some feedback.  I 
usually use Postgres

Thank you again,
Perry

-- 
You received this message because you are subscribed to the Google Groups 
DataMapper group.
To post to this group, send email to datamapper@googlegroups.com.
To unsubscribe from this group, send email to 
datamapper+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/datamapper?hl=en.



Re: [DataMapper] Re: newbie questions

2012-12-01 Thread solnic
On Saturday, December 1, 2012 4:17:10 PM UTC+1, Perry Smith wrote:
 On Dec 1, 2012, at 7:30 AM, solnic wrote:
 
 
 
  Hey Perry,
 
  
 
  DM1 implements Active Record pattern so there's no big difference between 
  DM1 and ActiveRecord in Rails from the app's design point of view. You 
  *can* separate persistence concerns from domain logic using either DM1 or 
  AR; however, it adds a lot of extra work so you should really think if 
  that's what you need.
 
  
 
  It's also probably worth to mention that DM1's development is no longer 
  very active. We're busy working on the next major version of DM which 
  implements Data Mapper pattern and that's probably something you're looking 
  for unfortunately it's not finished yet.
 
  
 
  If you want to learn about DM 2.0 you can check out my slides from 
  RubyShift conf: 
  https://speakerdeck.com/solnic/datamapper-2-an-object-mapping-toolkit
 
 
 
 Thank you immensely.  Things make much more sense now.  It was DM 2.0 that 
 was being mentioned in the other sources.
 
 
 
 Is it too early to use DM 2?  As I said, my current project is mostly to 
 learn.  I'd be more than happy to piddle and play and provide some feedback.  
 I usually use Postgres

It is too early. If things go well we will release an alpha in December and 
it'll be perfect time for testing things out and providing feedback :)

Currently development takes place in https://github.com/solnic/dm-mapper and 
https://github.com/mbj/dm-session.

cheers

# solnic

-- 
You received this message because you are subscribed to the Google Groups 
DataMapper group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/datamapper/-/gbzcjr2qQ_cJ.
To post to this group, send email to datamapper@googlegroups.com.
To unsubscribe from this group, send email to 
datamapper+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/datamapper?hl=en.



Re: [DataMapper] Re: newbie questions

2012-12-01 Thread Perry Smith

On Dec 1, 2012, at 10:31 AM, solnic wrote:
 
 Currently development takes place in https://github.com/solnic/dm-mapper and 
 https://github.com/mbj/dm-session.

By the way, the session looks very similar (to me) to Context in DCI.  I'm 
liking a lot of what I'm seeing.  Good luck!

-- 
You received this message because you are subscribed to the Google Groups 
DataMapper group.
To post to this group, send email to datamapper@googlegroups.com.
To unsubscribe from this group, send email to 
datamapper+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/datamapper?hl=en.