AnsweredAssumed Answered

Can I use Legacy Module for AMD file?

Question asked by steven.lzhou on Oct 28, 2013
Latest reply on Oct 29, 2013 by steven.lzhou
I just start to learn JavaScript (e.g., grammar, math expression), had some flex experience.  I am learning JS API like how to add a bookmark or geocode function to my web application.  My question is:  a lot samples provided by ESRI is built by 'Legacy Module Require', but what I want to learn is AMD style.  Is there any tutorial that can teach me how to transfer a Legacy file to AMD file? Or Is there any method to understand Legacy and build code in AMD style? Or if you have many years experience, do you recommend AMD or Legacy? Thanks a lot!

Outcomes