I'm starting to learn Dojo using the online documentation. I downloaded Apache using XAMPP for Windows. How do I create a directory in my web server? (as per instructions found at the beginning of this tutorial: Hello, World! — The Dojo Toolkit - Reference Guide)
Thank you for your help!
TA
Solved! Go to Solution.
TA,
You should refer to the XAMPP FAQ
A new subdirectory for your web? Just make a new directory (e.g. "new") inside the directory "\xampp\htdocs" (best without whitespaces and only ASCII), create a test file in this directory and access it with "http://localhost/new/test.php".
TA,
You should refer to the XAMPP FAQ
A new subdirectory for your web? Just make a new directory (e.g. "new") inside the directory "\xampp\htdocs" (best without whitespaces and only ASCII), create a test file in this directory and access it with "http://localhost/new/test.php".
Hi Robert!
I read through the FAQs and didn't find the answer. But more to the point, do you mean to say that "create directory on the web server" simply means to create a new folder in "\xampp\htdocs"? like so?
In the book, Mastering Dojo, the authors say that downloading Dojo onto a web server is best.
When I download and unpack Dojo, do I simply unpack Dojo in " \dojoroot", a new folder (that I will create in ""\xampp\htdocs")?
TA,
Yes that is correct "create directory on the web server" is simply creating a folder.
When I download and unpack Dojo, do I simply unpack Dojo in " \dojoroot", a new folder (that I will create in ""\xampp\htdocs")
Correct.
Hi Robert!
Thank you! Creating dojoroot in htdocs worked!
As for the tutorial, I'm getting an error when I try to load HelloWorldTutorial.php:
<br />
<b>Notice</b>: Undefined index: name in <b>C:\xampp\htdocs\HelloWorldTutorial\HelloWorldResponsePOST.php</b> on line <b>11</b><br />
Hello , welcome to the world of Dojo!
Do you know why 'name' is undefined? I thought it had been defined in the form tag.
Thank you for your help!
TA
TA,
Sorry I am not a php guy and I use IIS mainly for my web server and not Apache.
Hi Robert,
No apology necessary; thank you for all your help thus far!
If you have a minute, I was hoping to get your advice on learning Dojo. My mind has been running in circles for the last 6 days, trying to figure out what I need to know to learn Dijit, and I've been bogged down by resources pointing me in all different directions.
Would you recommend a place to start for someone who has limited Javascript experience? Some forums say that the dojotoolkit.org tutorials are suitable, but I'm often not familiar with the technical jargon (ie: "async", "mixin").
Thank you!
TA
TA,
If you focus of learning is GIS and using the JS API then I would just use the JS API Samples and the getting started section of the JS API web page:
Build your first application | Guide | ArcGIS API for JavaScript
Thank you for the link, Robert! You bring up a good point; I need to clarify what my focus is...hmm