Perhaps if there was an easy interface, that sends a new token as a return value for AJAX requests? Something we could repopulate a form with in the DOM?
I haven't thought anything through I'm just thinking out loud. -- benjamin allison – designer b...@roestudios.com http://www.roestudios.com http://www.benjamin-samuel.com On 2013-07-17, at 10:34 PM, mark_story wrote: > The current plan that Jose and I have discussed is to return objects from the > Models/Repo/Table objects. (The name isn't decided yet). This fixes many of > the data format issues and also mostly makes afterFind irrelevant which is > nice. > > We've also removed containable in name but mainlined it in spirit. Instead of > being a separate behavior controlling joins is part of the query builder. > > What parts of SecurityComponent are hard for ajax applications? I don't think > there will be a way to use the form tampering prevention with ajax forms, > however it is already possible to protect those forms from CSRF issues with > re-usable CSRF tokens. > > -Mark > > On Sunday, 5 May 2013 23:52:14 UTC-4, Benjamin Allison wrote: > If you're reworking the model layer, I think the most important things are: > > 1) Harmonizing the format that data and associated data is save in and > returned in. Right now, it's all over the map, and is sometimes hard to keep > straight. > > 2) Allowing for a smoother way to filter models by their associated models; > having to write joins is kind of a pain. > > In addition, a smoother way of using AJAX with the Security component to help > accomodate the growing trend of JS based web apps. > > -- > Like Us on FaceBook https://www.facebook.com/CakePHP > Find us on Twitter http://twitter.com/CakePHP > > --- > You received this message because you are subscribed to a topic in the Google > Groups "CakePHP" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/cake-php/-TLn6RpHt4U/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > cake-php+unsubscr...@googlegroups.com. > To post to this group, send email to cake-php@googlegroups.com. > Visit this group at http://groups.google.com/group/cake-php. > For more options, visit https://groups.google.com/groups/opt_out. > > -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/groups/opt_out.