hi,
I need to ask some questions, hope to get an answer :)

1) is there something similar in cake 1.2 that can do this?

  has_many :posts, :order => 'posts.created_at', :dependent => :destroy
do
    def last
      @last_post ||= find(:first, :order => 'posts.created_at desc')
    end
  end

2) counterCache isn't implemented yet? I've looked at the trac and
there's an implementation, should I give this a try or will be
implemented soon (if you know)? In a cached page on google cakephp
manual says that we need to specify a column like forum_post_count,
tried but the field doesn't get updated, also there's only one
reference in code for counterCache.

3) I know that behaviors are still a moving target, but could please
someone into it write a little tutorial on how to make one? I need
something like acts_as_list in RoR.
Interesting thread about acts_as_list is by nate here:
http://groups.google.com/group/cake-php/browse_thread/thread/e733fa1f336a8fb5/f790a46003c2cc92?lnk=gst&q=behaviors&rnum=6#f790a46003c2cc92
any news on this?

4) Can please somebody explain what's a real life example of usage of
finderQuery and counterQuery in hasMany association?

5) I really hope for this:
http://groups.google.com/group/cake-php/browse_thread/thread/4ef95ff02f5d66ab/548966e2d13ddaa2?lnk=gst&q=behaviors&rnum=4
yeah, I hope because I don't have time to code for it, but I think it
will be a great thing.

6) Any plans to add useful functions like useModel or unBindAllExcept
directly in core? bindModel and unBindModel works, but the way they
works now is a bit painful when recursion is high.

7) A little preview tutorial on the upcoming AuthComponent would be
great :)

thanks for the kind replies.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to