I never said it was a bad choice, developers just have different preferences and coding styles. A program can be coded in different numerous formats, structures and yet achieve the same functionality.
For your report you should skim the source on github. Also load up a demo and examine the APE instance in the DOM to get a better idea of structure as i don't think all the core methods are mirrored in the client, maybe some but not all. On Aug 10, 2012 4:41 AM, "carles" <[email protected]> wrote: > So, client creates core and gets a copy from all its methods, right? I'm > doing a report about APE and I thought that is important explain how > core/client communication works. Doesn't matter if it's a bad developer's > choice, I want to know how it works. > Thank's a lot. > > El viernes, 10 de agosto de 2012 03:59:35 UTC+2, Pablo escribió: >> >> Is just a developer choice really, the core is simply a property object >> of the client object. It does not makes the framework more or less secure, >> the same origin policy is baked in the browser. To be honest it just makes >> things more complicated then they need to be. To top it all up some methods >> on the client just point to the same methods in the core, like shortcuts. >> The whole thing could just be flatten down into one object, as a matter >> fact is already in the todo list for a future release of the framework but >> i just can't find the link where i read it. >> On Aug 9, 2012 7:48 PM, "carles" <[email protected]> wrote: >> >>> Hi guys! >>> >>> This is not a technical question (it's rather a theoretic question). >>> I've read ALL documentation in the web and more threats from this Google >>> Group but I don't understand *how can client and core communicate >>> between them* yet. >>> I know that client creates an iframe where the core is loaded and that >>> adds a security layer to the system thank's to the *same origin policy.* >>> But, >>> if this two parts are isolated because the cross-domain, how can they >>> communicate between them?? >>> >>> I hope you understand my doubt. Thank's in advance. >>> >>> Carles. >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "APE Project" group. >>> To post to this group, send email to [email protected] >>> To unsubscribe from this group, send email to >>> ape-project...@**googlegroups.com >>> For more options, visit this group at >>> http://groups.google.com/**group/ape-project?hl=en<http://groups.google.com/group/ape-project?hl=en> >>> --- >>> APE Project (Ajax Push Engine) >>> Official website : http://www.ape-project.org/ >>> Git Hub : http://github.com/APE-Project/ >>> >> -- > You received this message because you are subscribed to the Google > Groups "APE Project" 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/ape-project?hl=en > --- > APE Project (Ajax Push Engine) > Official website : http://www.ape-project.org/ > Git Hub : http://github.com/APE-Project/ > -- You received this message because you are subscribed to the Google Groups "APE Project" 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/ape-project?hl=en --- APE Project (Ajax Push Engine) Official website : http://www.ape-project.org/ Git Hub : http://github.com/APE-Project/
