[Info] WebDialogs - The Lost Manual on GitHub
-
In order to better maintain The Lost Manual I am moving it from a long single page PDF/forum post/blog article to a better structured GitHub repository with Wiki articles detailing issues, how-to and best practices as well as sample files and Issue tracker.
It's still rough around the edges as information is ported from the old manual and lingering notes, but please join in on the contribution and share your insight! Get your fork out!
GitHub - thomthom/sketchup-webdialogs-the-lost-manual: Collection of unofficial documentation of SketchUp's WebDialog class.
Collection of unofficial documentation of SketchUp's WebDialog class. - thomthom/sketchup-webdialogs-the-lost-manual
GitHub (github.com)
-
Oh the hours I could have saved had I had this guide earlier!!!!
Thank you.One other issue that is bedeviling me, is Security.
Specifically, loading remote Javascript, having local HTML fire a remote Ajax call, etc.
It seems that on the Windows side, with Domains, there can be all sorts of weirdness with cross-domain security policies, and I just never know where to start. And it seems allow_actions_from_host has no effect.
When I come across it again, I'll let you know the specifics.--J
-
I wonder if
allow_actions_from_host
is related to theskp:
"protocol"?I've never had to deal with that method, so I'm not sure.
There's always a challenge in dealing with cross-domain calls - even outside WebDialogs. I'm just glad I've not had to deal with it - so far. (Famous last words.) But if you do come across anything then please do post back your findings. It's so much better if we can create a good community that shares the knowledge so people can avoid reinventing the wheel.
Recently I've lost count of how many people I've talked to who's developed a communication bridge between SketchUp Ruby and WebDialogs. It's something that we should have an open source framework for. (Or a better API... )
-
I think this will inspire me to finally make the leap fully into github! Thank you ThomThom.
-
@mptak said:
I think this will inspire me to finally make the leap fully into github!
Excellent! I'd really like to see the SketchUp community making more use of tools such as GitHub and BitBucket etc.
Advertisement