I just move from objective-c to javascript and develop html based app.
In objc, there are two ways for communication between ViewControllers.
1.protocol
2.post notification
Just wonder if there is same mechanism in javascript?
Welcome any comment
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Probably you can look at HTML5’s web messaging.
http://dev.opera.com/articles/view/window-postmessage-messagechannel/
http://en.wikipedia.org/wiki/Cross-document_messaging