Discussion Response
Respond to each post in 150 words
211.1
Hello,
AJAX stand for asynchronous JavaScript and XML. AJAX is a method used to build interactive applications for the Web and is able to process a user request immediately. The good thing about AJAX is it combines several tools like dynamic HTML, XML, CSS, DOM and the Microsoft Object. You can see this technology in play with Google Maps. You don’t have to refresh the whole web browser to get a good update on the data inside the map portion of the browser but it will update automatically, normally when you pan around. A disadvantage of AJAX is that if you turn the JavaScript off in your browser, you will run into problems trying to load anything with AJAX.
JavaScript Object Notation (JSON) is a lightweight data-interchange format. It transmits data between a server and a web application. JSON is also used as an alternative to XML. An advantage is it is smaller and can represent all Unicode characters.. A simple disadvantage of JSON is that the formatting can be hard to read and write.
XML or Extensible Markup language is a language designed to describe your data and what it is. One difference between XML and JSON is XML is stricter and supports schemas. A big disadvantage of XML is it’s redundant. These redundancies can cut down on application performance as these files become larger and larger.
RESTful stands for representational state transfer and it is an architectural style for network hypermedia applications. I think this is a common thing as it is used to build web services that are lightweight, maintainable and scalable. Any service based on REST is a RESTful service.
I don’t know much about the architectural design pattern so I did some research and figured I’d try my hand at the Model-View-Controller. This one seems to offer improved application organization by separating the concerns. Three different components (model, view and controller) are separated for efficiency.
Thanks,
211.2
What advantages and disadvantages of Ajax, JSON, XML or any data type?
JSON is an acronym for JavaScript Object Notation. JSON “is a minimal, readable format for structuring data. It is used primarily to transmit data between a server and web application, as an alternative to XML” (Squarespace, 2016). JSON, to me anyway, seems familiar to PHP where data is transferred between HTML and the server.
JSON has some advantages over XML in that it is simple to use and possesses the same interoperability as XML (Laurent, 1998). Another advantage of JSON over XML is that it is generally more open to public use.
A major disadvantage of JSON is that there is no error handling (Sharma, 2016). If the script fails then it simply fails without explanation (like my HTML files do!). And yet another disadvantage of JSON is that it can easily hacked.
Why ReSTful services?
REST is am architectural style “based on a set of constraints for building things the ‘Web’ way” (Microsoft, 2017). REST is great because it is not bound to any platform or technology. The architecture ensures things are built for the web. REST can be said to be the Web way.
Share with the class the Architectural Design Pattern you submitted for your assignment.
The architectural design pattern I chose for this week is the model-view-controller, or MVC, pattern. Odell (2014) states that the MVC is broken down into three parts: the model, the view, and the controller. The model part groups related code together to the data structure of the code. The view part groups related code together for display that deals with Model data. And the controller ensures that there is separation between the model and view parts, meaning that they are not required to communicate with one another.
"You need a similar assignment done from scratch? Our qualified writers will help you with a guaranteed AI-free & plagiarism-free A+ quality paper, Confidentiality, Timely delivery & Livechat/phone Support.
Discount Code: CIPD30
Click ORDER NOW..


