Welcome Guest, Not a member yet? Register   Sign In
[Deprecated] DMZ 1.5.3 (DataMapper OverZealous Edition)

[eluser]BrianDHall[/eluser]
DMZ rules!

...that's all. Just felt like posting something.

[eluser]OverZealous[/eluser]
UPDATED

I went ahead and fixed the docs, packaged up my changes, and put them on the server.

As promised, I also started a new thread. Please post all new discussions there.

Please continue discussions of DMZ here.

[eluser]Benedikt[/eluser]
@OverZealous: Thanks for your answer. The manual is good but still there are a lot of thinks not clear enough to be understood easily. Sure for you as an experienced ORM user everything seems logical and very clear, but not as a beginner.

Thanks for your time.

[eluser]Mirage[/eluser]
Question: Why doesn't DataMapper automatically try to insert new relations. Right now I have to save related items before I can save the relation itself

Code:
// Each contribution record has ONE transaction
// This works:
$contrib = new Contribution();
$trans    = new Transaction();

$trans->save();
$contrib->save($trans);

// This doesn't work
$contrib = new Contribution();
$trans    = new Transaction();

$contrib->save($trans);

Hope I'm making myself clear. Both objects represent NEW records - I'd have thought that if record has never been saved, DMZ would just go ahead and make it so.

Thanks,
Juergen

[eluser]EmnaKhemiri[/eluser]
Employee management and lone worker protection and solutions - health and safety UK - http://www.loneworkersystems.co.uk




Theme © iAndrew 2016 - Forum software by © MyBB