Part of the EllisLab Network
   
1 of 10
1
DataMapper ORM v2.0 - Input requested
Posted: 02 November 2011 07:51 PM   [ Ignore ]  
Sr. Research Associate
Avatar
RankRankRankRankRank
Total Posts:  4108
Joined  11-04-2008

I started the development of the next incarnation of DataMapper ORM: version 2.

Most of it will be rewritten, while I try to keep the API unchanged as much as possible. But some things are going to change, will be removed, or will be introduced.

Some of the items already part of the design:
- full support for Core and Reactor 2.0+
- exceptions instead of show_errors()
- support for extending the DataMapper library
- support for model base classes ( a extends b extends c extends DataMapper )
- per model configuration caching and cache expiry
- entirely implemented as a third-party package
- different way of working with extensions
- non-core functionality is now an extension (p.e. validation, transactions)
- extensions are autoload on call
- new relationship type: belongs_to “I have the FK”, now has_one/has_many means “You have the FK”
- no more simple relationships, and restructured advanced relationships to make them easier to use
- support for multiple primary keys for a table
- no more fixed ‘id’ key column
- large reduction of the “Reserved Names” list
- all (public and protected) DataMapper methods and properties for internal use are now prefixed “dm_”

You, who uses DataMapper in you applications, can probably come up with a much longer list of issues, features or improvements.

If so, please let me know, here, or on DataMappers new place on the web: https://github.com/WanWizard/Datamapper2/issues

I love to hear from you.

 Signature 

WanWizard.eu | Modular CI, an HMVC solution | DataMapper ORM

Profile
 
 
Posted: 02 November 2011 08:24 PM   [ Ignore ]   [ # 1 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  638
Joined  09-17-2010

Great news :]
I’ll dig through the source later on and give you my pointers (I’m sure I’ll find some).

Edit: Oh and a quick suggestion/topic before I head to bed: Soft deletion maybe?

 Signature 

I love lasagne!

Profile
 
 
Posted: 03 November 2011 05:24 AM   [ Ignore ]   [ # 2 ]  
Sr. Research Associate
Avatar
RankRankRankRankRank
Total Posts:  4108
Joined  11-04-2008

Soft deletion is already on the todo list. wink

 Signature 

WanWizard.eu | Modular CI, an HMVC solution | DataMapper ORM

Profile
 
 
Posted: 05 November 2011 07:44 AM   [ Ignore ]   [ # 3 ]  
Lab Assistant
RankRank
Total Posts:  159
Joined  08-15-2010

A few new orms have been released in the past few weeks (NitroOrm and GasOrm come to mind). It would be super cool if you guys could all collaborate on a single orm. I know that this is easier said than done, but from an end user point of view, having one single awesome orm, would be better than 3 being independently developed.

Profile
 
 
Posted: 06 November 2011 05:24 AM   [ Ignore ]   [ # 4 ]  
Sr. Research Associate
Avatar
RankRankRankRankRank
Total Posts:  4108
Joined  11-04-2008

DataMapper2 is on github, DataMapper1 is on bitbucket.

I’ve put them there to enable collaboration when I took over the project. But I haven’t seen much of it. I guess it’s the same as with CI itself. Lots of people fork it, but hardy anyone contributes…

 Signature 

WanWizard.eu | Modular CI, an HMVC solution | DataMapper ORM

Profile
 
 
Posted: 06 November 2011 10:12 AM   [ Ignore ]   [ # 5 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  638
Joined  09-17-2010

I would if I could WanWinzard, but relations do my head in :]

 Signature 

I love lasagne!

Profile
 
 
Posted: 06 November 2011 12:12 PM   [ Ignore ]   [ # 6 ]  
Sr. Research Associate
Avatar
RankRankRankRankRank
Total Posts:  4108
Joined  11-04-2008

Well, at least I have one user. smile

Is no one else using it? Or is everyone happy with the current functionality?

The lack of response worries me a bit…

 Signature 

WanWizard.eu | Modular CI, an HMVC solution | DataMapper ORM

Profile
 
 
Posted: 06 November 2011 05:15 PM   [ Ignore ]   [ # 7 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  638
Joined  09-17-2010

It could be any reason, such as this being announced in the forums or during the weekend or whatever.
Just get the announcement blogged around and maybe add a notification into the v1 documentation :]

I do think it’s because of the CI forums being partly inactive.

 Signature 

I love lasagne!

Profile
 
 
Posted: 07 November 2011 04:49 PM   [ Ignore ]   [ # 8 ]  
Summer Student
Total Posts:  1
Joined  11-07-2011

Wonderful news!
I’ll start testing it out at once and hopefully give you some useful feedback.

Thank you WanWizard for continuing the development!

Profile
 
 
Posted: 07 November 2011 06:21 PM   [ Ignore ]   [ # 9 ]  
Sr. Research Associate
Avatar
RankRankRankRankRank
Total Posts:  4108
Joined  11-04-2008
Dennis Rasmussen - 06 November 2011 05:15 PM

Just get the announcement blogged around and maybe add a notification into the v1 documentation

Thanks for the tip, I’ve put a notice on the v1 docs site. Now find a suitable blogging platform. wink

 Signature 

WanWizard.eu | Modular CI, an HMVC solution | DataMapper ORM

Profile
 
 
Posted: 07 November 2011 06:25 PM   [ Ignore ]   [ # 10 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  638
Joined  09-17-2010

I’ll ask some people to tweet it some time.

Anyway I’ll get back to you later this week, cause I’ve had a really bad couple of days (friend died), so can’t really get things done at the moment, but would love to dig into your source and give you a hard time ;]

 Signature 

I love lasagne!

Profile
 
 
   
1 of 10
1