OPTIMASI PERFORMANSI AJAX DENGAN MENGGUNAKAN JSON

Yanuar Firdaus Arie Wibowo, Dana Sulistiyo Kusumo, Annas Abdillah Marta

Abstract


Web-based application development at this time concentrate or on the way to interactivity and response time closely to desktop application. AJAX (Asynchronous JavaScript and XML) is one of  method to create a web-based application become more interactive like desktop application, with AJAX is possible for web not to reload full of one web page again from server but only part of information on page that requested, with the result is improvement of bandwidth usage.

AJAX web application in connection with web server usually use XML (Extensible Markup Language) as data interchange format, but XML have redundancy in their data format, it have duplicated at tags (opening and closing tags) that cause less efficient and probably impact to AJAX performance. JSON (JavaScript Object Notation) is alternative data interchange format can be used in AJAX that has less redundancy than XML, it make JSON more lightly better than XML. Web performance it can be know from response time and bandwidth.

Test result is showing that for large amount of data, AJAX performance with JSON is better than AJAX with XML but there are little different result from attribute that used in XML, test result for user access is showing same pattern with testing in single computer.

References


Asleson Ryan, T.Schutta Nathaniel, ”Foundation of AJAX”, Apress.

Babin Lee, “Beginning AJAX with PHP: From Novice to Professional”, 2006, Apress.

Ballard Phil, “Teach Yourself AJAX in 10 Minutes”, 2006, SAMS.

Darie Cristian, Brinzarea Bogdan, Chereches-Tosa Filip, Bucica Mihai, “Building Responsive Web Applications with AJAX and PHP”, PACKT.

Eichorn Joshua, “Understanding AJAX: Using JavaScript to Create Rich Internet Applications”, 2006, Prentice Hall.

Firdaus Yanuar, “Diktat Mata Kuliah Rekayasa Aplikasi Internet: AJAX Programming”, 2006, Jurusan Teknik Informatika, STT Telkom.

Firdaus Yanuar, Maharani Warih, “Development of AJAX Website with Prado and CakePHP Framework”, 2008, Departemen Teknik Informatika, IT Telkom.

Gehtland Justin, Galbraith Ben, Almaer Dion, “Pragmatic AJAX: a Web 2.0 Primer”, 2006, The Pragmatic Programmers LLC.

Hadlock Kris, “AJAX for Web Application Developer”, 2006, SAMS.

JSON, “Introduction of JSON”, www.json.org, diakses pada 28 Desember 2007.

JSON, “JSON: Fat-Free Alternatif to XML”, www.json.org, diakses pada 2 Januari 2008.

Kelly Sean, “Speeding Up AJAX with JSON”, www.developer.com, diakses pada 20 Desember 2007.

L Merrill, Christopher, “Performance Impacts of AJAX Development: Using AJAX to Improve the Bandwidth Performance of Web Applications”, www.webperformanceinc.com, diakses pada 23 Desember 2007.

Pranata Antony, ”Panduan Pemrograman JavaScript”, 2001, Andi Offset.

Richards Robert, “Pro PHP XML and Web Services”, 2006, Apress.

Velayudham Senthil, J Pring Edward, Morar John, “Convert XML to JSON in PHP”, www-128.ibm.com/developerworks, diakses pada 20 Desember 2007.

Wikipedia, AJAX (Programming), en.wikipedia.org, diakses pada 2 Januari 2008.

Wikipedia, DOM, en.wikipedia.org, diakses pada 2 Januari 2008.

Wikipedia, JavaScript, en.wikipedia.org, diakses pada 2 Januari 2008.

Wikipedia, JSON, en.wikipedia.org, diakses pada 2 Januari 2008.

Wikipedia, XML, en.wikipedia.org, diakses pada 2 Januari 2008.

Zakas C. Nicholas, Fawcett McPeakandjoe Jeremy, “Professional AJAX”, 2006, Wrox Press.


Refbacks

  • There are currently no refbacks.