I'm currently in a debate with some co-workers about which framework to use for our next mid sized buisness application.
I'm trying to evangelize Phalcon and he favors Laravel. One point of contention is the ORM.
He basically says that Larvel:Eleoquent is better than Phalcon:ORM because it can more easily save related records. Here is an excerpt from Laravel...
You will often need to insert new related models. For example, you may wish to insert a new comment for a post. Instead of manually setting the post_id foreign key on the model, you may insert the new comment from its parent Post model directly:
$comment = new Comment(array('message' => 'A new comment.')); $post = Post::find(1); $comment = $post->comments()->save($comment);
What can I tell him to show that Phalcon does something similar or better?