Integrating JavaScript with Wiz to Enable Location Services in Web Applications

The State Changers' meeting can be summarized as a hands-on troubleshooting and brainstorming discussion focusing on JavaScript integration within a web application. The concern is about getting a JavaScript function responsible for retrieving a user's location to work effectively within a web development platform called "Wiz". Keywords mentioned include "JavaScript" and the meeting revolves around leveraging Wiz for script implementation, but they're experiencing issues due to the existence of two environments or 'sandboxes', being JavaScript and Wiz, that are not talking to each other.


Some of the main problem-solving steps discussed include publishing the web site to understand the code interaction, examining the "dev tools" to retrieve the error reports and calling the function through the console to verify its execution. The issue seems to be the nature of these environments existing separately, without a method to interact with one another. One proposed solution is the trick of 'indirection', which entails attaching the function to the window environment, effectively creating a bridge between the two sandboxes and enabling them to communicate. The takeaway is that while Wiz does well with 80% of the work, the remaining 20% requires leveraging JavaScript for special features such as using location services. However, further tinkering and testing is required, with follow-up meetings planned to continue the exploration. This meeting is advantageous for those looking to bridge JavaScript within other coding platforms like Wiz.


(Source: Office Hours 2/10 )

State Change Members Can View The Video Here
chris-montgomery-smgTvepind4-unsplash.jpg

View This Video Now

Join State Change Risk-Free