Is there any good method to transfer legacy codes into AMD style?

630
4
Jump to solution
01-24-2014 10:12 AM
LeiZhou
New Contributor III
I want to develop a template kind of similar to the following web app http://www.arcgis.com/apps/OnePane/basicviewer/index.html

But the source code of this basic view is not AMD dojo style, it is outdated LMR codes.  Is there any method or resources that I can translate the old style to Modern dojo framework? My current codes and my training are all based on AMD style.  Thanks a lot!
0 Kudos
1 Solution

Accepted Solutions
derekswingley1
Frequent Contributor
Check out "The abc???s of AMD" blog post from last fall.

Another tool to be aware of is Sitepen's dojo-amd-converter. I haven't actually used it??? it came out about a month after we finished converting all JS API modules to AMD.

View solution in original post

0 Kudos
4 Replies
BjornSvensson
Esri Regular Contributor
I want to develop a template kind of similar to the following web app http://www.arcgis.com/apps/OnePane/basicviewer/index.html


The esri "boilerplate" might be a good starting point.
Blog: http://blogs.esri.com/esri/arcgis/2013/08/29/step-up-to-the-boilerplate/
Code: https://github.com/Esri/application-boilerplate-js
0 Kudos
derekswingley1
Frequent Contributor
Check out "The abc???s of AMD" blog post from last fall.

Another tool to be aware of is Sitepen's dojo-amd-converter. I haven't actually used it??? it came out about a month after we finished converting all JS API modules to AMD.
0 Kudos
LeiZhou
New Contributor III
Thank you very much!

The esri "boilerplate" might be a good starting point.
Blog: http://blogs.esri.com/esri/arcgis/2013/08/29/step-up-to-the-boilerplate/
Code: https://github.com/Esri/application-boilerplate-js
0 Kudos
LeiZhou
New Contributor III
Thank you very much!


Check out "The abc�??s of AMD" blog post from last fall.

Another tool to be aware of is Sitepen's dojo-amd-converter. I haven't actually used it�?? it came out about a month after we finished converting all JS API modules to AMD.
0 Kudos