AJAX and the Netburner Version 2

Post your example source code and application notes to share with others
Post Reply
User avatar
tod
Posts: 587
Joined: Sat Apr 26, 2008 8:27 am
Location: Southern California
Contact:

AJAX and the Netburner Version 2

Post by tod »

Here is the updated AJAX sample that I have been threatening to do for two years. This code is more representative of how I actually use AJAX in my NetBurner Applications. This code uses the Prototype library and includes a large portion of my JavaScript library that I use to make a lot of the parsing and DOM updating simpler. I wrote up a short blog entry http://syncor.blogspot.com/2009/12/ajax ... und-2.html with links to a 10 minute introductory video.
If you want to use AJAX I would suggest that you use this example as a starting point. There is no reason to do all the low-level Ajax coding yourself. If you would really like to understand the low-level mechanics of AJAX then I would recommend reading the
original white-paper I wrote back in May of 2006 http://www.netburner.com/downloads/tech ... r_ajax.pdf but I would still recommend you then use code more similar to what is shown in this example.
I've included licensing language so that you can freely reuse all the code contained here in your own applications.

Happy Holidays

P.S. I wrote and tested this on a MOD5272.
Attachments
NBShell_V0950.401.zip
Updated the attachment - just removed dead commented out code and modified the attachment name to match the version number.
(65.93 KiB) Downloaded 1023 times
calebk
Posts: 3
Joined: Sat Dec 12, 2009 3:26 pm

Re: AJAX and the Netburner Version 2

Post by calebk »

I have downloaded example, etc..

What is the process to make this work with a 5282?


Caleb
calebk
Posts: 3
Joined: Sat Dec 12, 2009 3:26 pm

Re: AJAX and the Netburner Version 2

Post by calebk »

Ok it looks like it was just a setup issue with NBEclipse.

Thanks
Post Reply