Tuesday, April 13, 2010

Exercise 7

1. Why is the perception getting stronger that integration will become a critical factor in coming days?
In the recent days, e-commerce is more and more popular than ever, and it will be become a very important field in all over the world in the near future. Because of each customer at different places have different type of software, hardware, application and OS, so any company run online business have to try to integrate the architecture. According to Beth & William (2005), the following benefits will be brought when the organization can integrate system:
- Increasing the efficiency, effective, and competitiveness in business
- Improving the satisfaction of customer
- Improving IT operational effectively
- Increasing reuse existing applications.

References
Beth Gold-Bernstein, & William A. Ruh. (2005). Enterprise integration: the essential guide to integration solutions. Addison-Wesley

2. What is the relationship of AJAX to JQuery (jquery.com) and the lightweight Web 2.0 javascript framework called MooTool (mootools.net) within the enterprise software architecture.

As JQuery said in its website, “jQuery is a fast and concise JavaScript that simplifies HTML document travesing, event handling, animation, and Ajax interactions for rapid Web development. jQuery is designed to change the way that you write JavaScript”
while
In MooTools site, that is “MooTools is a compact, modular, Object-Oriented JavaScript framework designed for the intermediate to advanced JavaScript developer. It allows you to write powerful, flexible, and cross-browser code with its elegant, well documented, and coherent API.” That is the summary of jQuery and MooTools. We can see that any of each have particular feature like:

jQuery talks about HTML, events, animations, Ajax, and web development, while motools mentions about object-oriented-ness and writing powerful and flexible code (jqueryvsmootools, 2009).
One more things at this site jqueryvsmootools, Mootools is a framework that attemps to implement JavaScript and jQuery is a toolkit that is easy to use collection of methods in a self-contained system designed to make the DOM more pleasant.

References
jQuery (2010). Retrieved from http://jQuery.com
jQuery vs Mootools (2010). Retrieved from http://jqueryvsmootools.com/
MooTools.net (2010). Retrieved from http://Mootools.net

3. What are the similarities between the object-oriented development using model-view-controller (MVC) in Ruby on Rails 2.0 and Action Script 2.0 (Flash animations)?
There are some similarities features between Ruby on Rails 2.0 and Action Script 2.0 in using MVC. In the basic principle, MVC is the separation of responsibilities. The model concerns about the application’s state and logic. By contrast, the view manages about the presentation of data. Finally controller take responsibility in translating user input into a suitable form in given view. The following details will describe some common feature of Ruby on Rails and Action Script
Model:
According to tutorialspoint (2008), in ruby on rails, the model class maintains the relationship between Object and Database and handles validation, association, transactions, and more

As Colin (2009) said that the model class of Action Scrips stores data in properties and provides application-specific methods that set and retrieve data

View
Data in Ruby on Rails is presented in a particular format, triggered by a controllers’ decision to present the data (tutorialspoint, 2008)

According to Colin (2009), the view in Action Scripts listens for state change in the model; the view updates the interface to reflect the change when the model changes

Controller
In Ruby on Rails, the main responsible of this class is directs traffic. On the one hand, it queries the models for specific data, and on the other hand organizes that data into a form (tutorialspoint, 2008)

In Actions Scripts, the controller listens for notifications from the views based on user input and translate into changes the the model (Colin, 2009)

References

Colin, M. (2009). Essential ActionScript 2.0. Retrieved from http://www.adobe.com/devnet/flash/articles/mv_controller.html
Turorialspoint (2008). Ruby on Rails Framework. Retrieved from http://www.tutorialspoint.com/ruby-on-rails/rails-framework.htm

4. What does it mean to develop RESTful practices into our web applications?
REST stands for Representational State Transfer (REST) is a style of architecture based on a set of principles that describe how networked resources are defined and addressed (Barry, n.d). REST has proved to be a popular choice for implementing Web Services. REST constraints is often referred to as RESTful.
An application or architecture considered RESTful has the following features:
- State and functionality are divided into distributed resources
- Every resource is uniquely addressable using a uniform and minimal set of commands
- The protocol is client/server, stateless, layered, and supports caching.

References

Barry, D.K. (n.d). Representational State Transfer (REST). Retrieved from http://www.service-architecture.com/web-services/articles/representational_state_transfer_rest.html

No comments:

Post a Comment